rename publish to add_object
[project/ubus.git] / ubusmsg.h
index 32cee6bb501eb311770ffc1f312b91d13b50f879..116351d4ec2d3739a74251548a11d6d501cd3f03 100644 (file)
--- a/ubusmsg.h
+++ b/ubusmsg.h
@@ -38,8 +38,8 @@ enum ubus_msg_type {
        /* invoke a method on a single object */
        UBUS_MSG_INVOKE,
 
-       /* publish an object */
-       UBUS_MSG_PUBLISH,
+       UBUS_MSG_ADD_OBJECT,
+       UBUS_MSG_REMOVE_OBJECT,
 
        /* must be last */
        __UBUS_MSG_LAST,