|
|
long sm_subscribe(char *mailbox);
This function adds the given mailbox name to the local subscription list, and returns T if successful, NIL if failure.
long sm_unsubscribe(char *mailbox);
This function removes the given mailbox name from the local subscription list, and returns T if successful, NIL if failure.
char *sm_read(void **sdb);
This function returns the local subscription list as null terminated strings. Each call returns the next element in the list. The first call should be with sdb pointing to a NIL pointer; this will be filled in for subsequent calls. At the last call, NIL will be returned.