Frameworks/libpurple.framework/Versions/0.5.6/Headers/pecan_util.h
branchadium-1.3
changeset 350 708bedafdc3a
parent 349 17ef128722b7
child 351 b01ab9b157f9
     1.1 --- a/Frameworks/libpurple.framework/Versions/0.5.6/Headers/pecan_util.h	Sun Jun 21 22:04:11 2009 -0400
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,70 +0,0 @@
     1.4 -/**
     1.5 - * Copyright (C) 2007-2008 Felipe Contreras
     1.6 - *
     1.7 - * Purple is the legal property of its developers, whose names are too numerous
     1.8 - * to list here.  Please refer to the COPYRIGHT file distributed with this
     1.9 - * source distribution.
    1.10 - *
    1.11 - * This program is free software; you can redistribute it and/or modify
    1.12 - * it under the terms of the GNU General Public License as published by
    1.13 - * the Free Software Foundation; either version 2 of the License, or
    1.14 - * (at your option) any later version.
    1.15 - *
    1.16 - * This program is distributed in the hope that it will be useful,
    1.17 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.19 - * GNU General Public License for more details.
    1.20 - *
    1.21 - * You should have received a copy of the GNU General Public License
    1.22 - * along with this program; if not, write to the Free Software
    1.23 - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
    1.24 - */
    1.25 -
    1.26 -#ifndef PECAN_UTIL_H
    1.27 -#define PECAN_UTIL_H
    1.28 -
    1.29 -#include <glib.h>
    1.30 -
    1.31 -gchar *pecan_url_decode (const gchar *url);
    1.32 -
    1.33 -/**
    1.34 - * Parses the MSN message formatting into a format compatible with Purple.
    1.35 - *
    1.36 - * @param mime     The mime header with the formatting.
    1.37 - * @param pre_ret  The returned prefix string.
    1.38 - * @param post_ret The returned postfix string.
    1.39 - *
    1.40 - * @return The new message.
    1.41 - */
    1.42 -void msn_parse_format(const char *mime, char **pre_ret, char **post_ret);
    1.43 -
    1.44 -/**
    1.45 - * Parses the Purple message formatting (html) into the MSN format.
    1.46 - *
    1.47 - * @param html			The html message to format.
    1.48 - * @param attributes	The returned attributes string.
    1.49 - * @param message		The returned message string.
    1.50 - *
    1.51 - * @return The new message.
    1.52 - */
    1.53 -void msn_import_html(const char *html, char **attributes, char **message);
    1.54 -
    1.55 -void
    1.56 -pecan_handle_challenge (const gchar *input,
    1.57 -                        const gchar *product_id,
    1.58 -                        gchar *output);
    1.59 -
    1.60 -void msn_parse_socket(const char *str, char **ret_host, int *ret_port);
    1.61 -char *msn_rand_guid(void);
    1.62 -gchar *pecan_normalize (const gchar *str);
    1.63 -
    1.64 -#if !GLIB_CHECK_VERSION(2,12,0)
    1.65 -void g_hash_table_remove_all (GHashTable *hash_table);
    1.66 -#endif /* !GLIB_CHECK_VERSION(2,12,0) */
    1.67 -gpointer g_hash_table_peek_first (GHashTable *hash_table);
    1.68 -gboolean g_ascii_strcase_equal (gconstpointer v1, gconstpointer v2);
    1.69 -guint g_ascii_strcase_hash (gconstpointer v);
    1.70 -
    1.71 -gchar *pecan_get_xml_field (const gchar *tag, const gchar *start, const gchar *end);
    1.72 -
    1.73 -#endif /* PECAN_UTIL_H */