* ajouté un type bool
This commit is contained in:
parent
c50ee30cfa
commit
2abda632d5
1 changed files with 5 additions and 1 deletions
|
@ -2,6 +2,9 @@
|
|||
#define _NZG_IFACE 1
|
||||
|
||||
#include "nzg_global.h"
|
||||
|
||||
typedef enum { true=1, false=0} bool;
|
||||
|
||||
typedef char msgSpaceId[MSGSPACE_ID_LEN];
|
||||
|
||||
typedef char msgSpaceListId[4*MSGSPACE_ID_LEN];
|
||||
|
@ -24,11 +27,12 @@ typedef struct MsgPoolData {
|
|||
int bufferNb;
|
||||
int bufferSize;
|
||||
int allocDispBuffer;
|
||||
int allocOverload;
|
||||
bool allocOverload;
|
||||
} msgPoolData;
|
||||
|
||||
/* TODO: queueId */
|
||||
|
||||
|
||||
typedef struct MsgSpace {
|
||||
msgSpaceId id;
|
||||
int poolNb;
|
||||
|
|
Loading…
Reference in a new issue