nodist_include_HEADERS = version.h
-noinst_HEADERS = driver.h element.h property.h rtnl.h wifi.h \
+noinst_HEADERS = driver.h element.h property.h rtnl.h wifi.h task.h \
dbus.h rfkill.h option.h resolver.h ipconfig.h \
profile.h service.h provider.h
--- /dev/null
+/*
+ *
+ * Connection Manager
+ *
+ * Copyright (C) 2007-2009 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 __CONNMAN_TASK_H
+#define __CONNMAN_TASK_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * SECTION:task
+ * @title: Task premitives
+ * @short_description: Functions for handling tasks
+ */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __CONNMAN_TASK_H */
sbin_PROGRAMS = connmand
connmand_SOURCES = main.c connman.h log.c selftest.c error.c plugin.c \
- element.c device.c network.c connection.c \
+ task.c element.c device.c network.c connection.c \
manager.c profile.c service.c agent.c notifier.c \
provider.c security.c resolver.c ipconfig.c ipv4.c \
storage.c rfkill.c rtnl.c inet.c wifi.c dbus.c
int __connman_plugin_init(const char *pattern, const char *exclude);
void __connman_plugin_cleanup(void);
+#include <connman/task.h>
+
#include <connman/security.h>
int __connman_security_check_privilege(DBusMessage *message,
--- /dev/null
+/*
+ *
+ * Connection Manager
+ *
+ * Copyright (C) 2007-2009 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
+ *
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include "connman.h"