| Previous | Contents | Index |
Format for display a user profile.
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
formatPOPSTORE_format_read. Used for input only.User context to display. Obtain this context by calling
user_contextPOPSTORE_user_begin_d. Used for input only.Bit mask. Used for input only.
flagsPointer to private client data to be passed to the client-supplied
contextoutput_procprocedure. 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. Theflagsargument is used to control the handling of the%first,%last,%!first, and%!lastsubstitution strings. When the lowest bit offlagsis set,%firstis true. When the second lowest bit is set,%lastis true. See the description of thePOPSTORE_format_counterssubroutine for a description of theoutput_procprocedure.
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 |