* ajouté un type bool

This commit is contained in:
glenux 2004-02-19 23:16:28 +00:00
parent c50ee30cfa
commit 2abda632d5

View file

@ -2,6 +2,9 @@
#define _NZG_IFACE 1 #define _NZG_IFACE 1
#include "nzg_global.h" #include "nzg_global.h"
typedef enum { true=1, false=0} bool;
typedef char msgSpaceId[MSGSPACE_ID_LEN]; typedef char msgSpaceId[MSGSPACE_ID_LEN];
typedef char msgSpaceListId[4*MSGSPACE_ID_LEN]; typedef char msgSpaceListId[4*MSGSPACE_ID_LEN];
@ -24,11 +27,12 @@ typedef struct MsgPoolData {
int bufferNb; int bufferNb;
int bufferSize; int bufferSize;
int allocDispBuffer; int allocDispBuffer;
int allocOverload; bool allocOverload;
} msgPoolData; } msgPoolData;
/* TODO: queueId */ /* TODO: queueId */
typedef struct MsgSpace { typedef struct MsgSpace {
msgSpaceId id; msgSpaceId id;
int poolNb; int poolNb;