Skip to content
Snippets Groups Projects
Commit 09b340f6 authored by Jakob Olsson's avatar Jakob Olsson
Browse files

dongle.h: remove old declarations

parent c918d55e
Branches
No related tags found
No related merge requests found
...@@ -21,36 +21,5 @@ struct device { ...@@ -21,36 +21,5 @@ struct device {
bool present; 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 #endif
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment