X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=utils.h;h=37fa2167eed00019bd90f831234d23c590a1f725;hb=9f8c266ba9a7232710b492974750cdbf0edf0bfe;hp=360f9f1a8378d1b17ea6d03584ef4e64a09bbf3a;hpb=9ec29d3648904002f92b7d2b0732a820e44c5f4b;p=project%2Fprocd.git diff --git a/utils.h b/utils.h index 360f9f1..37fa216 100644 --- a/utils.h +++ b/utils.h @@ -1,3 +1,17 @@ +/* + * Copyright (C) 2013 Felix Fietkau + * Copyright (C) 2013 John Crispin + * + * 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 __PROCD_UTILS_H #define __PROCD_UTILS_H @@ -11,6 +25,7 @@ struct blobmsg_list_node { }; typedef bool (*blobmsg_list_cmp)(struct blobmsg_list_node *l1, struct blobmsg_list_node *l2); +typedef void (*blobmsg_update_cb)(struct blobmsg_list_node *n); struct blobmsg_list { struct avl_tree avl;