summaryrefslogtreecommitdiffstats
path: root/jnlib/stringhelp.h
diff options
context:
space:
mode:
Diffstat (limited to 'jnlib/stringhelp.h')
-rw-r--r--jnlib/stringhelp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/jnlib/stringhelp.h b/jnlib/stringhelp.h
index 4c9e66452..405d6dbc4 100644
--- a/jnlib/stringhelp.h
+++ b/jnlib/stringhelp.h
@@ -40,11 +40,17 @@ char *make_dirname(const char *filepath);
char *make_filename( const char *first_part, ... );
int compare_filenames( const char *a, const char *b );
+int hextobyte (const char *s);
+
size_t print_sanitized_buffer (FILE *fp, const void *buffer, size_t length,
int delim);
+size_t print_sanitized_buffer2 (FILE *fp, const void *buffer, size_t length,
+ int delim, int delim2);
size_t print_sanitized_utf8_buffer (FILE *fp, const void *buffer,
size_t length, int delim);
size_t print_sanitized_string (FILE *fp, const char *string, int delim);
+size_t print_sanitized_string2 (FILE *fp, const char *string,
+ int delim, int delim2);
size_t print_sanitized_utf8_string (FILE *fp, const char *string, int delim);
char *sanitize_buffer (const void *p, size_t n, int delim);