mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 23:10:02 +02:00
24 lines
624 B
C
24 lines
624 B
C
#pragma once
|
|
|
|
#include <semaphore.h>
|
|
|
|
char *sharedMemory_getError();
|
|
void sharedMemory_print();
|
|
int sharedMemory_create(int port);
|
|
void sharedMemory_initialize();
|
|
int sharedMemory_open(int port);
|
|
int sharedMemory_attach();
|
|
int sharedMemory_detach();
|
|
int sharedMemory_remove();
|
|
void sharedMemory_lock();
|
|
void sharedMemory_unlock();
|
|
#ifdef VIRTUAL
|
|
void sharedMemory_setStatus(int s);
|
|
int sharedMemory_getStatus();
|
|
void sharedMemory_setStop(int s);
|
|
int sharedMemory_getStop();
|
|
#endif
|
|
void sharedMemory_setScanStatus(int s);
|
|
int sharedMemory_getScanStatus();
|
|
void sharedMemory_setScanStop(int s);
|
|
int sharedMemory_getScanStop(); |