|
Purpose |
Releases a connection handle previously obtained from the database manager | |
|
Old name |
#define _srv_unproc srv_end_process | |
|
Syntax (CCOWN) |
void srv_end_process(void) | |
|
Syntax (DP4DBAPI) |
void dp4_srv_end_process(CONN *conn) | |
|
Parameters |
CONN* conn |
Connection handle previously obtained with dp4_srv_connect() |
|
Description |
The srv_end_process() function closes a connection to DP4. This function is normally called automatically from inside dp4_halt(). The srv_disable() function should be called before calling this function, to ensure all files and databases opened by the connection are properly closed down. This function always succeeds - any errors that occur while it is being executed are ignored. dp4_srv_disconnect() is defined as a synonym for dp4_srv_end_process(). You may prefer to use this name for connections created with dp4_srv_connect(). | |
|
See also |
||