add copyright/license information
[project/ubus.git] / ubusmsg.h
index a34b341..1aa2fbe 100644 (file)
--- a/ubusmsg.h
+++ b/ubusmsg.h
@@ -1,3 +1,16 @@
+/*
+ * Copyright (C) 2011 Felix Fietkau <nbd@openwrt.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1
+ * as published by the Free Software Foundation
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
+
 #ifndef __UBUSMSG_H
 #define __UBUSMSG_H
 
@@ -71,6 +84,7 @@ enum ubus_msg_status {
        UBUS_STATUS_NOT_FOUND,
        UBUS_STATUS_NO_DATA,
        UBUS_STATUS_PERMISSION_DENIED,
+       UBUS_STATUS_TIMEOUT,
        __UBUS_STATUS_LAST
 };