1 /* $Id: oscar_snac.h 2516 2008-03-04 22:53:59Z kuhlmann $ */ 2 3 #ifndef CLIMM_OSCAR_SNAC_H 4 #define CLIMM_OSCAR_SNAC_H 5 6 void SnacCallback (Event *event); 7 const char *SnacName (UWORD fam, UWORD cmd); 8 void SnacPrint (Packet *pak); 9 10 typedef void (jump_snac_f)(Event *); 11 typedef struct { UWORD fam; UWORD cmd; const char *name; jump_snac_f *f; } SNAC; 12 #define JUMP_SNAC_F(f) void f (Event *event) 13 #define SnacSend FlapSend 14 void SnacSendR (Server *serv, Packet *pak, jump_snac_f *f, void *data); 15 16 Packet *SnacC (Server *serv, UWORD fam, UWORD cmd, UWORD flags, UDWORD ref); 17 jump_snac_f SnacSrvUnknown; 18 19 #endif 20