source: protocols/yahoo/yahoo_fn.h @ 31c28a4

Last change on this file since 31c28a4 was c36f73b, checked in by Wilmer van der Gaast <wilmer@…>, at 2010-07-23T14:35:45Z

This should mostly be a no-op, merging *loads* of whitespace changes from
libyahoo2 so that I can see better what really changed.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/*
2 * libyahoo2 - originally from gaim patches by Amatus
3 *
4 * Copyright (C) 2003-2004
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19 */
20
21#define IDENT  1                /* identify function */
22#define XOR    2                /* xor with arg1 */
23#define MULADD 3                /* multipy by arg1 then add arg2 */
24#define LOOKUP 4                /* lookup each byte in the table pointed to by arg1 */
25#define BITFLD 5                /* reorder bits according to table pointed to by arg1 */
26
27struct yahoo_fn {
28        int type;
29        long arg1, arg2;
30};
31
32int yahoo_xfrm(int table, int depth, int seed);
Note: See TracBrowser for help on using the repository browser.