From b5aa38e02315bf1d8d61d99ec769bf0fb1711b4d Mon Sep 17 00:00:00 2001 From: glenux Date: Sun, 22 Feb 2004 22:17:38 +0000 Subject: [PATCH] *** empty log message *** --- src/nzg_iface.h | 5 +---- src/nzg_proto.h | 7 +++++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/nzg_iface.h b/src/nzg_iface.h index 50efc8c..812e3bd 100644 --- a/src/nzg_iface.h +++ b/src/nzg_iface.h @@ -54,10 +54,7 @@ typedef struct MsgSpace { } msgSpace; -/* struct msgSpaceListElem * next; */ - typedef struct MsgSpaceListElem { -// void * id; int ownerPid; msgSpaceListElemId next; } msgSpaceListElem; @@ -66,7 +63,7 @@ typedef struct MsgSpaceList { int elemCounter; msgSpaceListElemId first; msgSpaceListElemId last; -} msgSpaceList, +} msgSpaceList; #endif /* */ diff --git a/src/nzg_proto.h b/src/nzg_proto.h index 4c4d241..f0ddab3 100644 --- a/src/nzg_proto.h +++ b/src/nzg_proto.h @@ -25,7 +25,10 @@ int msgPoolIdIntern(msgPoolId dest, msgPoolId src, int num); int msgBufferInfoTabIdIntern(msgBufferInfoTabId dest, msgSpaceId src, int num); /* nzg_list.c */ /* nzg_msgList.c */ -void *add(char *idAncien, char *idNouveau); +int msgSpaceListInit(void); +int msgSpaceListLock(void); +int msgSpaceListUnlock(void); +int msgSpaceListElemCreate(msgSpaceListElemId resultName, msgSpaceId spaceId); /* nzg_poolCreate.c */ int msgPoolCreate(msgSpaceId externId, int poolIdx, int buffNb, int buffSize); /* nzg_poolDelete.c */ @@ -35,7 +38,7 @@ msgSpace *msgSpaceCreate(msgSpaceId externId, int queueNb, int poolNb, msgPool * /* nzg_spaceDelete.c */ int msgSpaceDelete(msgSpaceId externId); /* nzg_spaceOpen.c */ -msgSpace *msgSpaceOpen(msgSpaceId spaceId); +msgSpace *msgSpaceOpen(msgSpaceId externId); /* nzg_state.c */ #endif