1 /* 2 * uqmid 3 * Copyright (C) 2023 Alexander Couzens <lynxis@fe80.eu> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License version 2 7 * as published by the Free Software Foundation 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 */ 14 #ifndef __UQMID_UBUS_H 15 #define __UQMID_UBUS_H 16 17 struct modem; 18 struct ubus_context; 19 20 extern struct ubus_context *ubus_ctx; 21 int uqmid_ubus_init(const char *path); 22 23 int uqmid_ubus_modem_add(struct modem *modem); 24 void uqmid_ubus_modem_destroy(struct modem *modem); 25 void uqmid_ubus_modem_notify_change(struct modem *modem, int event); 26 27 #endif /* __UQMID_UBUS_H */ 28
This page was automatically generated by LXR 0.3.1. • OpenWrt