summaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2003-11-11 00:22:24 +0000
committerLennart Poettering <lennart@poettering.net>2003-11-11 00:22:24 +0000
commit1049edd1d1cacb85e8b4fc9daa91a434f2372f0b (patch)
treef89125f6652a4a973935a3f6115815ac01961731 /src/util.h
parentb64bdc2df8baf69cb9f4086119095c3879f60449 (diff)
adhoc mode
git-svn-id: file:///home/lennart/svn/public/waproamd/trunk@44 022f378f-78c4-0310-b860-d162c87e6274
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/util.h b/src/util.h
index fc7805b..13a13a0 100644
--- a/src/util.h
+++ b/src/util.h
@@ -42,9 +42,10 @@ void print_hex(FILE *f, uint8_t *w, int l);
void print_hw_addr(FILE*f, struct hw_addr *a);
void snprint_hw_addr(char *c, int l, struct hw_addr *a);
int parse_hex(char *s, uint8_t *b, int l);
-int hw_addr_equal(struct hw_addr *a, struct hw_addr *b);
-int is_assoc_ap(struct hw_addr *ap);
+int hw_addr_equal(const struct hw_addr *a, const struct hw_addr *b);
+int is_assoc_ap(const struct hw_addr *ap);
int get_ifname(int idx, char *p, int l);
-int is_iface_available(char *p);
+int is_iface_available(const char *p);
+const char* escape_essid(const char *s);
#endif