2004-10-11 Paul Jakma <paul@dishone.st>
* if.h: mtu's should be unsigned.
* routemap.{c,h}: const char updates
* smux.{c,h}: ditto
diff --git a/lib/routemap.h b/lib/routemap.h
index 73874d6..22a2b19 100644
--- a/lib/routemap.h
+++ b/lib/routemap.h
@@ -81,7 +81,7 @@
route_map_object_t, void *);
/* Compile argument and return result as void *. */
- void *(*func_compile)(char *);
+ void *(*func_compile)(const char *);
/* Free allocated value by func_compile (). */
void (*func_free)(void *);
@@ -156,24 +156,24 @@
int
route_map_add_match (struct route_map_index *index,
const char *match_name,
- char *match_arg);
+ const char *match_arg);
/* Delete specified route match rule. */
int
route_map_delete_match (struct route_map_index *index,
const char *match_name,
- char *match_arg);
+ const char *match_arg);
/* Add route-map set statement to the route map. */
int
route_map_add_set (struct route_map_index *index,
const char *set_name,
- char *set_arg);
+ const char *set_arg);
/* Delete route map set rule. */
int
route_map_delete_set (struct route_map_index *index, const char *set_name,
- char *set_arg);
+ const char *set_arg);
/* Install rule command to the match list. */
void