/* * Copyright (C) 2006 Alberto GarcĂ­a Hierro * * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. */ #ifndef UTILS_H #define UTILS_H #include #include "sqlitex.h" gboolean has_db_table (sqlite *db, const gchar *name); /* Escape the string STRING for inclusion in a URI. */ extern char *uri_escape_string (const char *string); /* Return a string based on STRING with special html characters (&<>) escaped. This function assumes ownership of STRING!!! */ extern char *html_escape_string (char *string); #endif