mirror of
https://github.com/Netflix/dial-reference.git
synced 2026-06-11 03:49:57 +00:00
Added app manager IPC interface. Updated verions to 2.1
This commit is contained in:
18
server/mq_ipc.h
Normal file
18
server/mq_ipc.h
Normal 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
|
||||
Reference in New Issue
Block a user