Session Module
libsession.h
Go to the documentation of this file.
1 
8 #ifndef SESSION
9 #define SESSION
10 
11 
16 extern int session_init(void);
17 
24 extern int session_open(int , int );
25 
32 extern int session_close(int , int );
33 
39 extern int session_exit(int );
40 
41 #endif
42 
43 
44 
int session_open(int, int)
opens a session on a specific file descriptor
Definition: libsession.c:23
int session_exit(int)
session_exit expresses the whish of terminating the session
Definition: libsession.c:33
int session_init(void)
session_init express the wish to initialize a session
Definition: libsession.c:18
int session_close(int, int)
closes a session on a specific file descriptor
Definition: libsession.c:28