1DPNS_STARTSESS(3) DPNS Library Functions DPNS_STARTSESS(3)
2
3
4
6 dpns_startsess - start session
7
9 #include <sys/types.h>
10 #include "dpns_api.h"
11
12 int dpns_startsess (char *server, char *comment);
13
15 dpns_startsess starts session. The connection to the Name Server is
16 kept open until dpns_endsess is explicitly called. Requests issued
17 between dpns_startsess and dpns_endsess are independent from each other
18 and are individually committed or rolled back. The comment is logged
19 in the server log.
20
22 This routine returns 0 if the operation was successful or -1 if the
23 operation failed. In the latter case, serrno is set appropriately.
24
26 EINVAL The length of comment exceeds CA_MAXCOMMENTLEN.
27
28 SENOSHOST Host unknown.
29
30 SENOSSERV Service unknown.
31
32 SECOMERR Communication error.
33
34 ENSNACT Name server is not running or is being shutdown.
35
37 dpns_endsess(3)
38
39
40
41DPNS $Date: 2010-04-05 09:51:26 +0200 (Mon, 05 Apr 201D0P)NS$_STARTSESS(3)