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-22 15:29:36 +00:00
|
|
|
/* nzg_allocate.c */
|
2004-02-21 21:07:40 +00:00
|
|
|
void *msgAllocate(msgSpace *space, int pool, int taille, int option);
|
2004-02-22 15:29:36 +00:00
|
|
|
/* nzg_bufferAttachProc.c */
|
|
|
|
int msgBufferAttachProc(msgPoolData *poolDataTabAddr, int poolIndex, int bufferIndex, void *addr);
|
|
|
|
/* nzg_buffer.c */
|
|
|
|
int msgBufferGetAttachedProcIndex(msgPoolData *poolDataTabAddr, int poolIndex, void *addr);
|
|
|
|
/* nzg_bufferDetachProc.c */
|
|
|
|
int msgBufferDetachProc(msgPoolData *poolDataTabAddr, int poolIndex, int bufferIndex, void *addr);
|
|
|
|
/* nzg_bufferGetFreeIndex.c */
|
|
|
|
int msgBufferGetFreeIndex(msgPoolData *poolDataTabAddr, int poolIndex);
|
|
|
|
/* nzg_bufferInfoTabCreate.c */
|
|
|
|
int msgBufferInfoTabCreate(msgSpaceId externId,msgPoolData * poolDataTabAddr, int poolIdx, int buffNb);
|
|
|
|
/* nzg_bufferInfoTabInit.c */
|
|
|
|
int msgBufferInfoTabInit(msgPoolData *poolDataTabAddr, int poolIndex);
|
|
|
|
/* nzg_ids.c */
|
|
|
|
int msgSpaceIdIntern(msgSpaceId dest, const msgSpaceId src);
|
|
|
|
int msgPoolSemIdIntern(msgPoolSemId destSemId, const msgSpaceId srcPoolId, int poolIdx);
|
|
|
|
int msgPoolDataIdIntern(msgPoolDataTabId dest, const msgSpaceId src);
|
|
|
|
int msgPoolIdIntern(msgPoolId dest, msgPoolId src, int num);
|
|
|
|
int msgBufferInfoTabIdIntern(msgBufferInfoTabId dest, msgSpaceId src, int num);
|
|
|
|
/* nzg_list.c */
|
|
|
|
/* nzg_msgList.c */
|
2004-02-21 21:07:40 +00:00
|
|
|
msgSpaceListElem *addBegining(msgSpaceListElem *list, int ownerpid);
|
2004-02-22 15:29:36 +00:00
|
|
|
/* nzg_poolCreate.c */
|
|
|
|
int msgPoolCreate(msgSpaceId externId, int poolIdx, int buffNb, int buffSize);
|
|
|
|
/* nzg_poolDelete.c */
|
|
|
|
int msgPoolDelete(msgSpaceId spaceId, int poolIdx);
|
|
|
|
/* nzg_spaceCreate.c */
|
|
|
|
msgSpace *msgSpaceCreate(msgSpaceId externId, int queueNb, int poolNb, msgPool *poolInfos);
|
|
|
|
/* nzg_spaceDelete.c */
|
|
|
|
int msgSpaceDelete(msgSpaceId externId);
|
|
|
|
/* nzg_spaceOpen.c */
|
2019-09-16 16:54:52 +02:00
|
|
|
msgSpace *msgSpaceOpen(msgSpaceId spaceId);
|
2004-02-22 15:29:36 +00:00
|
|
|
/* nzg_state.c */
|
2004-02-22 17:39:08 +00:00
|
|
|
int msgFree(msgSpace * space, void * addr);
|
2004-02-22 15:29:36 +00:00
|
|
|
|
2019-09-16 17:15:55 +02:00
|
|
|
#endif
|