17 #ifndef HOMESCREEN_HELPER_H 18 #define HOMESCREEN_HELPER_H 19 #define AFB_BINDING_VERSION 3 20 #include <afb/afb-binding.h> 21 #include <json-c/json.h> 23 #define AFB_EVENT_BAD_REQUEST 100 24 #define AFB_REQ_SUBSCRIBE_ERROR 101 25 #define AFB_REQ_UNSUBSCRIBE_ERROR 102 26 #define AFB_REQ_SHOWNOTIFICATION_ERROR 103 27 #define AFB_REQ_SHOWINFORMATION_ERROR 104 37 extern const char*
evlist[];
38 extern const char _error[];
const char _application_id[]
void hs_add_object_to_json_object_func(struct json_object *j_obj, const char *verb_name, int count,...)
const char _reply_message[]
const char _display_message[]
REQ_ERROR get_value_int32(const afb_req_t request, const char *source, int32_t *out_id)
void hs_add_object_to_json_object(struct json_object *j_obj, int count,...)
int hs_search_event_name_index(const char *value)
REQ_ERROR get_value_uint16(const afb_req_t request, const char *source, uint16_t *out_id)
void hs_add_object_to_json_object_str(struct json_object *j_obj, int count,...)
REQ_ERROR get_value_int16(const afb_req_t request, const char *source, int16_t *out_id)