make size related int variables unsigned
[project/uqmi.git] / commands.h
index 2b1562a..7560dbd 100644 (file)
@@ -4,6 +4,8 @@
 #include <stdbool.h>
 #include "commands-wds.h"
 #include "commands-dms.h"
+#include "commands-nas.h"
+#include "commands-wms.h"
 
 enum qmi_cmd_result {
        QMI_CMD_DONE,
@@ -33,7 +35,9 @@ struct uqmi_cmd {
        __uqmi_command(set_client_id, set-client-id, required, CMD_TYPE_OPTION), \
        __uqmi_command(get_client_id, get-client-id, required, QMI_SERVICE_CTL), \
        __uqmi_wds_commands, \
-       __uqmi_dms_commands
+       __uqmi_dms_commands, \
+       __uqmi_nas_commands, \
+       __uqmi_wms_commands
 
 #define __uqmi_command(_name, _optname, _arg, _option) __UQMI_COMMAND_##_name
 enum uqmi_command {
@@ -42,8 +46,10 @@ enum uqmi_command {
 };
 #undef __uqmi_command
 
+extern bool single_line;
 extern const struct uqmi_cmd_handler uqmi_cmd_handler[];
 void uqmi_add_command(char *arg, int longidx);
-void uqmi_run_commands(struct qmi_dev *qmi);
+bool uqmi_run_commands(struct qmi_dev *qmi);
+int uqmi_add_error(const char *msg);
 
 #endif