ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/modules.c
Revision 8660 - (view) (annotate) - [select for diffs]
Modified Sun Nov 18 12:55:59 2018 UTC (6 years, 9 months ago) by michael
File length: 9224 byte(s)
Diff to previous 8603 , to selected 3356
- Make use of the bool data type in some more places

Revision 8603 - (view) (annotate) - [select for diffs]
Modified Sun Oct 28 19:43:30 2018 UTC (6 years, 9 months ago) by michael
File length: 9166 byte(s)
Diff to previous 8588 , to selected 3356
- Fixed style inconsistencies in various places

Revision 8588 - (view) (annotate) - [select for diffs]
Modified Sun Oct 21 10:51:52 2018 UTC (6 years, 10 months ago) by michael
File length: 9162 byte(s)
Diff to previous 8540 , to selected 3356
- Sprinkle some assert(); cleanup existing ones

Revision 8540 - (view) (annotate) - [select for diffs]
Modified Mon Apr 30 19:49:16 2018 UTC (7 years, 3 months ago) by michael
File length: 9210 byte(s)
Diff to previous 8431 , to selected 3356
- modules.c: style corrections

Revision 8431 - (view) (annotate) - [select for diffs]
Modified Tue Mar 27 18:49:15 2018 UTC (7 years, 5 months ago) by michael
File length: 9194 byte(s)
Diff to previous 8310 , to selected 3356
- Stylistic changes

Revision 8310 - (view) (annotate) - [select for diffs]
Modified Wed Feb 28 16:46:13 2018 UTC (7 years, 5 months ago) by michael
File length: 9187 byte(s)
Diff to previous 8279 , to selected 3356
- Clean up remaining sizeof() to sizeof(variable)

Revision 8279 - (view) (annotate) - [select for diffs]
Modified Tue Feb 20 19:30:13 2018 UTC (7 years, 6 months ago) by michael
File length: 9209 byte(s)
Diff to previous 8059 , to selected 3356
- Update copyright years

Revision 8059 - (view) (annotate) - [select for diffs]
Modified Thu Mar 23 16:13:39 2017 UTC (8 years, 5 months ago) by michael
File length: 9209 byte(s)
Diff to previous 7924 , to selected 3356
- Fixed style inconsistencies in various places

Revision 7924 - (view) (annotate) - [select for diffs]
Modified Sat Dec 31 13:57:08 2016 UTC (8 years, 7 months ago) by michael
File length: 9237 byte(s)
Diff to previous 7668 , to selected 3356
- Update copyright years

Revision 7668 - (view) (annotate) - [select for diffs]
Modified Wed Jul 20 17:09:49 2016 UTC (9 years, 1 month ago) by michael
File length: 9237 byte(s)
Diff to previous 7499 , to selected 3356
- Fixed svn properties

Revision 7499 - (view) (annotate) - [select for diffs]
Modified Tue Mar 22 19:47:12 2016 UTC (9 years, 5 months ago) by michael
File length: 9237 byte(s)
Diff to previous 7245 , to selected 3356
- modules.h, modules.c: avoid using HYB_PATH_MAX for module_path::path

Revision 7245 - (view) (annotate) - [select for diffs]
Modified Wed Feb 3 18:29:44 2016 UTC (9 years, 6 months ago) by michael
File length: 9235 byte(s)
Diff to previous 7032 , to selected 3356
- Renamed 'mod_clear_paths()' to 'modules_conf_clear()'. Further simplification to modules_conf_clear()

Revision 7032 - (view) (annotate) - [select for diffs]
Modified Sun Jan 3 14:34:39 2016 UTC (9 years, 7 months ago) by michael
File length: 9221 byte(s)
Diff to previous 7006 , to selected 3356
- Renamed MyCalloc to xcalloc

Revision 7006 - (view) (annotate) - [select for diffs]
Modified Fri Jan 1 00:07:54 2016 UTC (9 years, 7 months ago) by michael
File length: 9226 byte(s)
Diff to previous 6553 , to selected 3356
- Update copyright years

Revision 6553 - (view) (annotate) - [select for diffs]
Modified Sat Oct 3 16:56:22 2015 UTC (9 years, 10 months ago) by michael
File length: 9226 byte(s)
Diff to previous 6318 , to selected 3356
- Use EXIT_FAILURE in some places instead of hardcoded values

Revision 6318 - (view) (annotate) - [select for diffs]
Modified Wed Aug 5 16:04:43 2015 UTC (10 years ago) by michael
File length: 9215 byte(s)
Diff to previous 5347 , to selected 3356
- Get rid of UMODE_ALL

