Previous | Next | Contents | Index |
Obsolete subroutine: use the more general POPSTORE_command_d subroutine.FORMAT
int POPSTORE_command (command, command_len, password_required, user, user_len, password, password_len, usage, usage_len, out_info, out_info_len, context, output_proc) char *command; int command_len; int password_required char *user; int user_len; char *password; int password_len; char *usage; int usage_len; char *out_info; int *out_info_len; void *context; int (*output_proc)(); |
The command to process. Used for input only.
command
Length in bytes of the command specified with
command_len
command
. Used for input only.Boolean flag indicating whether or not password authentication is required in order to process the command. Used for input only.
password_required
Name of the popstore user account to authenticate against when password authentication is required. Used for input only.
user
Length in bytes of the username specified with
user_len
user
. Used for input only.User-supplied, plain text password to use when performing a password authentication. Used for input only.
password
Length in bytes of the plain text password specified with
password_len
password
. Used for input only.Usage description to be passed to site-supplied logging subroutines explaining the usage. Used for input only.
usage
Length in bytes of the usage description specified with
usage_len
usage
. Used for input only.Output buffer to receive post-processing information. Used for output only.
out_info
On input, the maximum length in bytes of the buffer pointed at by
out_info_len
out_info
. On output, the length in bytes of the information placed in theout_info
buffer. Used for input and output.Pointer to private client data to be passed to the client-supplied
context
output_proc
procedure. Used for input only.Address of a client-supplied subroutine to receive command processing output. Used for input only.
output_proc
Although still supported, this subroutine is now obsolete. Use the more
general POPSTORE_command_d
subroutine instead.
POPSTORE_SUCCESS Normal, successful completion. POPSTORE_BADARG Null value received for the out_proc
argument.POPSTORE_ERRORS The command was parsed and executed; execution of the command resulted in some errors which were reported via the output_proc
procedure.POPSTORE_AUTHFAIL Invalid password or username supplied. The command was not executed. POPSTORE_BADHEXVAL The command contained an illegal hexadecimal encoded character. The command was not executed. POPSTORE_CMDTOOLONG The command contained too many name=value pairs. The command was not executed. POPSTORE_CMDUNKOWN The command contained an unrecognized right-hand-side in a name=value pair. The command was not executed. POPSTORE_CMDUNKOWNL The command contained an unrecognized left-hand-side in a name=value pair. The command was not executed. POPSTORE_NOMANAGE Specified account lacks management privileges. The command was not executed. POPSTORE_PWDREQUIRED A username and password are required. The command was not executed. POPSTORE_VMERROR Insufficient virtual memory. The command was not executed. Any error returned by the output_proc
procedure.
Previous | Next | Contents | Index |