debian man page for dpm_getprotocols

Query: dpm_getprotocols

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DPM_GETPROTOCOLS(3)					       DPM Library Functions					       DPM_GETPROTOCOLS(3)

NAME
dpm_getprotocols - get the list of supported protocols
SYNOPSIS
#include <sys/types.h> #include "dpm_api.h" int dpm_getprotocols (int *nb_supported_protocols, char ***supported_protocols)
DESCRIPTION
dpm_getprotocols gets the list of supported protocols. nb_supported_protocols will be set to the number of protocols in the array of supported protocols. 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.
RETURN VALUE
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
ERRORS
EFAULT nb_supported_protocols or supported_protocols is a NULL pointer. ENOMEM Memory could not be allocated for storing the array of supported protocols. SENOSHOST Host unknown. SECOMERR Communication error.
LCG
$Date: 2004/12/15 06:53:28 $ DPM_GETPROTOCOLS(3)
Related Man Pages
dpm_getstatus_getreq(3) - debian
dpm_getstatus_putreq(3) - debian
dpm_getstatus_copyreq(3) - debian
dpm_putdone(3) - debian
dpm_put(3) - debian
Similar Topics in the Unix Linux Community
Installing Dash Shell on OS X Lion
awk or sed - Convert 2 lines to 1 line
Detecting unused variables...
A (ksh) Library For and From UNIX.com
New UNIX and Linux History Sections