Files
bitchx/dll/arcfour/arcfour.h
Kevin Easton 2c94010d65 Update arcfour example module to use exported dcc_chat_socketread() callback
This allows it to actually connect OK, but it's still nonfunctional at the moment.
2017-12-20 18:10:02 +11:00

15 lines
502 B
C

typedef unsigned char arcword; /* 8-bit groups */
typedef struct {
arcword state[256], i, j;
} arckey;
/* Prototypes */
static inline void arcfourInit(arckey *, void *, unsigned short);
static inline char *arcfourCrypt(arckey *, char *, int);
static int send_dcc_encrypt (int, int, char *, int);
static int dcc_schat_input (int, int, char *, int, int);
static int start_dcc_crypt (int, int, unsigned long, int);
static int end_dcc_crypt (int, unsigned long, int);
void dcc_sdcc (char *, char *);