2fa9cfecaf5454d88c78595ee36bc1f25ed916ff
1 #ifndef __PROCD_HOTPLUG_H
2 #define __PROCD_HOTPLUG_H
4 #include <libubox/avl.h>
5 #include <libubox/blob.h>
6 #include <libubox/blobmsg.h>
7 #include <libubox/utils.h>
11 struct blob_attr data
[];
16 int (*handler
)(struct blob_attr
*cur
, struct blob_attr
*msg
);
19 struct rule_file
*rule_file_get(const char *filename
);
20 void rule_file_free_all(void);
21 void rule_error(struct blob_attr
*cur
, const char *msg
);
22 void rule_process_msg(struct rule_file
*f
, struct blob_attr
*msg
);
23 void rule_handle_command(const char *name
, struct blob_attr
*data
);