2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License.
6 * This program is distributed in the hope that it will be useful,
7 * but WITHOUT ANY WARRANTY; without even the implied warranty of
8 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 * GNU General Public License for more details.
11 * You should have received a copy of the GNU General Public License
12 * along with this program; if not, write to the Free Software
13 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
15 * Copyright (C) 2020 embedd.ch
16 * Copyright (C) 2020 Felix Fietkau <nbd@nbd.name>
17 * Copyright (C) 2020 John Crispin <john@phrozen.org>
20 #ifndef __APMGR_REMOTE_H
21 #define __APMGR_REMOTE_H
23 #include <libubox/blob.h>
36 struct blob_attr
*nodes
;
37 struct blob_attr
*host_info
;
64 struct blob_attr
*stations
;
65 struct blob_attr
*rrm_nr
;
66 struct blob_attr
*node_info
;
87 bool parse_apmsg(struct apmsg
*msg
, struct blob_attr
*data
);
88 bool parse_apmsg_node(struct apmsg_node
*msg
, struct blob_attr
*data
);
89 bool parse_apmsg_sta(struct apmsg_sta
*msg
, struct blob_attr
*data
);