summaryrefslogtreecommitdiffstats
path: root/include/nfct.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/nfct.h')
-rw-r--r--include/nfct.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/include/nfct.h b/include/nfct.h
new file mode 100644
index 0000000..d6271cf
--- /dev/null
+++ b/include/nfct.h
@@ -0,0 +1,29 @@
+#ifndef _NFCT_H_
+#define _NFCT_H_
+
+enum {
+ NFCT_SUBSYS_NONE = 0,
+ NFCT_SUBSYS_TIMEOUT,
+ NFCT_SUBSYS_VERSION,
+ NFCT_SUBSYS_HELP,
+};
+
+enum {
+ NFCT_CMD_NONE = 0,
+ NFCT_CMD_LIST,
+ NFCT_CMD_ADD,
+ NFCT_CMD_DELETE,
+ NFCT_CMD_GET,
+ NFCT_CMD_FLUSH,
+};
+
+void nfct_perror(const char *msg);
+
+int nfct_cmd_timeout_parse_params(int argc, char *argv[]);
+int nfct_cmd_timeout_list(int argc, char *argv[]);
+int nfct_cmd_timeout_add(int argc, char *argv[]);
+int nfct_cmd_timeout_delete(int argc, char *argv[]);
+int nfct_cmd_timeout_get(int argc, char *argv[]);
+int nfct_cmd_timeout_flush(int argc, char *argv[]);
+
+#endif