summaryrefslogtreecommitdiffstats
path: root/lib/utils_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils_base.h')
-rw-r--r--lib/utils_base.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/utils_base.h b/lib/utils_base.h
index bda76595..c34f0445 100644
--- a/lib/utils_base.h
+++ b/lib/utils_base.h
@@ -50,4 +50,12 @@ int np_check_if_root(void);
50 * code from the above function, in case it's helpful for testing */ 50 * code from the above function, in case it's helpful for testing */
51int np_warn_if_not_root(void); 51int np_warn_if_not_root(void);
52 52
53/*
54 * Extract the value from key/value pairs, or return NULL. The value returned
55 * can be free()ed.
56 * This function can be used to parse NTP control packet data and performance
57 * data strings.
58 */
59char *np_extract_value(const char*, const char*);
60
53#endif /* _UTILS_BASE_ */ 61#endif /* _UTILS_BASE_ */