summaryrefslogtreecommitdiff
path: root/vpn/vpn-agent.h
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2012-11-30 11:30:38 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-11-30 15:01:18 +0200
commita77919a94541af7094eed38d7245583caf6e6ccf (patch)
treeb5b8714004744712c0b74741b1f14bce3d13e896 /vpn/vpn-agent.h
parent75ee7a107b39753510bdf4692fd32d4754e9746f (diff)
downloadconnman-a77919a94541af7094eed38d7245583caf6e6ccf.tar.gz
connman-a77919a94541af7094eed38d7245583caf6e6ccf.tar.bz2
connman-a77919a94541af7094eed38d7245583caf6e6ccf.zip
vpn-agent: Add generic functions to add information into agent dict
Diffstat (limited to 'vpn/vpn-agent.h')
-rw-r--r--vpn/vpn-agent.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/vpn/vpn-agent.h b/vpn/vpn-agent.h
new file mode 100644
index 00000000..41b7f8c2
--- /dev/null
+++ b/vpn/vpn-agent.h
@@ -0,0 +1,43 @@
+/*
+ *
+ * ConnMan VPN daemon
+ *
+ * Copyright (C) 2012 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 version 2 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.
+ *
+ * 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 __VPN_AGENT_H
+#define __VPN_AGENT_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * SECTION:agent
+ * @title: Agent premitives
+ * @short_description: Functions for interaction with agent
+ */
+
+void vpn_agent_append_host_and_name(DBusMessageIter *iter,
+ struct vpn_provider *provider);
+connman_bool_t vpn_agent_check_reply_has_dict(DBusMessage *reply);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __VPN_AGENT_H */