Previous | Next | Contents | Index |
Format for display a user profile.FORMAT
int POPSTORE_format_profile (format, user_context, flags, context, output_proc) POPSTORE_format_element *format; POPSTORE_user_context *user_context; int flags; void *context; int (*output_proc)(); |
Pointer to a formatting context returned by a previous call to
format
POPSTORE_format_read
. Used for input only.User context to display. Obtain this context by calling
user_context
POPSTORE_user_begin_d
. Used for input only.Bit mask. Used for input only.
flags
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 call to output formatted data. Used for input only.
output_proc
POPSTORE_format_profile can be used to format for display a user profile. The formatting context passed to this subroutine should be derived from a formatting file using substitution strings from Tables 4-10 and 4-15. Theflags
argument is used to control the handling of the%first
,%last
,%!first
, and%!last
substitution strings. When the lowest bit offlags
is set,%first
is true. When the second lowest bit is set,%last
is true. See the description of thePOPSTORE_format_counters
subroutine for a description of theoutput_proc
procedure.
POPSTORE_SUCCESS Normal, successful completion. POPSTORE_BADARG Bad value passed for the address of the output procedure, output_proc
.Any error value returned by the output procedure, output_proc
.
Previous | Next | Contents | Index |