dpm_getprotocols man page
DPM_GETPROTOCOLS(3) DPM Library Functions DPM_GETPROTOCOLS(3)
dpm_getprotocols - get the list of supported protocols
[1mint dpm_getprotocols (int *[4m[22mnb_supported_protocols[24m[1m, char ***[4m[22msup-[0m
[1mdpm_getprotocols [22mgets the list of supported protocols.
will be set to the number of protocols in the array of supported
will be set to the address of an array of pointers to the sup-
ported 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, [1mserrno [22mis set appropriately.
[1mEFAULT [4m[22mnb_supported_protocols[24m or [4msupported_protocols[24m is a NULL
[1mENOMEM [22mMemory could not be allocated for storing the array of
[1mSENOSHOST [22mHost unknown.
[1mSECOMERR [22mCommunication error.
LCG $Date: 2004/12/15 06:53:28 $ DPM_GETPROTOCOLS(3)