NAME
netmgt_save_argument, netmgt_restore_argument - save and restore optional argument
SYNOPSIS
bool_t
netmgt_save_argument (name, argument)
char *name,
Netmgt_argument *argument;
bool_t
netmgt_restore_argument (argument)
Netmgt_argument *argument;
DESCRIPTION
netmgt_save_argument copies information about an optional argument into the buffer pointed to by argument .
netmgt_restore_argument sets a argument from the contents of the buffer pointed to by argument .
typedef struct
{
name Optional argument name
type Argument data type
length
Argument value length
value
Argument value buffer
RETURN VALUE
TRUE if successful, otherwise FALSE.
DIAGNOSTICS
If false is returned, global variable netmgt_errno indicates the error. The caller can get the reason for the error with netmgt_fetch_error(3n).
FILES
netmgt_arglist.h, netmgt_msg.h, netmgt_request.h