X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubus.git;a=blobdiff_plain;f=libubus.h;h=b741e652916e7b0488b0da6f9ae8b82e0cbd08a2;hp=2662878471a035ba8831c8eca20d63fd4f06ed9a;hb=7b262aec3843912d68e020f0750b6f96e2f7c8e3;hpb=c55408c4d023b67f6156f330e3442169bd53da16 diff --git a/libubus.h b/libubus.h index 2662878..b741e65 100644 --- a/libubus.h +++ b/libubus.h @@ -79,6 +79,8 @@ struct ubus_context { uint32_t local_id; uint32_t request_seq; + void (*connection_lost)(struct ubus_context *ctx); + struct { struct ubus_msghdr hdr; char data[UBUS_MAX_MSGLEN - sizeof(struct ubus_msghdr)];