Revision 5347 - (view) (annotate) - [select for diffs]
Modified Sun Jan 11 12:42:20 2015 UTC (10 years, 7 months ago) by michael
File length: 9180 byte(s)
Diff to previous 4977 , to selected 3356
- Update copyright years

Revision 4977 - (view) (annotate) - [select for diffs]
Modified Thu Dec 4 15:12:24 2014 UTC (10 years, 8 months ago) by michael
File length: 9180 byte(s)
Diff to previous 4815 , to selected 3356
- Style corrections; constifications

Revision 4815 - (view) (annotate) - [select for diffs]
Modified Sat Nov 1 15:28:42 2014 UTC (10 years, 9 months ago) by michael
File length: 9168 byte(s)
Diff to previous 4565 , to selected 3356
- Renamed variables

Revision 4565 - (view) (annotate) - [select for diffs]
Modified Sun Aug 24 10:27:40 2014 UTC (11 years ago) by michael
File length: 9146 byte(s)
Diff to previous 3504 , to selected 3356
- Update GPL 2 license headers

Revision 3504 - (view) (annotate) - [select for diffs]
Modified Sat May 10 19:51:29 2014 UTC (11 years, 3 months ago) by michael
File length: 9142 byte(s)
Diff to previous 3356
- Renamed MyMalloc() to MyCalloc()

Revision 3356 - (view) (annotate) - [selected]
Modified Sun Apr 20 14:48:33 2014 UTC (11 years, 4 months ago) by michael
File length: 9142 byte(s)
Diff to previous 3235
- Added m_bmask.c and m_tmode.c

Revision 3235 - (view) (annotate) - [select for diffs]
Modified Sat Mar 29 19:34:16 2014 UTC (11 years, 5 months ago) by michael
File length: 9110 byte(s)
Diff to previous 3031 , to selected 3356
- Style corrections all over the place

Revision 3031 - (view) (annotate) - [select for diffs]
Modified Tue Feb 25 11:50:53 2014 UTC (11 years, 6 months ago) by michael
File length: 9117 byte(s)
Diff to previous 2959 , to selected 3356
- modules.c:load_one_module(): renamed variables to make less confusing

Revision 2959 - (view) (annotate) - [select for diffs]
Modified Tue Jan 28 17:30:49 2014 UTC (11 years, 6 months ago) by michael
File length: 9138 byte(s)
Diff to previous 2916 , to selected 3356
- Added modules_get_list() and made modules_list visible to only modules.c
- Fixed naming convetion of other linked lists in modules.c

Revision 2916 - (view) (annotate) - [select for diffs]
Modified Sat Jan 25 21:09:18 2014 UTC (11 years, 7 months ago) by michael
File length: 9101 byte(s)
Diff to previous 2525 , to selected 3356
- Clean up all files in include/ (fixed indentation, removed whitespaces/tabs)
- Fixed copyright years

Revision 2525 - (view) (annotate) - [select for diffs]
Modified Sat Nov 2 17:07:38 2013 UTC (11 years, 9 months ago) by michael
File length: 9078 byte(s)
Diff to previous 2345 , to selected 3356
- Style corrections

Revision 2345 - (view) (annotate) - [select for diffs]
Modified Wed Jul 3 18:17:39 2013 UTC (12 years, 1 month ago) by michael
File length: 9076 byte(s)
Diff to previous 1997 , to selected 3356
- White-space commit / style corrections

Revision 1997 - (view) (annotate) - [select for diffs]
Modified Sat May 11 17:35:07 2013 UTC (12 years, 3 months ago) by michael
File length: 9078 byte(s)
Diff to previous 1737 , to selected 3356
- Mostly style cleanups & whitespace changes

Revision 1737 - (view) (annotate) - [select for diffs]
Modified Mon Jan 14 17:37:55 2013 UTC (12 years, 7 months ago) by michael
File length: 9079 byte(s)
Diff to previous 1646 , to selected 3356
- Quick and dirty workaround to fix build on GNU/Hurd
  because of undefined PATH_MAX

Revision 1646 - (view) (annotate) - [select for diffs]
Modified Wed Nov 7 21:02:43 2012 UTC (12 years, 9 months ago) by michael
File length: 9067 byte(s)
Diff to previous 1618 , to selected 3356
- First pass of conf parser stabilization/cleanup

