summaryrefslogtreecommitdiff
path: root/include/technology.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-07-15 10:05:55 -0700
committerMarcel Holtmann <marcel@holtmann.org>2010-07-15 10:05:55 -0700
commit54c3ca35ef4601a5068b7cae464197648d6918dc (patch)
treeeb63fef9a479e9afad00d8e492cd7b6f44936516 /include/technology.h
parentcd145e6119b67833c68e618dd668a02f828fbadf (diff)
downloadconnman-54c3ca35ef4601a5068b7cae464197648d6918dc.tar.gz
connman-54c3ca35ef4601a5068b7cae464197648d6918dc.tar.bz2
connman-54c3ca35ef4601a5068b7cae464197648d6918dc.zip
Add technology driver callbacks for adding/removing interfaces
Diffstat (limited to 'include/technology.h')
-rw-r--r--include/technology.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/technology.h b/include/technology.h
index 7638454b..256a2eb5 100644
--- a/include/technology.h
+++ b/include/technology.h
@@ -42,6 +42,10 @@ struct connman_technology_driver {
int priority;
int (*probe) (struct connman_technology *technology);
void (*remove) (struct connman_technology *technology);
+ void (*add_interface) (struct connman_technology *technology,
+ int index, const char *name);
+ void (*remove_interface) (struct connman_technology *technology,
+ int index);
int (*set_tethering) (struct connman_technology *technology,
connman_bool_t enabled);
};