ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/hash.c
Revision 7484 - (view) (annotate) - [selected]
Modified Wed Mar 16 09:28:14 2016 UTC (9 years, 5 months ago) by michael
File length: 16085 byte(s)
Diff to previous 7234
- hash.c: remove unused header includes

Revision 7234 - (view) (annotate) - [select for diffs]
Modified Wed Feb 3 16:30:10 2016 UTC (9 years, 6 months ago) by michael
File length: 16168 byte(s)
Diff to previous 7032 , to selected 7484
- Move resv.* to conf_resv.*

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: 16163 byte(s)
Diff to previous 7031 , to selected 7484
- Renamed MyCalloc to xcalloc

Revision 7031 - (view) (annotate) - [select for diffs]
Modified Sat Jan 2 21:18:30 2016 UTC (9 years, 7 months ago) by michael
File length: 16166 byte(s)
Diff to previous 7006 , to selected 7484
- hash.c:hash_init(): deal with genrand_int32() returning 0

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: 16133 byte(s)
Diff to previous 6393 , to selected 7484
- Update copyright years

Revision 6393 - (view) (annotate) - [select for diffs]
Modified Sun Aug 23 14:58:44 2015 UTC (10 years ago) by michael
File length: 16133 byte(s)
Diff to previous 6385 , to selected 7484
- Move userhost related code from hash.c to userhost.c

Revision 6385 - (view) (annotate) - [select for diffs]
Modified Fri Aug 21 18:30:29 2015 UTC (10 years ago) by michael
File length: 19945 byte(s)
Diff to previous 6161 , to selected 7484
- Use an embedded list node for the ListTask struct

Revision 6161 - (view) (annotate) - [select for diffs]
Modified Thu Jun 18 10:55:29 2015 UTC (10 years, 2 months ago) by michael
File length: 19988 byte(s)
Diff to previous 5545 , to selected 7484
- Move all SID/UID related code to id.c

Revision 5545 - (view) (annotate) - [select for diffs]
Modified Thu Feb 12 14:13:34 2015 UTC (10 years, 6 months ago) by michael
File length: 19972 byte(s)
Diff to previous 5460 , to selected 7484
- Fixed style in several places

Revision 5460 - (view) (annotate) - [select for diffs]
Modified Tue Feb 3 22:24:57 2015 UTC (10 years, 6 months ago) by michael
File length: 19983 byte(s)
Diff to previous 5347 , to selected 7484
- Minor cleanups here and there

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: 20001 byte(s)
Diff to previous 4977 , to selected 7484
- 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: 20001 byte(s)
Diff to previous 4890 , to selected 7484
- Style corrections; constifications

Revision 4890 - (view) (annotate) - [select for diffs]
Modified Wed Nov 19 17:10:46 2014 UTC (10 years, 9 months ago) by michael
File length: 19922 byte(s)
Diff to previous 4870 , to selected 7484
- Style corrections

Revision 4870 - (view) (annotate) - [select for diffs]
Modified Fri Nov 7 20:28:20 2014 UTC (10 years, 9 months ago) by michael
File length: 19924 byte(s)
Diff to previous 4868 , to selected 7484
- hash.c: constifications

Revision 4868 - (view) (annotate) - [select for diffs]
Modified Fri Nov 7 20:14:42 2014 UTC (10 years, 9 months ago) by michael
File length: 19906 byte(s)
Diff to previous 4818 , to selected 7484
- hash.c:free_list_task(): removed pointless MyConnect() test

Revision 4818 - (view) (annotate) - [select for diffs]
Modified Sat Nov 1 16:06:36 2014 UTC (10 years, 9 months ago) by michael
File length: 19936 byte(s)
Diff to previous 4815 , to selected 7484
- Renamed variables

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: 19927 byte(s)
Diff to previous 4618 , to selected 7484
- Renamed variables

Revision 4618 - (view) (annotate) - [select for diffs]
Modified Sun Sep 7 13:01:09 2014 UTC (10 years, 11 months ago) by michael
File length: 19884 byte(s)
Diff to previous 4588 , to selected 7484
- Renamed Channel::chname to Channel::name

Revision 4588 - (view) (annotate) - [select for diffs]
Modified Tue Aug 26 15:59:07 2014 UTC (11 years ago) by michael
File length: 19902 byte(s)
Diff to previous 4565 , to selected 7484
- Renamed 'localClient' Client structure member to just 'connection'

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