Revision 1618 - (view) (annotate) - [select for diffs]
Modified Tue Oct 30 21:04:38 2012 UTC (12 years, 9 months ago) by michael
File length: 9068 byte(s)
Diff to previous 1592 , to selected 3356
- Made m_globops() and ms_globops() use sendto_realops_flags()
- Added message-type parameter to sendto_realops_flags() which can be one of
  SEND_NOTICE, SEND_GLOBAL, SEND_LOCOPS
- Forward-port -r1617

Revision 1592 - (view) (annotate) - [select for diffs]
Modified Sat Oct 27 21:02:32 2012 UTC (12 years, 10 months ago) by michael
File length: 8928 byte(s)
Diff to previous 1574 , to selected 3356
- Second time's the charm? Moving svnroot/ircd-hybrid-8 to
  svnroot/ircd-hybrid/trunk

Revision 1574 - (view) (annotate) - [select for diffs]
Modified Wed Oct 17 22:08:15 2012 UTC (12 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/src/modules.c
File length: 8928 byte(s)
Diff to previous 1447 , to selected 3356
- modules.c: better error reporting if lt_dlsym() fails for some reason

Revision 1447 - (view) (annotate) - [select for diffs]
Modified Mon Jun 25 20:22:29 2012 UTC (13 years, 2 months ago) by michael
Original Path: ircd-hybrid-8/src/modules.c
File length: 8869 byte(s)
Diff to previous 1437 , to selected 3356
- Added m_module.c and moved mo_module() into it

Revision 1437 - (view) (annotate) - [select for diffs]
Modified Mon Jun 18 19:02:48 2012 UTC (13 years, 2 months ago) by michael
Original Path: ircd-hybrid-8/src/modules.c
File length: 13509 byte(s)
Diff to previous 1436 , to selected 3356
- Removed MODLOAD, MODRELOAD, MODUNLOAD and MODLIST command handlers.
  They all have been replaced by the new "MODULE" command which now
  deals with the LOAD/UNLOAD/RELOAD/LIST parameters.

Revision 1436 - (view) (annotate) - [select for diffs]
Modified Sun Jun 17 19:31:28 2012 UTC (13 years, 2 months ago) by michael
Original Path: ircd-hybrid-8/src/modules.c
File length: 14135 byte(s)
Diff to previous 1404 , to selected 3356
- Removed "MODRESTART" command. "MODRELOAD *" will now reload all modules.

Revision 1404 - (view) (annotate) - [select for diffs]
Modified Thu May 10 20:41:45 2012 UTC (13 years, 3 months ago) by michael
Original Path: ircd-hybrid-8/src/modules.c
File length: 14626 byte(s)
Diff to previous 1309 , to selected 3356
- minor cleanups to the module code

Revision 1309 - (view) (annotate) - [select for diffs]
Modified Sun Mar 25 11:24:18 2012 UTC (13 years, 5 months ago) by michael
Original Path: ircd-hybrid-8/src/modules.c
File length: 14940 byte(s)
Diff to previous 1247 , to selected 3356
- renaming files:

  ircd_parser.y -> conf_parser.y
  ircd_lexer.l  -> conf_lexer.l
  s_conf.c      -> conf.c
  s_conf.h      -> conf.h
  s_log.c       -> log.c
  s_log.h       -> log.h

Revision 1247 - (view) (annotate) - [select for diffs]
Modified Sat Oct 1 07:54:24 2011 UTC (13 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/src/modules.c
File length: 14944 byte(s)
Diff to previous 1243 , to selected 3356
- Rewrite and cleanup half-broken logging subsystem.
  Logfile rotating is not working yet

Revision 1243 - (view) (annotate) - [select for diffs]
Modified Fri Sep 30 10:47:53 2011 UTC (13 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/src/modules.c
File length: 14867 byte(s)
Diff to previous 1238 , to selected 3356
- move content of msg.h, ircd_handler.h and handlers.h into parse.h and
  remove headers accordingly
- killed common.h
- remove m_killhost.c and m_flags.c from contrib/
- sort out unused header includes here and there

Revision 1238 - (view) (annotate) - [select for diffs]
Modified Thu Sep 29 11:37:31 2011 UTC (13 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/src/modules.c
File length: 14889 byte(s)
Diff to previous 1237 , to selected 3356
- rename mod_list to modules_list and make it static
- remove now unused _modinit and _moddeinit prototypes

Revision 1237 - (view) (annotate) - [select for diffs]
Modified Thu Sep 29 11:32:21 2011 UTC (13 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/src/modules.c
File length: 14843 byte(s)
Diff to previous 1234 , to selected 3356
- move remaining functions in dynlink.c into modules.c

Revision 1234 - (view) (annotate) - [select for diffs]
Modified Fri Sep 23 08:15:04 2011 UTC (13 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/src/modules.c
File length: 12216 byte(s)
Diff to previous 1230 , to selected 3356
- replace all instances of parv[0] with source_p->name

Revision 1230 - (view) (annotate) - [select for diffs]
Modified Thu Sep 22 19:41:19 2011 UTC (13 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/src/modules.c
File length: 12209 byte(s)
Diff to previous 1228 , to selected 3356
- cleanup module loader. Make module api more flexible

Revision 1228 - (view) (annotate) - [select for diffs]
Modified Mon Sep 19 09:38:38 2011 UTC (13 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/src/modules.c
File length: 12255 byte(s)
Diff to previous 1219 , to selected 3356
- add 'restart'/'module' operator flags which allows better fine tuning
  whether or not an operator may have access to RESTART/MOD* commands
- ircd_parser.y: (oper{}): ensure yy_aconf->port is set to zero, before
  setting any privilege bits. Fixes odd behaviour with multiple 'flags'
  entries.
  Also removed ability to negate operator flags with a tilde '~'. Pretty
  useless since all operator privilege flags are set to zero by default.

Revision 1219 - (view) (annotate) - [select for diffs]
Modified Sun Sep 18 09:02:38 2011 UTC (13 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/src/modules.c
File length: 12230 byte(s)
Diff to previous 1156 , to selected 3356
- Start cleaning up macros in client.h. Replace several ClientHasSomeCoolFlag()
with simple HasFlag/HasUMode macros.

Revision 1156 - (view) (annotate) - [select for diffs]
Modified Tue Aug 9 20:29:20 2011 UTC (14 years ago) by michael
Original Path: ircd-hybrid-8/src/modules.c
File length: 12160 byte(s)
Diff to previous 1155 , to selected 3356
- create ircd-hybrid-8 "branch"

Revision 1155 - (view) (annotate) - [select for diffs]
Modified Tue Aug 9 20:27:45 2011 UTC (14 years ago) by michael
Original Path: ircd-hybrid/src/modules.c
File length: 12160 byte(s)
Diff to previous 1029 , to selected 3356
- recreate "trunk"

Revision 1029 - (view) (annotate) - [select for diffs]
Modified Sun Nov 8 13:10:50 2009 UTC (15 years, 9 months ago) by michael
Original Path: ircd-hybrid-7.3/src/modules.c
File length: 12160 byte(s)
Diff to previous 1028 , to selected 3356
- branch off trunk to create 7.3 branch
Revision 1028 - (view) (annotate) - [select for diffs]
Modified Sun Nov 8 13:03:38 2009 UTC (15 years, 9 months ago) by michael
Original Path: ircd-hybrid/src/modules.c
File length: 12160 byte(s)
Diff to previous 1013 , to selected 3356
- move ircd-hybrid-7.2 to trunk

Revision 1013 - (view) (annotate) - [select for diffs]
Modified Sun Oct 18 14:26:49 2009 UTC (15 years, 10 months ago) by michael
Original Path: ircd-hybrid-7.2/src/modules.c
File length: 12160 byte(s)
Diff to previous 1011 , to selected 3356
- Add -Wextra -Wcast-align -Wbad-function-cast to CFLAGS if --enable-warnings is specified
- Fixed several compile warnings
- 64-bit cleanliness fixes, e.g., reorganize data structures to reduce storage/unnecessary padding

Revision 1011 - (view) (annotate) - [select for diffs]
Modified Fri Sep 18 10:14:09 2009 UTC (15 years, 11 months ago) by michael
Original Path: ircd-hybrid-7.2/src/modules.c
File length: 12162 byte(s)
Diff to previous 978 , to selected 3356
- move list manipulation routines from tools.c to list.c
- mem_frob() goes to memory.c
- sort out redundant/unneeded header includes

Revision 978 - (view) (annotate) - [select for diffs]
Modified Sun Aug 9 09:47:58 2009 UTC (16 years ago) by michael
Original Path: ircd-hybrid-7.2/src/modules.c
File length: 12218 byte(s)
Diff to previous 946 , to selected 3356
- avoid using native basename() since some implementations may or may not modify passed data

Revision 946 - (view) (annotate) - [select for diffs]
Modified Mon Jul 20 23:18:04 2009 UTC (16 years, 1 month ago) by michael
Original Path: ircd-hybrid-7.2/src/modules.c
File length: 12155 byte(s)
Diff to previous 912 , to selected 3356
- move m_error.c to modules/


Revision 912 - (view) (annotate) - [select for diffs]
Modified Wed Nov 7 22:47:44 2007 UTC (17 years, 9 months ago) by michael
Original Path: ircd-hybrid-7.2/src/modules.c
File length: 12535 byte(s)
Diff to previous 908 , to selected 3356
- Implemented libtool-ltdl. Only shared modules are supported currently
- Several build fixes and cleanups. ircd now builds and runs without any problems
- Added back all files to SVN that are needed to built the daemon
  I really don't want to force other people that want to test the snapshots
  or svn versions to install yyacc, lex, automake, autoconf and libtool...
  No problem having required files in svn
- Removed some automake maintainer stuff which is kinda useless for us

Revision 908 - (view) (annotate) - [select for diffs]
Modified Sun Nov 4 23:21:51 2007 UTC (17 years, 9 months ago) by stu
Original Path: ircd-hybrid-7.2/src/modules.c
File length: 17364 byte(s)
Diff to previous 876 , to selected 3356
Completely redo the build system.  Now uses libtool and automake.  Suggest you clean out your tree and then do ./autogen.sh.
Revision 876 - (view) (annotate) - [select for diffs]
Modified Wed Oct 24 21:51:21 2007 UTC (17 years, 10 months ago) by michael
Original Path: ircd-hybrid-7.2/src/modules.c
File length: 17336 byte(s)
Diff to previous 512 , to selected 3356
Backported WATCH
Revision 512 - (view) (annotate) - [select for diffs]
Modified Sat Mar 4 16:21:54 2006 UTC (19 years, 5 months ago) by michael
Original Path: ircd-hybrid-7.2/src/modules.c
File length: 17306 byte(s)
Diff to previous 425 , to selected 3356
- Fixed static build for m_cap()  (fix doesn't need to get
  forward-ported to HEAD)
- Added BS alias for BOTSERV

Revision 425 - (view) (annotate) - [select for diffs]
Modified Sat Feb 11 00:27:28 2006 UTC (19 years, 6 months ago) by michael
Original Path: ircd-hybrid-7.2/src/modules.c
File length: 17251 byte(s)
Diff to previous 329 , to selected 3356
- Add BMASK and TMODE onto message tree when building with static modules.
  reported by hb505.

Revision 329 - (view) (annotate) - [select for diffs]
Modified Sun Dec 25 10:45:42 2005 UTC (19 years, 8 months ago) by michael
Original Path: ircd-hybrid-7.2/src/modules.c
File length: 17191 byte(s)
Diff to previous 218 , to selected 3356
- Finish off TBURST (untested)

Revision 218 - (view) (annotate) - [select for diffs]
Modified Thu Nov 3 14:40:19 2005 UTC (19 years, 9 months ago) by db
Original Path: ircd-hybrid-7.2/src/modules.c
File length: 17117 byte(s)
Diff to previous 34 , to selected 3356
- make findmodule_byname case sensitive 


Revision 34 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 21:05:51 2005 UTC (19 years, 10 months ago) by lusky
Original Path: ircd-hybrid-7.2/src/modules.c
File length: 17113 byte(s)
Diff to previous 33 , to selected 3356
create 7.2 branch, we can move/rename it as needed.


Revision 33 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:50:00 2005 UTC (19 years, 10 months ago) by knight
Original Path: ircd-hybrid/src/modules.c
File length: 17113 byte(s)
Diff to previous 32 , to selected 3356
- svn:keywords

Revision 32 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:41:23 2005 UTC (19 years, 10 months ago) by knight
Original Path: ircd-hybrid/src/modules.c
File length: 17113 byte(s)
Diff to previous 31 , to selected 3356
- svn:keywords

Revision 31 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:34:05 2005 UTC (19 years, 10 months ago) by knight
Original Path: ircd-hybrid/src/modules.c
File length: 17113 byte(s)
Diff to previous 30 , to selected 3356
- Fix svn:keywords

Revision 30 - (view) (annotate) - [select for diffs]
Added Sun Oct 2 20:03:27 2005 UTC (19 years, 10 months ago) by adx
Original Path: ircd-hybrid/src/modules.c
File length: 17161 byte(s)
Diff to selected 3356
- imported sources
- can be moved later according to the directory/branching scheme,
  but we need the svn up

Convenience Links

Links to HEAD: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a