summaryrefslogtreecommitdiffstats
path: root/lib/frrstr.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* lib: Fix so that `--enable-pcreposix` actually compilesDonald Sharp2020-02-161-0/+5
| | | | | | | | The `--enable-pcreposix` configure option was not actually compiling properly. Follow pre-existing pattern for inclusion of regex.h or the pcreposix.h header. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* lib: replace begins_with, add frrstr_endswithQuentin Young2019-05-231-2/+17
| | | | | | | | * Change 'begins_with' to 'frrstr_startswith' for consistency * Add suffix checker, frrstr_endswith() * Update vtysh to use the new function Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* lib: add string replace functionQuentin Young2019-05-071-0/+22
| | | | Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* lib: add extern "C" {} blocks to all libfrr headersRenato Westphal2019-02-121-0/+8
| | | | | | | These are necessary to use functions defined in these headers from C++. Signed-off-by: David Lamparter <equinox@diac24.net> Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* bgpd, lib, ospfd, zebra: all_digit moved to frrstrpaco2018-06-191-0/+11
| | | | | | This solves a pending FIXME Signed-off-by: F. Aragon <paco@voltanet.io>
* vtysh: add | supportQuentin Young2018-06-061-0/+14
| | | | | | | | | | | * Rewrite pager implementation * Replace fprintf() with vty_out() * Modify vty_out() for better vtysh support * Remove static global outputfile var * Remove fp argument from many vtysh functions * Add some docs for stuff along the way Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* lib: add string utilitiesQuentin Young2018-06-061-0/+86
I see lots of the same code being copy-pasted and slightly tweaked for string processing all over the codebase. Time to start aggregating these pieces into something consistent and correct. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>