mirror_frr/bgpd/rfapi
Quentin Young 7e045c3d42 *: use ->text and strmatch where appropriate
Still need to go fix all the places where we do a 1-char strncmp...

spatch follows
------------------

@asdf@
expression idx;
@@
<...
 strcmp (
- argv[idx]->arg,
+ argv[idx]->text,
  ...)
...>

@depends on asdf@
expression idx;
@@
<...
- !strcmp (argv[idx]->text,
+ strmatch (argv[idx]->text,
           ...)
...>

@depends on asdf@
expression idx;
expression arg;
@@
<...
- strcmp (argv[idx]->text, arg) == 0
+ strmatch (argv[idx]->text, arg)
...>

@depends on asdf@
expression idx;
expression arg;
@@
<...
- strcmp (argv[idx]->text, arg) != 0
+ !strmatch (argv[idx]->text, arg)
...>

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2017-06-27 17:46:42 +00:00
..
.gitignore some rfapi compile fixes 2016-10-05 20:54:55 +00:00
bgp_rfapi_cfg.c *: use ->text and strmatch where appropriate 2017-06-27 17:46:42 +00:00
bgp_rfapi_cfg.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
rfapi_ap.c *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
rfapi_ap.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
rfapi_backend.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
rfapi_descriptor_rfp_utils.c *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
rfapi_descriptor_rfp_utils.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
rfapi_encap_tlv.c *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
rfapi_encap_tlv.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
rfapi_import.c *: simplify log message lookup 2017-06-21 15:22:21 +00:00
rfapi_import.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
rfapi_monitor.c *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
rfapi_monitor.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
rfapi_nve_addr.c *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
rfapi_nve_addr.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
rfapi_private.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
rfapi_rib.c *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
rfapi_rib.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
rfapi_vty.c *: use ->text and strmatch where appropriate 2017-06-27 17:46:42 +00:00
rfapi_vty.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
rfapi.c *: use ->text and strmatch where appropriate 2017-06-27 17:46:42 +00:00
rfapi.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
vnc_debug.c *: use ->text and strmatch where appropriate 2017-06-27 17:46:42 +00:00
vnc_debug.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
vnc_export_bgp_p.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
vnc_export_bgp.c *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
vnc_export_bgp.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
vnc_export_table.c *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
vnc_export_table.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
vnc_import_bgp_p.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
vnc_import_bgp.c *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
vnc_import_bgp.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
vnc_zebra.c *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
vnc_zebra.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00