summaryrefslogtreecommitdiff
path: root/include/uci/command.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uci/command.h')
-rw-r--r--include/uci/command.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/include/uci/command.h b/include/uci/command.h
deleted file mode 100644
index ba9c51d..0000000
--- a/include/uci/command.h
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifndef UCI_COMMAND_H
-#define UCI_COMMAND_H
-
-#define MAX_TOKEN_SIZE 32
-
-typedef struct {
- char root[MAX_TOKEN_SIZE];
- int args_count;
- int args_capacity;
- char* args;
- bool empty;
-} ucicmd;
-
-ucicmd ucicmd_init();
-void ucicmd_add(ucicmd* cmd, const char* token);
-void ucicmd_set_root(ucicmd* cmd, const char* token);
-void ucicmd_append_arg(ucicmd* cmd, const char* token);
-char* ucicmd_get_arg(ucicmd cmd, int i);
-void ucicmd_deinit(ucicmd cmd);
-
-#endif // UCI_COMMAND_H