mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-29 01:33:16 +03:00
0267469306
Memory usage and CSS fixes. svn path=/import/netsurf/; revision=122
25 lines
634 B
C
25 lines
634 B
C
/**
|
|
* $Id: utils.h,v 1.7 2003/04/11 21:06:51 bursa Exp $
|
|
*/
|
|
|
|
#ifndef _NETSURF_UTILS_UTILS_H_
|
|
#define _NETSURF_UTILS_UTILS_H_
|
|
|
|
#include <stdlib.h>
|
|
#include "libxml/encoding.h"
|
|
|
|
void die(const char * const error);
|
|
char * strip(char * const s);
|
|
int whitespace(const char * str);
|
|
void * xcalloc(const size_t n, const size_t size);
|
|
void * xrealloc(void * p, const size_t size);
|
|
void xfree(void* p);
|
|
char * xstrdup(const char * const s);
|
|
char * load(const char * const path);
|
|
char * squash_whitespace(const char * s);
|
|
char * tolat1(xmlChar * s);
|
|
char *squash_tolat1(xmlChar *s);
|
|
char *url_join(const char* new, const char* base);
|
|
|
|
#endif
|