summaryrefslogtreecommitdiff
path: root/lib/routemap.h
diff options
context:
space:
mode:
authorpaul <paul>2004-10-11 11:28:44 +0000
committerpaul <paul>2004-10-11 11:28:44 +0000
commitc9eca01b298b83a849a608477f5f5b978a58167e (patch)
treeafd25d986e49e57c73a4d555d4c083ab66d454fa /lib/routemap.h
parent6c83567192ada1a66822c3f35580ce6a85f51ac9 (diff)
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
Diffstat (limited to 'lib/routemap.h')
-rw-r--r--lib/routemap.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/routemap.h b/lib/routemap.h
index 73874d6b..22a2b19d 100644
--- a/lib/routemap.h
+++ b/lib/routemap.h
@@ -81,7 +81,7 @@ struct route_map_rule_cmd
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 @@ void route_map_init_vty ();
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