1LFC_STARTSESS(3) LFC Library Functions LFC_STARTSESS(3)
2
3
4
6 lfc_startsess - start session
7
9 #include <sys/types.h>
10 #include "lfc_api.h"
11
12 int lfc_startsess (char *server, char *comment);
13
15 lfc_startsess starts session. The connection to the Name Server is
16 kept open until lfc_endsess is explicitly called. Requests issued
17 between lfc_startsess and lfc_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 lfc_endsess(3)
38
39
40
41LFC $Date: 2010-04-05 09:51:26 +0200 (Mon, 05 Apr 2010L)FC$_STARTSESS(3)