diff options
Diffstat (limited to 'lib/if.h')
-rw-r--r-- | lib/if.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -183,12 +183,12 @@ struct connected /* Prototypes. */ int if_cmp_func (struct interface *, struct interface *); struct interface *if_new (void); -struct interface *if_create (char *name, int namelen); +struct interface *if_create (const char *name, int namelen); struct interface *if_lookup_by_index (unsigned int); -struct interface *if_lookup_by_name (char *); +struct interface *if_lookup_by_name (const char *); struct interface *if_lookup_exact_address (struct in_addr); struct interface *if_lookup_address (struct in_addr); -struct interface *if_get_by_name (char *); +struct interface *if_get_by_name (const char *); void if_delete (struct interface *); int if_is_up (struct interface *); int if_is_running (struct interface *); |