Mercurial > dillo_port1.3
view src/misc.h @ 1958:7860a3051241
Fix for endless loop with META refresh and same URL or no URL at all
author | Jorge Arellano Cid <jcid@dillo.org> |
---|---|
date | Fri, 15 Apr 2011 14:08:53 -0300 |
parents | 328111d18d57 |
children | aac29835ca8c |
line wrap: on
line source
#ifndef __DILLO_MISC_H__ #define __DILLO_MISC_H__ #include <stddef.h> /* for size_t */ #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ char *a_Misc_escape_chars(const char *str, const char *esc_set); int a_Misc_expand_tabs(char **start, char *end, char *buf, int buflen); 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); void a_Misc_parse_content_type(const char *str, char **major, char **minor, char **charset); int a_Misc_content_type_cmp(const char* ct1, const char *ct2); int a_Misc_parse_geometry(char *geom, int *x, int *y, int *w, int *h); char *a_Misc_encode_base64(const char *in); Dstr *a_Misc_file2dstr(const char *filename); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __DILLO_MISC_H__ */