summaryrefslogtreecommitdiffstats
path: root/if.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2015-04-30 10:16:06 +0000
committerRoy Marples <roy@marples.name>2015-04-30 10:16:06 +0000
commit68729f15d95543e1e8bb2ee5fc6b432b4a94bb87 (patch)
tree29b44138a1efee76ebee139ff33328aa9f3c5ea6 /if.h
parentd0038a71ccc51d3add40c92702f3bee4ecb2bb29 (diff)
downloaddhcpcd-68729f15d95543e1e8bb2ee5fc6b432b4a94bb87.tar.xz
Make finding interfaces take an interface list rather than a dhcpcd_ctx.
Diffstat (limited to 'if.h')
-rw-r--r--if.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/if.h b/if.h
index 084b3abb..4efc6364 100644
--- a/if.h
+++ b/if.h
@@ -83,8 +83,8 @@
int if_setflag(struct interface *ifp, short flag);
#define if_up(ifp) if_setflag((ifp), (IFF_UP | IFF_RUNNING))
struct if_head *if_discover(struct dhcpcd_ctx *, int, char * const *);
-struct interface *if_find(struct dhcpcd_ctx *, const char *);
-struct interface *if_findindex(struct dhcpcd_ctx *, unsigned int);
+struct interface *if_find(struct if_head *, const char *);
+struct interface *if_findindex(struct if_head *, unsigned int);
void if_sortinterfaces(struct dhcpcd_ctx *);
void if_free(struct interface *);
int if_domtu(const char *, short int);