ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/contrib/example_module.c
(Generate patch)

Comparing ircd-hybrid-7.3/contrib/example_module.c (file contents):
Revision 1029 by michael, Sun Nov 8 13:10:50 2009 UTC vs.
Revision 1121 by michael, Sun Jan 9 11:03:03 2011 UTC

# Line 23 | Line 23
23   * These ones are necessary to build THIS module...
24   */
25  
26 < #include "stdinc.h" /* includes setup.h, for STATIC_MODULES */
26 > #include "stdinc.h" /* includes setup.h */
27  
28   #include "client.h" /* Required for IsClient, etc. */
29  
# Line 111 | Line 111 | struct Message test_msgtab = {
111   };
112   /* That's the msgtab finished */
113  
114 #ifndef STATIC_MODULES
114   /* Here we tell it what to do when the module is loaded */
115   void
116   _modinit(void)
# Line 131 | Line 130 | _moddeinit(void)
130   /* When we last modified the file (shown in /modlist), this is usually:
131   */
132   const char *_version = "$Revision$";
134 #endif
133  
134   /*
135   * mr_test

Diff Legend

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