* ajouté un type bool
This commit is contained in:
parent
44d31e03c7
commit
b11cac0b6e
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue