diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-12-28 06:18:29 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-12-28 06:18:29 +0100 |
commit | 2e2686dc1b229252fae150bfe97d1c3010563eb9 (patch) | |
tree | bdfbf3e4896a8cce952e6b154c393d164a8b89ef /plugins/inet.h | |
parent | b972ec96236afc662b21ace09d6adaa29d222411 (diff) | |
download | connman-2e2686dc1b229252fae150bfe97d1c3010563eb9.tar.gz connman-2e2686dc1b229252fae150bfe97d1c3010563eb9.tar.bz2 connman-2e2686dc1b229252fae150bfe97d1c3010563eb9.zip |
Add helper for getting index from interface names
Diffstat (limited to 'plugins/inet.h')
-rw-r--r-- | plugins/inet.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/inet.h b/plugins/inet.h index 3246cc13..23437ac5 100644 --- a/plugins/inet.h +++ b/plugins/inet.h @@ -19,6 +19,8 @@ * */ +int inet_name2index(const char *name); + char *inet_index2name(int index); char *inet_index2ident(int index, const char *prefix); |