l3.libnazgul/test/create_delete.c

25 lines
450 B
C

#include "nzg_global.h"
#include "nzg_iface.h"
#include "nzg_proto.h"
int main(void) {
// msgSpace mS=0;
msgSpaceId testId;
msgSpace * mSPAC;
msgPool poolInfos[2];
poolInfos[0].bufferNb=4;
poolInfos[0].bufferSize=200;
poolInfos[1].bufferNb=1;
poolInfos[1].bufferSize=700;
strcpy(testId,"test");
printf("RequestedId: %s\n",testId);
mSPAC=msgSpaceCreate(testId,0,2,poolInfos);
msgSpaceDelete(testId);
return 0;
}