22 #ifndef CP_REST_JSON_H 23 #define CP_REST_JSON_H 276 #endif // CP_REST_JSON_H cp_res cloudplugs_set_device_prop_json(cp_session cps, const char *plugid, const char *prop, json_t *value)
cp_res cloudplugs_set_device_location_json(cp_session cps, const char *plugid, double longitude, double latitude, double altitude, double accuracy, cp_time timestamp)
cp_res cloudplugs_remove_data_json(cp_session cps, const char *channel_mask, json_t *id, json_t *before, json_t *after, json_t *at, json_t *of, json_t **result)
cp_res cloudplugs_get_channel_json(cp_session cps, const char *channel_mask, json_t *before, json_t *after, json_t *at, json_t *of, int offset, int limit, json_t **result)
int cp_res
Definition: cp_rest.h:35
cp_res cloudplugs_enroll_prototype_json(cp_session cps, const char *name, const char *hwid, const char *pass, json_t *perm, json_t *props, json_t **result)
cp_res cloudplugs_get_device_json(cp_session cps, const char *plugid, json_t **result)
cp_res cloudplugs_get_device_location_json(cp_session cps, const char *plugid, json_t **result)
cp_res cloudplugs_enroll_json(cp_session cps, json_t *obj, json_t **result)
cp_res cloudplugs_enroll_ctrl_json(cp_session cps, const char *model, const char *ctrl, const char *pass, const char *hwid, const char *name, json_t **result)
cp_res cloudplugs_retrieve_data_json(cp_session cps, const char *channel_mask, cp_time before, cp_time after, cp_time at, const char *of, int offset, int limit, json_t **result)
struct _cloudplugs_session * cp_session
Definition: cp_rest.h:31
cp_res cloudplugs_enroll_product_json(cp_session cps, const char *model, const char *hwid, const char *pass, json_t *props, json_t **result)
double cp_time
Definition: cp_rest_json.h:35
cp_res cloudplugs_control_device_json(cp_session cps, const char *model, const char *ctrl, const char *pass, json_t **result)
cp_res cloudplugs_uncontrol_device_json(cp_session cps, const char *plugid, json_t *plugid_controlled, json_t **result)
cp_res cloudplugs_set_device_json(cp_session cps, const char *plugid, json_t *value, json_t **result)
cp_res cloudplugs_unenroll_json(cp_session cps, json_t *plugid, json_t **result)
cp_res cloudplugs_get_device_prop_json(cp_session cps, const char *plugid, const char *prop, json_t **result)
cp_res cloudplugs_remove_device_prop_json(cp_session cps, const char *plugid, const char *prop)
cp_res cloudplugs_publish_data_json(cp_session cps, const char *channel, json_t *body, json_t **result)