2004-02-25 18:51:33 +00:00
|
|
|
#include "libnazgul.h"
|
|
|
|
#include "ids.h"
|
|
|
|
|
|
|
|
int msgSpaceListClose(msgSpaceList * list){
|
2004-02-25 21:28:11 +00:00
|
|
|
|
|
|
|
msgSpaceListId spaceListId;
|
|
|
|
strcpy(spaceListId,DEFAULT_MSGSPACELISTID);
|
|
|
|
|
2004-02-25 18:51:33 +00:00
|
|
|
if (munmap(list,sizeof(msgSpaceList)) < 0){
|
2004-02-25 21:28:11 +00:00
|
|
|
NZG_ERROR("unmap",spaceListId);
|
2004-02-25 18:51:33 +00:00
|
|
|
goto ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
ERROR:
|
|
|
|
return -1;
|
|
|
|
}
|