David Lamparter
acddc0ed3c
*: auto-convert to SPDX License IDs
...
Done with a combination of regex'ing and banging my head against a wall.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2023-02-09 14:09:11 +01:00
Weiguo Li
71a7567938
lib: Remove invalid function declaration
...
there is no definition of ttable_cell_del(), thus remove its declaration.
Signed-off-by: Weiguo Li <liwg06@foxmail.com>
2022-08-08 17:29:33 +08:00
David Lamparter
2b64873d24
*: generously apply const
...
const const const your boat, merrily down the stream...
Signed-off-by: David Lamparter <equinox@diac24.net>
2019-12-02 15:01:29 +01:00
David Lamparter
afb35622ef
lib: make "%Ld" work for int64_t
...
... without compiler plugins.
Signed-off-by: David Lamparter <equinox@diac24.net>
2019-06-12 19:35:43 +02:00
Renato Westphal
5e2444690b
lib: add extern "C" {} blocks to all libfrr headers
...
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>
2019-02-11 22:34:12 -02:00
whitespace / reindent
d62a17aede
*: reindent
...
indent.py `git ls-files | pcregrep '\.[ch]$' | pcregrep -v '^(ldpd|babeld|nhrpd)/'`
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2017-07-17 14:04:07 +02:00
Quentin Young
fe232cf819
lib: printf bugfixes & improvement
...
* Fix bad format specifier in thread.[ch]
* Move PRINTF_ATTRIBUTE macro to zebra.h
* Use PRINTF_ATTRIBUTE on termtable printers
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2017-06-30 16:18:20 +00:00
Quentin Young
f051edd156
lib: add table generator
...
Allows for easy preparation of tabular output.
Supports:
-- Padding
-- Alignment
-- Styling
2017-06-16 02:02:42 +00:00