Revision 4502 - (view) (annotate) - [select for diffs]
Modified Sat Aug 16 19:10:20 2014 UTC (11 years ago) by michael
File length: 19904 byte(s)
Diff to previous 4489 , to selected 7484
- hash.c:safe_list_channels(): removed outdated comment

Revision 4489 - (view) (annotate) - [select for diffs]
Modified Sat Aug 16 16:56:18 2014 UTC (11 years ago) by michael
File length: 19992 byte(s)
Diff to previous 4486 , to selected 7484
- Add topic mask option to /list

Revision 4486 - (view) (annotate) - [select for diffs]
Modified Sat Aug 16 16:18:04 2014 UTC (11 years ago) by michael
File length: 19925 byte(s)
Diff to previous 4086 , to selected 7484
- hash.c:list_one_channel(): let other users see channelmodes in /list

Revision 4086 - (view) (annotate) - [select for diffs]
Modified Sat Jun 28 16:44:20 2014 UTC (11 years, 2 months ago) by michael
File length: 19982 byte(s)
Diff to previous 3908 , to selected 7484
- Let mp_pool_get() clear memory

Revision 3908 - (view) (annotate) - [select for diffs]
Modified Fri Jun 6 23:57:28 2014 UTC (11 years, 2 months ago) by michael
File length: 20059 byte(s)
Diff to previous 3429 , to selected 7484
- hash.c: Use 'unsigned' whenever possible

Revision 3429 - (view) (annotate) - [select for diffs]
Modified Thu May 1 11:49:45 2014 UTC (11 years, 3 months ago) by michael
File length: 20050 byte(s)
Diff to previous 3428 , to selected 7484
- hash.c:list_one_channel(): constification

Revision 3428 - (view) (annotate) - [select for diffs]
Modified Thu May 1 11:46:23 2014 UTC (11 years, 3 months ago) by michael
File length: 20044 byte(s)
Diff to previous 3347 , to selected 7484
- hash.c:list_one_channel(): optimize for the admin case

Revision 3347 - (view) (annotate) - [select for diffs]
Modified Sun Apr 20 14:03:06 2014 UTC (11 years, 4 months ago) by michael
File length: 20044 byte(s)
Diff to previous 3291 , to selected 7484
- Moved files:
  s_user.c -> user.c
  s_misc.c -> misc.c
  s_serv.c -> server.c

Revision 3291 - (view) (annotate) - [select for diffs]
Modified Wed Apr 9 21:41:25 2014 UTC (11 years, 4 months ago) by michael
File length: 20046 byte(s)
Diff to previous 3289 , to selected 7484
- hash.c:safe_list_channels(): since we don't allow remote /LIST requests
  use source_p instead of of source_p->from when testing for
  sendq exceedance

Revision 3289 - (view) (annotate) - [select for diffs]
Modified Wed Apr 9 19:50:19 2014 UTC (11 years, 4 months ago) by michael
File length: 20052 byte(s)
Diff to previous 3288 , to selected 7484
- Made free_list_task() only take one parameter

Revision 3288 - (view) (annotate) - [select for diffs]
Modified Wed Apr 9 19:04:47 2014 UTC (11 years, 4 months ago) by michael
File length: 20019 byte(s)
Diff to previous 3287 , to selected 7484
- Made safe_list_channels and list_one_channel only take two parameters

Revision 3287 - (view) (annotate) - [select for diffs]
Modified Wed Apr 9 18:48:19 2014 UTC (11 years, 4 months ago) by michael
File length: 20089 byte(s)
Diff to previous 3242 , to selected 7484
- hash.c:delete_user_host(): replaced DLINK_FOREACH_SAFE with DLINK_FOREACH

Revision 3242 - (view) (annotate) - [select for diffs]
Modified Sun Mar 30 16:49:56 2014 UTC (11 years, 4 months ago) by michael
File length: 20115 byte(s)
Diff to previous 3241 , to selected 7484
- hash.c: style fixes only

Revision 3241 - (view) (annotate) - [select for diffs]
Modified Sun Mar 30 16:45:31 2014 UTC (11 years, 4 months ago) by michael
File length: 20188 byte(s)
Diff to previous 3109 , to selected 7484
- Incorporate Adam's writev() patch

Revision 3109 - (view) (annotate) - [select for diffs]
Modified Thu Mar 6 19:25:12 2014 UTC (11 years, 5 months ago) by michael
File length: 20236 byte(s)
Diff to previous 2916 , to selected 7484
- Applied Adam's sendto_one_numeric() changes

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: 20277 byte(s)
Diff to previous 2757 , to selected 7484
- Clean up all files in include/ (fixed indentation, removed whitespaces/tabs)
- Fixed copyright years

