2015-04-22 01:31:31 +08:00
|
|
|
#ifndef __SESSION_H
|
|
|
|
#define __SESSION_H
|
|
|
|
|
2015-10-31 23:26:09 +08:00
|
|
|
void session_startup_kernel(void);
|
2015-04-22 01:31:31 +08:00
|
|
|
void session_start(void);
|
|
|
|
void session_end(void);
|
|
|
|
|
|
|
|
int session_input(void *data, int len);
|
|
|
|
void session_poll(void **data, int *len);
|
2015-04-23 23:22:40 +08:00
|
|
|
void session_ack_data(int len);
|
|
|
|
void session_ack_mem(int len);
|
2015-04-22 01:31:31 +08:00
|
|
|
|
|
|
|
int rpc(int rpc_num, ...);
|
|
|
|
|
|
|
|
#endif /* __SESSION_H */
|