core compiles, but modules dont... getting there

This commit is contained in:
Fish 2005-09-06 12:58:26 +00:00
parent 1597eadbf4
commit 24bac3fe07
10 changed files with 912 additions and 1251 deletions

View file

@ -171,7 +171,7 @@ typedef struct allocnode {
struct allocnode *next, *back;
} allocnode;
union maxalign {
extern union maxalign {
byte d[1];
struct in_addr ia;
long l;

View file

@ -64,7 +64,7 @@ extern "C" {
# define __export
#endif /* __BORLANDC__ */
FILE *cfg_yyin;
extern FILE *cfg_yyin;

View file

@ -67,6 +67,6 @@ void *ns_dlopen( const char *file, int mode );
int ns_dlclose( void *handle );
char *ns_dlerror( void );
char *ns_dlerrormsg;
extern char *ns_dlerrormsg;
#endif /* _DL_H_ */

View file

@ -35,6 +35,6 @@ int irc_squit( const char *server, const char *quitmsg );
/*int seob_cmd( const char *server );*/
int irc_smo( const char *source, const char *umodetarget, const char *msg );
int (*irc_parse) (void *notused, void *rline, size_t len);
extern int (*irc_parse) (void *notused, void *rline, size_t len);
#endif /* _IRCPROTOCOL_H_ */

View file

@ -54,7 +54,7 @@ struct langdump_struct {
typedef struct langdump_struct langdump;
struct lang_stats {
extern struct lang_stats {
char *lang_list[MAXLANG];
int noofloadedlanguages;
int dbhits[MAXLANG];

View file

@ -32,7 +32,7 @@
/* this is the curl multi handle we use */
CURLM *curlmultihandle;
extern CURLM *curlmultihandle;
@ -66,7 +66,7 @@ typedef struct neo_transfer {
transfer_callback *callback;
} neo_transfer;
list_t *activetransfers;
extern list_t *activetransfers;
int InitCurl( void );

File diff suppressed because it is too large Load diff

View file

@ -51,6 +51,8 @@ extern char *cfg_qstring;
char *cfg_yylval = 0;
FILE *cfg_yyin;
const char confuse_version[] = "2.5";
const char confuse_copyright[] = "LibConfuse by Martin Hedenfalk <mhe@home.se>";
const char confuse_author[] = "Martin Hedenfalk <mhe@home.se>";

View file

@ -51,7 +51,8 @@ static char protocol_path[MAXPATH];
ProtocolInfo *protocol_info;
void *protocol_module_handle;
irc_cmd *cmd_list;
int (*irc_parse) (void *notused, void *rline, size_t len);
/** @brief process_ircd_cmd
*
* process ircd commands

View file

@ -30,6 +30,9 @@
#define MAX_TRANSFERS 10 /* number of curl transfers */
CURLM *curlmultihandle;
list_t *activetransfers;
int InitCurl(void)
{
/* global curl init */