Revision 2757 - (view) (annotate) - [select for diffs]
Modified Sun Jan 5 23:20:19 2014 UTC (11 years, 7 months ago) by michael
File length: 20255 byte(s)
Diff to previous 2616 , to selected 7484
- hash.c:exceeding_sendq(): constification

Revision 2616 - (view) (annotate) - [select for diffs]
Modified Wed Dec 4 17:52:24 2013 UTC (11 years, 8 months ago) by michael
File length: 20249 byte(s)
Diff to previous 2495 , to selected 7484
- Administrators may now see channel modes in /LIST

Revision 2495 - (view) (annotate) - [select for diffs]
Modified Fri Oct 25 20:19:45 2013 UTC (11 years, 10 months ago) by michael
File length: 19882 byte(s)
Diff to previous 1964 , to selected 7484
- Administrators can now see +s channels in /LIST

Revision 1964 - (view) (annotate) - [select for diffs]
Modified Wed May 8 14:27:02 2013 UTC (12 years, 3 months ago) by michael
File length: 19839 byte(s)
Diff to previous 1834 , to selected 7484
- Tweaked various mempool chunk sizes

Revision 1834 - (view) (annotate) - [select for diffs]
Modified Fri Apr 19 19:50:27 2013 UTC (12 years, 4 months ago) by michael
File length: 19975 byte(s)
Diff to previous 1832 , to selected 7484
- Revert to -r1831

Revision 1832 - (view) (annotate) - [select for diffs]
Modified Fri Apr 19 19:16:09 2013 UTC (12 years, 4 months ago) by michael
File length: 19955 byte(s)
Diff to previous 1826 , to selected 7484
- Made all numeric defines use the actual string instead of the numeric value
  which allows to use gcc's printf format attribute
- Remove current message locale implementation

Revision 1826 - (view) (annotate) - [select for diffs]
Modified Mon Apr 15 09:09:09 2013 UTC (12 years, 4 months ago) by michael
File length: 19975 byte(s)
Diff to previous 1798 , to selected 7484
- Minor cleanups to hash.c; removed now unused functions, style cleanups

Revision 1798 - (view) (annotate) - [select for diffs]
Modified Sun Mar 31 17:09:50 2013 UTC (12 years, 4 months ago) by michael
File length: 21553 byte(s)
Diff to previous 1654 , to selected 7484
- Cleanup/reorganize header file layout
- Fixed naming convention in some places

Revision 1654 - (view) (annotate) - [select for diffs]
Modified Fri Nov 16 19:39:37 2012 UTC (12 years, 9 months ago) by michael
File length: 21553 byte(s)
Diff to previous 1653 , to selected 7484
- Implemented memory pool allocator which basically is taken from Tor's
  mempool allocator for Tor cells
- Fixed compile warnings in conf_class.c
- ./configure --enable-assert works again

Revision 1653 - (view) (annotate) - [select for diffs]
Modified Wed Nov 14 11:50:55 2012 UTC (12 years, 9 months ago) by michael
File length: 21529 byte(s)
Diff to previous 1644 , to selected 7484
- added improved match() stolen from ircu
- fixed compile warning in m_module.c

Revision 1644 - (view) (annotate) - [select for diffs]
Modified Tue Nov 6 22:20:16 2012 UTC (12 years, 9 months ago) by michael
File length: 21530 byte(s)
Diff to previous 1632 , to selected 7484
- More config subsystem cleanups

Revision 1632 - (view) (annotate) - [select for diffs]
Modified Sun Nov 4 15:37:10 2012 UTC (12 years, 9 months ago) by michael
File length: 21503 byte(s)
Diff to previous 1592 , to selected 7484
- Initial rewrite of the configuration subsystem

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: 21507 byte(s)
Diff to previous 1397 , to selected 7484
- Second time's the charm? Moving svnroot/ircd-hybrid-8 to
  svnroot/ircd-hybrid/trunk

Revision 1397 - (view) (annotate) - [select for diffs]
Modified Sun May 6 10:01:52 2012 UTC (13 years, 3 months ago) by michael
Original Path: ircd-hybrid-8/src/hash.c
File length: 21507 byte(s)
Diff to previous 1396 , to selected 7484
- src/hash.c: there's no need keep on searching clientTable[] for a
  server-id if we didn't find it in the idTable[] before.

