#ifndef PARSER_H_ #define PARSER_H_ #include #include #include #include #include #include "globals.h" #include "string_utils.h" #include "dummy_functions.h" #include "device-functions.h" /* types of input commands that can be parsed */ #define command_simple 0 #define command_withparam 2 #define command_param_units 3 #define query_simple 4 #define query_param 6 /* general formatting */ #define remote_digits_after_decimal 4 /* how many digits are returned after decimal by query commands */ #define NORMAL_ZERO 0 #define ALLOW_NEG_ZERO 1 #define USE_ON_OFF 0 #define NO_ON_OFF 1 void Parser_main (char *in, int allow_unrequested_responses, void(*cbfunc)(gpointer, gchar *), gpointer user_data); #endif