iwd/client/dbus-proxy.h

39 lines
1.2 KiB
C
Raw Normal View History

/*
*
* Wireless daemon for Linux
*
* Copyright (C) 2017 Intel Corporation. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
struct proxy_interface;
2017-04-07 23:55:32 +02:00
struct proxy_interface_type_ops {
void *(*create)(void);
};
struct proxy_interface_type {
const char *interface;
2017-04-07 23:55:32 +02:00
const struct proxy_interface_type_ops *ops;
};
struct proxy_interface *proxy_interface_find(const char *interface,
const char *path);
bool dbus_proxy_init(void);
bool dbus_proxy_exit(void);