libpurple/protocols/gg/validator.h

Sat, 24 May 2014 02:32:01 +0530

author
Ankit Vani <a@nevitus.org>
date
Sat, 24 May 2014 02:32:01 +0530
branch
soc.2013.gobjectification.plugins
changeset 37148
50f361d39a1e
parent 35305
056b8468d470
child 38854
086e15ec656d
permissions
-rw-r--r--

Merged default branch

/* purple
 *
 * Purple is the legal property of its developers, whose names are too numerous
 * to list here.  Please refer to the COPYRIGHT file distributed with this
 * source distribution.
 *
 * Rewritten from scratch during Google Summer of Code 2012
 * by Tomek Wasilczyk (http://www.wasilczyk.pl).
 *
 * Previously implemented by:
 *  - Arkadiusz Miskiewicz <misiek@pld.org.pl> - first implementation (2001);
 *  - Bartosz Oler <bartosz@bzimage.us> - reimplemented during GSoC 2005;
 *  - Krzysztof Klinikowski <grommasher@gmail.com> - some parts (2009-2011).
 *
 * 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., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
 */

#ifndef _GGP_VALIDATOR_H
#define _GGP_VALIDATOR_H

#include <internal.h>
#include <request.h>

#if 0
/* see account.h */
gboolean ggp_validator_token(PurpleRequestField *field, gchar **errmsg,
	void *token);
#endif

gboolean ggp_validator_password(PurpleRequestField *field, gchar **errmsg,
	void *user_data);

gboolean ggp_validator_password_equal(PurpleRequestField *field, gchar **errmsg,
	void *field2);

#endif /* _GGP_VALIDATOR_H */

mercurial