Far-reaching changes to make BitchX compatible with 64 bit architectures

like x86-64, where sizeof(int) != sizeof (void *).  This involves correctly
casting every function pointer from the global table to the correct
function type, which has the added benefit of allowing type-checking of
function arguments and return values.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@26 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2008-04-30 13:57:56 +00:00
parent 7eac4a00ce
commit 3de93b1dbc
34 changed files with 660 additions and 710 deletions

View File

@@ -113,22 +113,20 @@
#define DCC_STATES 0xffffff00
#define DCC_COMMAND(x) void x (char *command, char *args)
int check_dcc_list (char *);
int dcc_exempt_save (FILE *);
DCC_COMMAND(BX_dcc_filesend);
DCC_COMMAND(BX_dcc_resend);
DCC_COMMAND(dcc_stats);
DCC_COMMAND(dcc_chat);
DCC_COMMAND(dcc_ftpopen);
DCC_COMMAND(dcc_glist);
DCC_COMMAND(dcc_chatbot);
DCC_COMMAND(dcc_resume);
DCC_COMMAND(dcc_rename);
void BX_dcc_filesend(char *, char *);
void BX_dcc_resend(char *, char *);
void dcc_stats(char *, char *);
void dcc_chat(char *, char *);
void dcc_ftpopen(char *, char *);
void dcc_glist(char *, char *);
void dcc_chatbot(char *, char *);
void dcc_resume(char *, char *);
void dcc_rename(char *, char *);
int BX_get_active_count();
int BX_get_active_count(void);
int dcc_ftpcommand(char *, char *);
void process_dcc(char *);
int dcc_activechat(char *); /* identify all active chat dcc's */