allow commands to return individual json elements instead of just json objects
[project/uqmi.git] / commands.h
index 62d63f8..44971c5 100644 (file)
@@ -48,6 +48,7 @@ enum uqmi_command {
 
 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);
+void uqmi_add_error(const char *msg);
 
 #endif