warning toml weg
This commit is contained in:
parent
46b3c0adf7
commit
a1e4d042e1
|
@ -2,12 +2,14 @@
|
||||||
#define SHARED_MEMORY_H
|
#define SHARED_MEMORY_H
|
||||||
|
|
||||||
#include "internal.hpp" //NOLINT
|
#include "internal.hpp" //NOLINT
|
||||||
|
#include <string>
|
||||||
#include <sys/shm.h>
|
#include <sys/shm.h>
|
||||||
|
|
||||||
//ID-Speicherbereich
|
//ID-Speicherbereich
|
||||||
//Größe des Speicherbereichs hier 8MB (8000)
|
//Größe des Speicherbereichs hier 8MB (8000)
|
||||||
//Shared-Memory-Segment erstellen oder öffnen – shmget()
|
//Shared-Memory-Segment erstellen oder öffnen – shmget()
|
||||||
constexpr int Max_Memory_Size (8000 * 512);
|
constexpr int Max_Memory_Size (8000 * 512);
|
||||||
|
const std::string configFile ("../res/config.toml");
|
||||||
void deleteSharedMemory(int s);
|
void deleteSharedMemory(int s);
|
||||||
void deleteSharedMemory();
|
void deleteSharedMemory();
|
||||||
void initSharedMemory();
|
void initSharedMemory();
|
||||||
|
@ -15,5 +17,5 @@ void getConfig();
|
||||||
key_t changedKey();
|
key_t changedKey();
|
||||||
std::string getAnswerFromUser();
|
std::string getAnswerFromUser();
|
||||||
//Config File
|
//Config File
|
||||||
#define configFile "../res/config.toml"
|
|
||||||
#endif //SHARED_MEMORY_H
|
#endif //SHARED_MEMORY_H
|
||||||
|
|
Loading…
Reference in New Issue