diff options
Diffstat (limited to 'utils/utils.h')
-rw-r--r-- | utils/utils.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/utils/utils.h b/utils/utils.h new file mode 100644 index 0000000..7f52acf --- /dev/null +++ b/utils/utils.h @@ -0,0 +1,23 @@ +/* + * This file is part of NetSurf, http://netsurf.sourceforge.net/ + * Licensed under the GNU General Public License, + * http://www.opensource.org/licenses/gpl-license + * Copyright 2004 James Bursa <bursa@users.sourceforge.net> + * Copyright 2004 John Tytgat <John.Tytgat@aaug.net> + */ + +#ifndef _NETSURF_UTILS_UTILS_H_ +#define _NETSURF_UTILS_UTILS_H_ + +#include <stdbool.h> +#include <stddef.h> +#include <stdlib.h> +#include <sys/types.h> +#include <regex.h> +#include "libxml/encoding.h" + +void die(const char * const error); +bool is_dir(const char *path); +void warn_user(const char *warning, const char *detail); + +#endif |