pbms_get_option
Description
pbms_bool pbms_get_option ( PBMS pbms ,enum pbms_option option ,const void* value)
Gets a connection option value for the PBMS handle.
Parameters
pbms
A valid PBMS handle.
option
The connection option to be got.
value
A pointer to the option dependent buffer into which the requested value will be placed.
Return Values

On success TRUE is returned.

On failure FALSE is returned. Use pbms_errno() and pbms_error() to retrieve error details.

Example
 const char *db;
/* Get the database name associated with the connection. */
pbms_get_option(pbms, PBMS_OPTION_DATABASE, &db);
printf("Database for this connection is \"%s\"\n", db);
		
Related functions
pbms_set_option()