summaryrefslogtreecommitdiffstats
path: root/src/include/abrtlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/abrtlib.h')
-rw-r--r--src/include/abrtlib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/abrtlib.h b/src/include/abrtlib.h
index 0eb0f2d0..2e23805a 100644
--- a/src/include/abrtlib.h
+++ b/src/include/abrtlib.h
@@ -233,6 +233,11 @@ double get_dirsize_find_largest_dir(
const char *excluded /* can be NULL */
);
+/* Emit a string of hex representation of bytes */
+char* bin2hex(char *dst, const char *str, int count);
+/* Convert "xxxxxxxx" hex string to binary, no more than COUNT bytes */
+char* hex2bin(char *dst, const char *str, int count);
+
/* Returns command line of running program.
* Caller is responsible to free() the returned value.
* If the pid is not valid or command line can not be obtained,