summaryrefslogtreecommitdiff
path: root/lib/workqueue.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-05-23 11:08:39 +0300
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-06-09 08:28:38 -0400
commit855110bb0b6f762ebaffa0be64a1422d8d007510 (patch)
treee31269cc43fc596ccd609c50afa16617f1b9b01f /lib/workqueue.c
parent40ee54a7404cc3c3779f6d7bed57f5c7a06aecf5 (diff)
lib: make prefix2str simpler to use, and use it in zclient
Returning the buffer allows using it in the logging functions in easier way. This also makes the API consistent with sockunion. Add also PREFIX_STRLEN to be the generic buffer length required for any prefix string representation. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: David Lamparter <equinox@opensourcerouting.org> (cherry picked from commit 41eb9a4305fbcb206c900a18af7df7115d857d60)
Diffstat (limited to 'lib/workqueue.c')
0 files changed, 0 insertions, 0 deletions