1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/Frameworks/libpurple.framework/Versions/0.6.2/Headers/yahoo_auth.h Fri Aug 21 13:25:11 2009 -0700
1.3 @@ -0,0 +1,48 @@
1.4 +/*
1.5 + * yahoo_auth.h: Header for Yahoo Messenger authentication schemes. Eew.
1.6 + *
1.7 + * Copyright(c) 2003 Cerulean Studios
1.8 + *
1.9 + * This program is free software; you can redistribute it and/or modify
1.10 + * it under the terms of the GNU General Public License as published by
1.11 + * the Free Software Foundation; either version 2 of the License, or
1.12 + * (at your option) any later version.
1.13 + *
1.14 + * This program is distributed in the hope that it will be useful,
1.15 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.16 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.17 + * GNU General Public License for more details.
1.18 + *
1.19 + * You should have received a copy of the GNU General Public License
1.20 + * along with this program; if not, write to the Free Software
1.21 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
1.22 + *
1.23 + */
1.24 +
1.25 +#ifndef _YAHOO_AUTH_H_
1.26 +#define _YAHOO_AUTH_H_
1.27 +
1.28 +#define NUM_TYPE_THREES 105
1.29 +#define NUM_TYPE_FOURS 56
1.30 +#define NUM_TYPE_FIVES 37
1.31 +
1.32 +unsigned int yahoo_auth_finalCountdown(unsigned int challenge, int divisor, int inner_loop, int outer_loop);
1.33 +
1.34 +/* We've defined the Yahoo authentication functions as having types 1-5; all take either 1 or 2 arguments.
1.35 + */
1.36 +
1.37 +typedef struct _auth {
1.38 + int type;
1.39 + int var1;
1.40 + int var2;
1.41 +} auth_function_t;
1.42 +
1.43 +/* Type 3, 4 and 5 require lookups into ypager.exe's many static chunks of 256 bytes. Store them here.
1.44 + */
1.45 +
1.46 +struct buffer_t {
1.47 + unsigned int buffer_start;
1.48 + unsigned char buffer[257];
1.49 +};
1.50 +
1.51 +#endif /* _YAHOO_AUTH_H_ */