2004-02-17 21:53:14 +00:00
|
|
|
#include "nzg_global.h"
|
2004-02-17 16:43:47 +00:00
|
|
|
#include "nzg_iface.h"
|
|
|
|
#include "nzg_proto.h"
|
|
|
|
|
|
|
|
int main(void) {
|
2004-02-19 09:57:25 +00:00
|
|
|
// msgSpace mS=0;
|
|
|
|
|
|
|
|
msgSpaceId testId;
|
|
|
|
msgSpace * mSPAC;
|
2004-02-19 23:00:12 +00:00
|
|
|
msgPool poolInfos[2];
|
2004-02-19 09:57:25 +00:00
|
|
|
|
2004-02-19 23:00:12 +00:00
|
|
|
poolInfos[0].bufferNb=4;
|
|
|
|
poolInfos[0].bufferSize=200;
|
|
|
|
|
|
|
|
poolInfos[1].bufferNb=1;
|
|
|
|
poolInfos[1].bufferSize=700;
|
|
|
|
|
2004-02-19 18:26:46 +00:00
|
|
|
strcpy(testId,"test");
|
|
|
|
printf("RequestedId: %s\n",testId);
|
2004-02-19 23:00:12 +00:00
|
|
|
|
|
|
|
mSPAC=msgSpaceCreate(testId,0,2,poolInfos);
|
2004-02-17 21:53:14 +00:00
|
|
|
msgSpaceDelete(testId);
|
2004-02-19 09:57:25 +00:00
|
|
|
|
2004-02-17 16:43:47 +00:00
|
|
|
return 0;
|
|
|
|
}
|