aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/yahoo/yahoo_fn.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-07-24 15:29:48 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2010-07-24 15:29:48 +0200
commitc8791f25459aeb32f770c46bd3a3613c9fd2d0e2 (patch)
tree6fb660cf39c58f3d880d4db7466391fdff169811 /protocols/yahoo/yahoo_fn.h
parent938c30512f4dac4f084fd6bb8b7f41655de9bce4 (diff)
parentc495217e7c02c908d831645b033cf115ccdc3d6d (diff)
Merging libyahoo2 fixes. Now completely up-to-date with libyahoo2 svn
again, should try to keep it up a little bit better and submit my fixes upstream. This also adds code for Yahoo! file transfers but BitlBee isn't using it yet. (It doesn't seem to support flow control which makes this complicated.)
Diffstat (limited to 'protocols/yahoo/yahoo_fn.h')
-rw-r--r--protocols/yahoo/yahoo_fn.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/protocols/yahoo/yahoo_fn.h b/protocols/yahoo/yahoo_fn.h
index 3f79f524..5400e5d0 100644
--- a/protocols/yahoo/yahoo_fn.h
+++ b/protocols/yahoo/yahoo_fn.h
@@ -18,16 +18,15 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#define IDENT 1 /* identify function */
-#define XOR 2 /* xor with arg1 */
-#define MULADD 3 /* multipy by arg1 then add arg2 */
-#define LOOKUP 4 /* lookup each byte in the table pointed to by arg1 */
-#define BITFLD 5 /* reorder bits according to table pointed to by arg1 */
+#define IDENT 1 /* identify function */
+#define XOR 2 /* xor with arg1 */
+#define MULADD 3 /* multipy by arg1 then add arg2 */
+#define LOOKUP 4 /* lookup each byte in the table pointed to by arg1 */
+#define BITFLD 5 /* reorder bits according to table pointed to by arg1 */
-struct yahoo_fn
-{
- int type;
+struct yahoo_fn {
+ int type;
long arg1, arg2;
};
-int yahoo_xfrm( int table, int depth, int seed );
+int yahoo_xfrm(int table, int depth, int seed);