user_free_cp

[cf]user_free_cp
int user_free_cp(void **user)

Description:

The user has to free all the data structures within user, and also free user itself. The user can use the built-in macro FREE that checks the existence of a pointer before freeing it.

Arguments:

void **user INOUT Pointer to the user-defined data structure (should be NULL on exit).

Return values:

USER_ERROR Ignored.
USER_SUCCESS The user freed all data structures.
USER_DEFAULT There is nothing to be freed.

Invoked from:
cp_close() at module shutdown.





Ted Ralphs
2007-12-21