From af3bdf3d06bebc8e85b262742c88ac01fa491c7b Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Tue, 15 Jun 2010 10:50:25 +0200 Subject: Added definitions for session ioctls(). --- ncr.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ncr.h b/ncr.h index fdce0c3..b9a38d5 100644 --- a/ncr.h +++ b/ncr.h @@ -329,5 +329,16 @@ struct ncr_session_op_st { ncr_error_t err; }; +struct ncr_session_once_op_st { + struct ncr_session_st init; + struct ncr_session_op_st op; +}; + +#define NCRIO_SESSION_INIT _IOR ('c', 300, struct ncr_session_st) +#define NCRIO_SESSION_UPDATE _IOWR ('c', 301, struct ncr_session_op_st) +#define NCRIO_SESSION_FINAL _IOR ('c', 302, struct ncr_session_op_st) + +/* everything in one call */ +#define NCRIO_SESSION_ONCE _IOWR ('c', 303, struct ncr_session_once_op_st) #endif -- cgit