Free a previously allocated SRV_PROCLIST structure.
CS_RETCODE srv_reglistfree(spp, proclistp)
SRV_PROC *spp; SRV_PROCLIST *proclistp;
A pointer to an internal thread control structure.
A pointer to a SRV_PROCLIST structure previously allocated by srv_reglist or srv_regwatchlist.
Returns |
To indicate |
---|---|
CS_SUCCEED |
The routine completed successfully. |
CS_FAIL |
The routine failed. |
#include <ospublic.h>
/*
** Local Prototype
*/
CS_RETCODE ex_srv_reglistfree PROTOTYPE((
SRV_PROC *srvproc,
SRV_PROCLIST *reglistp
));
/*
** EX_SRV_REGLISTFREE
**
** Example routine to free a previously allocated reglist.
**
** Arguments:
** srvproc A pointer to an internal thread control structure.
** reglistp A pointer to the list to free.
**
** Returns:
**
** CS_SUCCEED
** CS_FAIL
*/
CS_RETCODE ex_srv_reglistfree(srvproc, reglistp)
SRV_PROC *srvproc;
SRV_PROCLIST *reglistp;
{
return(srv_reglistfree(srvproc, reglistp));
}
srv_reglistfree deallocates a SRV_PROCLIST structure allocated by srv_reglist or srv_regwatchlist.