diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2011-02-15 15:51:50 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-02-15 18:05:32 +0100 |
commit | cbf458e59413a3016206d958b1be63a24ca6cc57 (patch) | |
tree | 85b2e3c662d0c13a1902493263bc6ff181848a26 /src/rtnl.c | |
parent | a1530efdb8f9da676ff3edaa6cc848dd40524333 (diff) | |
download | connman-cbf458e59413a3016206d958b1be63a24ca6cc57.tar.gz connman-cbf458e59413a3016206d958b1be63a24ca6cc57.tar.bz2 connman-cbf458e59413a3016206d958b1be63a24ca6cc57.zip |
ipconfig: Rename __connman_ipconfig_get_*(index)
To avoid a name clash with the next patch, the
__connman_ipconfig_get_*(index) have to be renamed.
Since they all use an index as lookup argument rename
them to __connman_ipconfig_get_*_from_index(index).
Diffstat (limited to 'src/rtnl.c')
-rw-r--r-- | src/rtnl.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -243,7 +243,7 @@ unsigned int connman_rtnl_add_newlink_watch(int index, DBG("id %d", watch->id); if (callback) { - unsigned int flags = __connman_ipconfig_get_flags(index); + unsigned int flags = __connman_ipconfig_get_flags_from_index(index); if (flags > 0) callback(flags, 0, user_data); @@ -283,14 +283,14 @@ static void trigger_rtnl(int index, void *user_data) struct connman_rtnl *rtnl = user_data; if (rtnl->newlink) { - unsigned short type = __connman_ipconfig_get_type(index); - unsigned int flags = __connman_ipconfig_get_flags(index); + unsigned short type = __connman_ipconfig_get_type_from_index(index); + unsigned int flags = __connman_ipconfig_get_flags_from_index(index); rtnl->newlink(type, index, flags, 0); } if (rtnl->newgateway) { - const char *gateway = __connman_ipconfig_get_gateway(index); + const char *gateway = __connman_ipconfig_get_gateway_from_index(index); if (gateway != NULL) rtnl->newgateway(index, gateway); |