~ubuntu-branches/ubuntu/saucy/kopete/saucy-proposed

« back to all changes in this revision

Viewing changes to protocols/yahoo/libkyahoo/yahoo_fn.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-06-21 02:22:39 UTC
  • Revision ID: package-import@ubuntu.com-20130621022239-63l3zc8p0nf26pt6
Tags: upstream-4.10.80
ImportĀ upstreamĀ versionĀ 4.10.80

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * gaim
 
3
 *
 
4
 * Copyright (C) 2003
 
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., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 
19
 */
 
20
 
 
21
#ifndef YAHOO_FN_H
 
22
#define YAHOO_FN_H
 
23
 
 
24
#define IDENT  1 /* identify function */
 
25
#define XOR    2 /* xor with arg1 */
 
26
#define MULADD 3 /* multipy by arg1 then add arg2 */
 
27
#define LOOKUP 4 /* lookup each byte in the table pointed to by arg1 */
 
28
#define BITFLD 5 /* reorder bits according to table pointed to by arg1 */
 
29
 
 
30
struct yahoo_fn
 
31
{
 
32
        int type; 
 
33
        long arg1, arg2;
 
34
};
 
35
 
 
36
int yahoo_xfrm( int table, int depth, int seed );
 
37
 
 
38
#endif /* YAHOO_FN_H */
 
39