diff --git a/dongle.h b/dongle.h index add5d8154d8146884f1e272059b4e3eb41d23744..db0a853a6eea5bdefc65bb79aacd585a84beb83d 100644 --- a/dongle.h +++ b/dongle.h @@ -21,36 +21,5 @@ struct device { bool present; }; */ -void uloop_add_get_devices(struct uloop_timeout *t); -int get_devices_from_path(char *input_path); -int get_devices(void); -int poll_devices(struct uloop_timeout *t); -int tag_missing_devices(void); -int add_device(struct device *new_dev); -int delete_all_devices(void); -int delete_device_by_name(char *name); -int delete_device(struct device *dev); -void free_device(struct device *dev); -void free_usb(struct USB *usb); -struct device *search_list(char *name); -char *lexer(char **input, char *delimiter); -void remove_newline(char *input); -char *get_usb_stat(char *path, char *file); -char *get_device_name(char *dir_name); -char *get_device_ip(char *device_name); -int list_to_blob(struct blob_buf *bb); -int print_list(struct ubus_context *ctx, struct ubus_object *obj, - struct ubus_request_data *req, const char *method, - struct blob_attr *msg); -int clear(struct ubus_context *ctx, struct ubus_object *obj, - struct ubus_request_data *req, const char *method, - struct blob_attr *msg); -int test(struct ubus_context *ctx, struct ubus_object *obj, - struct ubus_request_data *req, const char *method, - struct blob_attr *msg); -int remove_device(struct ubus_context *ctx, struct ubus_object *obj, - struct ubus_request_data *req, const char *method, - struct blob_attr *msg); -void init_ubus(void); -int publish_object(struct ubus_context *ctx); + #endif \ No newline at end of file