From 93715c46a99c96d6c866968312691ec9ab0f6a03 Mon Sep 17 00:00:00 2001 From: jcid Date: Sun, 7 Oct 2007 00:36:34 +0200 Subject: Initial revision --- src/misc.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/misc.h (limited to 'src/misc.h') diff --git a/src/misc.h b/src/misc.h new file mode 100644 index 00000000..71a00b68 --- /dev/null +++ b/src/misc.h @@ -0,0 +1,25 @@ +#ifndef __DILLO_MISC_H__ +#define __DILLO_MISC_H__ + +#include /* for size_t */ + + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + + +char *a_Misc_escape_chars(const char *str, char *esc_set); +char *a_Misc_expand_tabs(const char *str); +int a_Misc_get_content_type_from_data(void *Data, size_t Size,const char **PT); +int a_Misc_content_type_check(const char *EntryType, const char *DetectedType); +int a_Misc_parse_geometry(char *geom, int *x, int *y, int *w, int *h); +char *a_Misc_encode_base64(const char *in); + + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* __DILLO_MISC_H__ */ + -- cgit v1.2.3