summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-11-13 07:40:43 +0900
committerMarcel Holtmann <marcel@holtmann.org>2010-11-13 07:40:43 +0900
commitffd2b546e5eea2b361791bbe9062f1baf8530c35 (patch)
treef612eb719c20ed9f46cd62569110f68601be0cda /include
parent1e302beda2c393b0a19a1a528a742ddef50a8a0b (diff)
downloadconnman-ffd2b546e5eea2b361791bbe9062f1baf8530c35.tar.gz
connman-ffd2b546e5eea2b361791bbe9062f1baf8530c35.tar.bz2
connman-ffd2b546e5eea2b361791bbe9062f1baf8530c35.zip
Use a proper technology callback to report Tethering status
Diffstat (limited to 'include')
-rw-r--r--include/technology.h3
-rw-r--r--include/tethering.h28
2 files changed, 3 insertions, 28 deletions
diff --git a/include/technology.h b/include/technology.h
index dcab267a..7471a53c 100644
--- a/include/technology.h
+++ b/include/technology.h
@@ -36,6 +36,9 @@ extern "C" {
struct connman_technology;
+void connman_technology_tethering_notify(struct connman_technology *technology,
+ connman_bool_t enabled);
+
struct connman_technology_driver {
const char *name;
enum connman_service_type type;
diff --git a/include/tethering.h b/include/tethering.h
deleted file mode 100644
index 63f4f68c..00000000
--- a/include/tethering.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- *
- * Connection Manager
- *
- * Copyright (C) 2007-2010 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_TETHERING_H
-#define __CONNMAN_TETHERING_H
-
-void connman_tethering_enabled(void);
-void connman_tethering_disabled(void);
-
-#endif