diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2013-04-25 15:29:56 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2013-05-03 17:09:24 +0300 |
commit | 21257308893e29c6ea90b79e3bf0f8341ed08bd5 (patch) | |
tree | 9be6cbe78c95076062c45c2e198a8cecf445a944 /client/agent.h | |
parent | fff12a67390147487a7d3b41e7c8aa60487243ed (diff) | |
download | connman-21257308893e29c6ea90b79e3bf0f8341ed08bd5.tar.gz connman-21257308893e29c6ea90b79e3bf0f8341ed08bd5.tar.bz2 connman-21257308893e29c6ea90b79e3bf0f8341ed08bd5.zip |
client: Add support for registering and unregistering an agent
Add agent .h and .c files containing registering and unregistering functionality.
Diffstat (limited to 'client/agent.h')
-rw-r--r-- | client/agent.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/client/agent.h b/client/agent.h new file mode 100644 index 00000000..d6eaac9e --- /dev/null +++ b/client/agent.h @@ -0,0 +1,39 @@ +/* + * + * Connection Manager + * + * Copyright (C) 2013 Intel Corporation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#ifndef __CONNMANCTL_AGENT_H +#define __CONNMANCTL_AGENT_H + +#include <dbus/dbus.h> + +#ifdef __cplusplus +extern "C" { +#endif + +int __connmanctl_agent_register(DBusConnection *connection); +int __connmanctl_agent_unregister(DBusConnection *connection); + +#ifdef __cplusplus +} +#endif + +#endif /* __CONNMANCTL_AGENT_H */ |