Man page of DPM_GETPROTOCOLS
Section: DPM Library Functions (3)
Updated: $Date: 2004/12/15 06:53:28 $
Return to Main Contents
dpm_getprotocols - get the list of supported protocols
int dpm_getprotocols (int *nb_supported_protocols,
gets the list of supported protocols.
will be set to the number of protocols in the array of supported protocols.
will be set to the address of an array of pointers to the supported protocols.
This array of pointers is allocated by the API and the client application is
responsible for freeing the array when not needed anymore.
This routine returns 0 if the operation was successful or -1 if the operation
failed. In the latter case,
is set appropriately.
is a NULL pointer.
Memory could not be allocated for storing the array of supported protocols.
- RETURN VALUE
This document was created by
using the manual pages.
Time: 17:38:09 GMT, December 16, 2011