view src/protocols/msn/utils.h @ 7896:4294afe670ad

[gaim-migrate @ 8556] Since the channel topic and the on-join message aren't enough to get people to read the FAQ, maybe it will help if they see this message before they ever come to see us. I'm not expecting anything, though... The average person has to be exposed to a piece of information seven times before reliably recalling it, and MSN users don't seem to be what I would call "average". committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Sat, 20 Dec 2003 19:36:14 +0000
parents 67f9b43c402a
children 06f57183e29f
line wrap: on
line source

/**
 * @file utils.h Utility functions
 *
 * gaim
 *
 * Copyright (C) 2003 Christian Hammond <chipx86@gnupdate.org>
 *
 * 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.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
#ifndef _MSN_UTILS_H_
#define _MSN_UTILS_H_

/**
 * Parses the MSN message formatting into a format compatible with Gaim.
 *
 * @param mime     The mime header with the formatting.
 * @param pre_ret  The returned prefix string.
 * @param post_ret The returned postfix string.
 *
 * @return The new message.
 */
void msn_parse_format(const char *mime, char **pre_ret, char **post_ret);

#endif /* _MSN_UTILS_H_ */