summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ncr.h11
1 files changed, 11 insertions, 0 deletions
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