NAME

arg_record - Builds and returns an argument table record.

SYNOPSIS

#include <argtable.h>

arg_rec arg_record(char *tagstr, char *argname, arg_type argtype, void *valueptr, char *defaultstr, char *argdescrip);

PARAMETERS

char *tagstr
Argument tag string.
char *argname
Argument name string.
arg_type argtype
Argument data type.

Possible values for an

arg_type
are as follows:
void *valueptr
Pointer to user-supplied storage location.
char *defaultstr
Default argument value, as a string.
char *argdescrip
Argument description string.

DESCRIPTION

Returns an arg_rec structure containing the values passed to the function. It is useful for building argument tables dynamically.

SEE ALSO

arg_catargs , arg_dump , arg_glossary , arg_scanargv , arg_scanstr , arg_syntax , arg_typestr