* GNU General Public License for more details.
*/
+#ifndef __LIBUBUS_H
+#define __LIBUBUS_H
+
#include <libubox/avl.h>
#include <libubox/list.h>
#include <libubox/blobmsg.h>
struct ubus_context *ubus_connect(const char *path);
+int ubus_reconnect(struct ubus_context *ctx, const char *path);
void ubus_free(struct ubus_context *ctx);
const char *ubus_strerror(int error);
{
return ubus_remove_object(ctx, &ev->obj);
}
+
+#endif