ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/include/modules.h
(Generate patch)

Comparing:
ircd-hybrid-8/include/modules.h (file contents), Revision 1231 by michael, Thu Sep 22 19:50:51 2011 UTC vs.
ircd-hybrid/trunk/include/modules.h (file contents), Revision 1592 by michael, Sat Oct 27 21:02:32 2012 UTC

# Line 26 | Line 26
26   #define INCLUDED_modules_h
27  
28   #include "config.h"
29 – #include "parse.h"
29  
31 – #include "ircd_handler.h"
32 – #include "msg.h"
33 – #include "memory.h"
30  
31 <
32 < #define MODULE_FLAG_CORE 0x1
31 > #define MODULE_FLAG_CORE     0x1
32 > #define MODULE_FLAG_NOUNLOAD 0x2
33  
34   struct module
35   {
# Line 52 | Line 48 | struct module_path
48    char path[PATH_MAX + 1];
49   };
50  
51 < extern dlink_list mod_list;
51 > extern dlink_list modules_list;
52  
53   /* add a path */
54   extern void mod_add_path(const char *);
# Line 68 | Line 64 | extern void load_core_modules(int);
64   extern void add_conf_module(const char *);
65   /* load all modules listed in conf */
66   extern void load_conf_modules(void);
67 + extern void modules_init(void);
68  
72 – extern void _modinit(void);
73 – extern void _moddeinit(void);
74 –
75 – extern void dynlink_init(void);
69   extern int unload_one_module(const char *, int);
70   extern int modules_valid_suffix(const char *);
71 < extern int load_one_module(const char *, int);
72 < extern int load_a_module(const char *, int, int);
71 > extern int load_one_module(const char *);
72 > extern int load_a_module(const char *, int);
73   extern struct module *findmodule_byname(const char *);
81 – extern void modules_init(void);
74   #endif /* INCLUDED_modules_h */

Diff Legend

– Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)