comparison libpurple/protocols/myspace/markup.h @ 19434:1e00b684c46f

In msimprpl, move formatting functions to a markup module. It only exposes two functions to convert between MySpaceIM markup and Purple HTML markup.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Sun, 26 Aug 2007 06:51:17 +0000
parents
children 44b4e8bd759b 36ba89a2b7da
comparison
equal deleted inserted replaced
19433:9a1b28a10c95 19434:1e00b684c46f
1 /* MySpaceIM Protocol Plugin - markup
2 *
3 * Copyright (C) 2007, Jeff Connelly <jeff2@soc.pidgin.im>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */
19
20 #ifndef _MYSPACE_MARKUP_H
21 #define _MYSPACE_MARKUP_H
22
23 /* High-level msim markup <=> Purple html conversion functions. */
24 gchar *msim_markup_to_html(MsimSession *, const gchar *raw);
25 gchar *html_to_msim_markup(MsimSession *, const gchar *raw);
26
27 #endif /* !_MYSPACE_MARKUP_H */