]> pilppa.org Git - libplp.git/blobdiff - src/str_util.h
api fixes and cleanups
[libplp.git] / src / str_util.h
index 2a1a599b5ae5c8b25baaef0a08afe9767de12c6b..b73da8a43c0cca8f182f0bd27861eb527ee23527 100644 (file)
@@ -8,6 +8,16 @@
 #ifndef STR_UTIL_H_
 #define STR_UTIL_H_
 
+#include <stdbool.h>
+
+#ifdef __cplusplus
+extern "C"
+#endif
 char *get_as_hex_str(const char *byte_arr, int byte_count);
 
+#ifdef __cplusplus
+extern "C"
+#endif
+bool parse_long(const char *str, long *result);
+
 #endif /* STR_UTIL_H_ */