#ifndef _LYNQ_MSGQ_H_ | |
#define _LYNQ_MSGQ_H_ | |
#include <sys/msg.h> | |
#include <sys/ipc.h> | |
#include "liblog/liblog.h" | |
#include "liblog/lynq_deflog.h" | |
#include "http/lynq_http.h" | |
struct mymesg{ | |
long int mtype; | |
char mtext[512]; | |
}; | |
int lynq_msgq_init(char *pathname, int create); | |
int lynq_msgq_send(int queueId, struct mymesg *ckxmsg); | |
#endif | |