Revision 1396 - (view) (annotate) - [select for diffs]
Modified Sun May 6 09:52:27 2012 UTC (13 years, 3 months ago) by michael
Original Path: ircd-hybrid-8/src/hash.c
File length: 21533 byte(s)
Diff to previous 1332 , to selected 7484
- src/hash.c: minor style corrections

Revision 1332 - (view) (annotate) - [select for diffs]
Modified Sun Apr 1 16:25:50 2012 UTC (13 years, 4 months ago) by michael
Original Path: ircd-hybrid-8/src/hash.c
File length: 21501 byte(s)
Diff to previous 1309 , to selected 7484
- init_hash(): remove unused variable

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/hash.c
File length: 21520 byte(s)
Diff to previous 1243 , to selected 7484
- 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 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/hash.c
File length: 21522 byte(s)
Diff to previous 1203 , to selected 7484
- 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 1203 - (view) (annotate) - [select for diffs]
Modified Tue Aug 23 20:06:08 2011 UTC (14 years ago) by michael
Original Path: ircd-hybrid-8/src/hash.c
File length: 21564 byte(s)
Diff to previous 1169 , to selected 7484
- make channel::topic and channel::topic_info fixed-size arrays

Revision 1169 - (view) (annotate) - [select for diffs]
Modified Fri Aug 12 18:45:03 2011 UTC (14 years ago) by michael
Original Path: ircd-hybrid-8/src/hash.c
File length: 21592 byte(s)
Diff to previous 1156 , to selected 7484
- rename find_server to hash_find_server to satisfy naming convention
- pull m_services.c and m_jupe.c from contrib/
- style fixes in some places

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/hash.c
File length: 21577 byte(s)
Diff to previous 1155 , to selected 7484
- 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/hash.c
File length: 21577 byte(s)
Diff to previous 1149 , to selected 7484
- recreate "trunk"

Revision 1149 - (view) (annotate) - [select for diffs]
Modified Sun Jul 31 20:04:17 2011 UTC (14 years ago) by michael
Original Path: ircd-hybrid-7.3/src/hash.c
File length: 21577 byte(s)
Diff to previous 1118 , to selected 7484
- Style cleanups
- Doxify hook.c

Revision 1118 - (view) (annotate) - [select for diffs]
Modified Thu Jan 6 13:39:10 2011 UTC (14 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.3/src/hash.c
File length: 21895 byte(s)
Diff to previous 1029 , to selected 7484
- cleanup and sanitize m_server.c. remove hostmasking. Improve TS6 suppport

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/hash.c
File length: 22889 byte(s)
Diff to previous 1028 , to selected 7484
- 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/hash.c
File length: 22889 byte(s)
Diff to previous 1013 , to selected 7484
- 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/hash.c
File length: 22889 byte(s)
Diff to previous 1011 , to selected 7484
- 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/hash.c
File length: 22908 byte(s)
Diff to previous 982 , to selected 7484
- move list manipulation routines from tools.c to list.c
- mem_frob() goes to memory.c
- sort out redundant/unneeded header includes

Revision 982 - (view) (annotate) - [select for diffs]
Modified Thu Aug 13 22:15:08 2009 UTC (16 years ago) by michael
Original Path: ircd-hybrid-7.2/src/hash.c
File length: 22907 byte(s)
Diff to previous 896 , to selected 7484
- added a mersenne twister basedn prng

Revision 896 - (view) (annotate) - [select for diffs]
Modified Sat Nov 3 08:54:09 2007 UTC (17 years, 9 months ago) by michael
Original Path: ircd-hybrid-7.2/src/hash.c
File length: 22883 byte(s)
Diff to previous 880 , to selected 7484
- Killed s_stats.c

Revision 880 - (view) (annotate) - [select for diffs]
Modified Thu Oct 25 20:25:26 2007 UTC (17 years, 10 months ago) by michael
Original Path: ircd-hybrid-7.2/src/hash.c
File length: 23010 byte(s)
Diff to previous 34 , to selected 7484
- hash_find_id() should be using strcmp instead or irccmp
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/hash.c
File length: 23007 byte(s)
Diff to previous 33 , to selected 7484
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/hash.c
File length: 23007 byte(s)
Diff to previous 32 , to selected 7484
- 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/hash.c
File length: 23007 byte(s)
Diff to previous 31 , to selected 7484
- 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/hash.c
File length: 23007 byte(s)
Diff to previous 30 , to selected 7484
- 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/hash.c
File length: 23052 byte(s)
Diff to selected 7484
- 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