#include <libubox/blob.h>
#include <libubox/blobmsg.h>
+#define CMDLINE_SIZE 2048
+
struct blobmsg_list_node {
struct avl_node avl;
struct blob_attr *data;
void blobmsg_list_free(struct blobmsg_list *list);
bool blobmsg_list_equal(struct blobmsg_list *l1, struct blobmsg_list *l2);
void blobmsg_list_move(struct blobmsg_list *list, struct blobmsg_list *src);
+char* get_cmdline_val(const char* name, char* out, int len);
+
+int patch_fd(const char *device, int fd, int flags);
+int patch_stdio(const char *device);
#endif