2019-09-16 17:15:55 +02:00
|
|
|
#ifndef _NZG_PROTO
|
|
|
|
#define _NZG_PROTO 1
|
2004-02-16 21:25:11 +00:00
|
|
|
|
2004-02-21 21:07:40 +00:00
|
|
|
/* src/nzg_allocate.c */
|
|
|
|
void *msgAllocate(msgSpace *space, int pool, int taille, int option);
|
|
|
|
/* src/nzg_list.c */
|
|
|
|
/* src/nzg_msgList.c */
|
|
|
|
msgSpaceListElem *addBegining(msgSpaceListElem *list, int ownerpid);
|
|
|
|
/* src/nzg_pool.c */
|
|
|
|
int msgPoolCreate(msgSpaceId spaceId, int poolIdx, int buffNb, int buffSize);
|
|
|
|
/* src/nzg_spaces.c */
|
|
|
|
msgSpace *msgSpaceCreate(msgSpaceId spaceId, int queueNb, int poolNb, msgPool *poolInfos);
|
2019-09-16 16:54:52 +02:00
|
|
|
msgSpace *msgSpaceOpen(msgSpaceId spaceId);
|
2019-09-17 14:02:24 +02:00
|
|
|
int msgSpaceDelete(msgSpaceId spaceId);
|
2004-02-22 11:19:08 +00:00
|
|
|
/* src/nzg_buffer.c */
|
|
|
|
int msgBufferGetFreeIndex(msgPoolData * poolDataTab, int poolIndex);
|
2004-02-22 11:50:29 +00:00
|
|
|
int msgBufferAttachProc(msgPoolData * poolDataTab, int poolIndex, int bufferIndex,void *addr);
|
2004-02-22 12:51:17 +00:00
|
|
|
int msgBufferInfoTabIdIntern(
|
|
|
|
msgBufferInfoTabId dest,
|
|
|
|
msgSpaceId src,
|
|
|
|
int num);
|
2004-02-22 13:37:04 +00:00
|
|
|
int msgPoolDelete(
|
|
|
|
msgSpaceId spaceId,
|
|
|
|
int poolIdx
|
|
|
|
);
|
2019-09-16 17:15:55 +02:00
|
|
|
#endif
|