summaryrefslogtreecommitdiffstats
path: root/lib/routemap.h
diff options
context:
space:
mode:
authorhasso <hasso>2004-10-08 06:29:12 +0000
committerhasso <hasso>2004-10-08 06:29:12 +0000
commit9178d1b3122e789af2f9fac429f8410f9be050a3 (patch)
treec81d63dcf0e534154c52788791a577ac9121744e /lib/routemap.h
parent2ace927de30fd50b590f4bfce960e6df73da0da3 (diff)
downloadquagga-9178d1b3122e789af2f9fac429f8410f9be050a3.tar.bz2
quagga-9178d1b3122e789af2f9fac429f8410f9be050a3.tar.xz
More const strings.
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 4fd9e5e9..a6f3c5db 100644
--- a/lib/routemap.h
+++ b/lib/routemap.h
@@ -74,7 +74,7 @@ typedef enum
struct route_map_rule_cmd
{
/* Route map rule name (e.g. as-path, metric) */
- char *str;
+ const char *str;
/* Function for value set or match. */
route_map_result_t (*func_apply)(void *, struct prefix *,
@@ -155,24 +155,24 @@ void route_map_init_vty ();
/* Add match statement to route map. */
int
route_map_add_match (struct route_map_index *index,
- char *match_name,
+ const char *match_name,
char *match_arg);
/* Delete specified route match rule. */
int
route_map_delete_match (struct route_map_index *index,
- char *match_name,
+ const char *match_name,
char *match_arg);
/* Add route-map set statement to the route map. */
int
route_map_add_set (struct route_map_index *index,
- char *set_name,
+ const char *set_name,
char *set_arg);
/* Delete route map set rule. */
int
-route_map_delete_set (struct route_map_index *index, char *set_name,
+route_map_delete_set (struct route_map_index *index, const char *set_name,
char *set_arg);
/* Install rule command to the match list. */