Added app manager IPC interface. Updated verions to 2.1

This commit is contained in:
jcli
2016-07-24 15:19:13 -07:00
parent 474789340b
commit 64713d9679
16 changed files with 851 additions and 67 deletions

18
server/mq_ipc.h Normal file
View File

@@ -0,0 +1,18 @@
#ifndef _MQ_IPC_H_
#define _MQ_IPC_H_
#include <fcntl.h> /* For O_* constants */
#include <sys/stat.h> /* For mode constants */
#include <mqueue.h>
#include <stdbool.h>
int mq_ipc_connect(const char* clientServer, const char* serverClient);
int mq_ipc_disconnect();
int mq_ipc_send(const char* payload);
int mq_ipc_receive(char* buffer, int bufferSize);
int mq_ipc_send_timed(const char* payload, int timeoutInSec);
int mq_ipc_receive_timed(char* buffer, int bufferSize, int timeoutInSec);
#endif