/[svn]/ircd-hybrid/include
ViewVC logotype

Log of /ircd-hybrid/include

View Directory Listing Directory Listing


Sticky Revision:
(Current path doesn't exist after revision 1586)

Revision 702 - Directory Listing
Modified Sun Jun 25 10:27:09 2006 UTC (15 years, 5 months ago) by michael
- Removed pointless check_class() call in main()
- Removed unused function prototypes
- Moved s_serv.c to server.c
- Renamed initialize_server_capabs() to server_init() and move it to server.c


Revision 701 - Directory Listing
Modified Sat Jun 24 19:24:39 2006 UTC (15 years, 5 months ago) by michael
- Avoid header files including other header files
- Killed supported.h, fixed misc. compile errors


Revision 697 - Directory Listing
Modified Wed Jun 21 08:22:08 2006 UTC (15 years, 5 months ago) by michael
- Fixed small memory leak in delete_auth()


Revision 695 - Directory Listing
Modified Mon Jun 19 10:05:31 2006 UTC (15 years, 5 months ago) by michael
- Moved safe list code to channel.c


Revision 694 - Directory Listing
Modified Mon Jun 19 09:57:40 2006 UTC (15 years, 5 months ago) by michael
- Removed unused header includes


Revision 692 - Directory Listing
Modified Sat Jun 17 13:10:22 2006 UTC (15 years, 5 months ago) by michael
- Moved show_ports() to m_stats.c


Revision 691 - Directory Listing
Modified Sat Jun 17 12:59:03 2006 UTC (15 years, 5 months ago) by michael
- Moved can_join() to m_join.c
- Use const keyword in channel.c whenever possible, fixed comments too


Revision 684 - Directory Listing
Modified Thu Jun 15 18:18:08 2006 UTC (15 years, 5 months ago) by michael
- Moved ircd_get_platform to libio and killed version.c


Revision 679 - Directory Listing
Modified Thu Jun 15 08:06:49 2006 UTC (15 years, 5 months ago) by adx


Revision 674 - Directory Listing
Modified Tue Jun 13 08:45:01 2006 UTC (15 years, 6 months ago) by michael
- Removed server connection scheduling leftovers.  We just periodically continue
  to check server confs in try_connections() without updating aconf->hold in
  close_connection()


Revision 667 - Directory Listing
Modified Sun Jun 11 12:25:08 2006 UTC (15 years, 6 months ago) by michael
- Removed FLAGS_RESTRICTED and friends


Revision 663 - Directory Listing
Modified Sat Jun 10 14:32:32 2006 UTC (15 years, 6 months ago) by michael
- Fixed several compile errors


Revision 662 - Directory Listing
Modified Sat Jun 10 08:38:38 2006 UTC (15 years, 6 months ago) by michael
- More fixes to ircd-german.lang
- Removed ERR_RESTRICTED


Revision 658 - Directory Listing
Modified Fri Jun 9 18:26:43 2006 UTC (15 years, 6 months ago) by adx
+ slight numeric changes, updated polish translation
+ show "%s is in +g mode" on /whois


Revision 657 - Directory Listing
Modified Fri Jun 9 18:07:14 2006 UTC (15 years, 6 months ago) by adx
+ added implementation for listen{}
+ fixed header in conf_channel.c


Revision 655 - Directory Listing
Modified Fri Jun 9 13:30:21 2006 UTC (15 years, 6 months ago) by michael
- Fixed function naming convention in some places
- Moved win32 uname() to libio


Revision 654 - Directory Listing
Modified Thu Jun 8 09:02:45 2006 UTC (15 years, 6 months ago) by michael
- Got rid of Server::dep_user,dep_server and renamed Server::user and Server::servers dlink
  lists to client_list and server_list


Revision 653 - Directory Listing
Modified Thu Jun 8 07:55:03 2006 UTC (15 years, 6 months ago) by michael
- Changed Client::random_ping and Client::serial to standard unsigned integer
  types


Revision 652 - Directory Listing
Modified Thu Jun 8 07:45:54 2006 UTC (15 years, 6 months ago) by michael
- Removed metadata.h


Revision 651 - Directory Listing
Modified Thu Jun 8 07:38:56 2006 UTC (15 years, 6 months ago) by michael
- Backported r650 (clients are exited in check_unknowsn_list() while still
  processing auth/dns)
- Changed Client::flags to 64bit integer type to allow more flags


Revision 649 - Directory Listing
Modified Wed Jun 7 17:57:52 2006 UTC (15 years, 6 months ago) by michael
- Removed all common.h header includes from libio sources
- Moved IRCD_MIN/IRCD_MAX macros to libio and renamed them
  to LIBIO_MIN/LIBIO_MAX


Revision 648 - Directory Listing
Modified Wed Jun 7 15:16:38 2006 UTC (15 years, 6 months ago) by michael
- Moved our own getopt implementation to libio.  We may replace this with gnu
  getopt/getopt_long some day.


Revision 644 - Directory Listing
Modified Wed Jun 7 12:36:21 2006 UTC (15 years, 6 months ago) by michael
- Moved split_users and split_servers ints to GlobalSetOptions struct


Revision 643 - Directory Listing
Modified Wed Jun 7 11:13:45 2006 UTC (15 years, 6 months ago) by michael
- Killed get_maxrss().  Kinda useless and not very portable.
- count_memory(): replaced all longs with size_t


Revision 641 - Directory Listing
Modified Wed Jun 7 10:51:31 2006 UTC (15 years, 6 months ago) by michael
- Renamed basename() to libio_basename() and use it everywhere instead
  of glibc's basename
- Updated configure.ac accordingly


Revision 636 - Directory Listing
Modified Thu Jun 1 13:33:35 2006 UTC (15 years, 6 months ago) by db
- forward port disable fake channel from 7.2



Revision 628 - Directory Listing
Modified Mon May 29 20:04:32 2006 UTC (15 years, 6 months ago) by adx
Added contrib module for character set recoding

Note it doesn't work at the moment because listen{} itself
is not yet modularised.  Will probably also need some modifications
to include iconv headers and libraries in the build process.


Revision 609 - Directory Listing
Modified Tue May 16 10:42:05 2006 UTC (15 years, 6 months ago) by michael
- Killed the client_p parameter of hunt_server() as suggested
  by adx some time ago.


Revision 605 - Directory Listing
Modified Tue May 16 07:05:34 2006 UTC (15 years, 6 months ago) by michael
- Made find_chasing() only take 3 arguments
- Cleaned up find_person()


Revision 604 - Directory Listing
Modified Sun May 14 10:40:41 2006 UTC (15 years, 6 months ago) by michael
- Moved GLINE_PENDING_EXPIRE and CLEANUP_GLINES_TIME defines to m_gline.c


Revision 603 - Directory Listing
Modified Sun May 14 10:32:26 2006 UTC (15 years, 6 months ago) by michael
- Made cleanup_pending_glines() an event started off when loading
  the m_gline module
- Removed s_gline.c, s_gline.h and metadata.c


Revision 599 - Directory Listing
Modified Sat May 13 09:17:25 2006 UTC (15 years, 7 months ago) by michael
- Forward-ported r594,r598 (missing signal handlers for SIGXFSZ and SIGALRM)


Revision 580 - Directory Listing
Modified Mon May 1 21:27:23 2006 UTC (15 years, 7 months ago) by michael
- Minor changes to pending_gline struct to improve readability
- Fixed compile error in channel.c


Revision 571 - Directory Listing
Modified Fri Apr 28 06:48:08 2006 UTC (15 years, 7 months ago) by michael
- removed INVARIANTS leftover and updated configure.ac accordingly


Revision 551 - Directory Listing
Modified Fri Apr 21 14:57:03 2006 UTC (15 years, 7 months ago) by michael
- Fixed compile warnings


Revision 546 - Directory Listing
Modified Mon Apr 17 08:15:50 2006 UTC (15 years, 7 months ago) by michael
- check_client: remove this useless IRCD_SOCKET_ERROR case


Revision 539 - Directory Listing
Modified Sat Mar 25 10:17:25 2006 UTC (15 years, 8 months ago) by michael
- We do not need a local copy of addr in accept_connection()
  Made several functions use the const keyword for read-only
  parameters


Revision 534 - Directory Listing
Modified Tue Mar 21 19:06:29 2006 UTC (15 years, 8 months ago) by michael
- Renamed MAXPARA definition to IRCD_MAXPARA and moved it to ircd_defs.h
- Untabified parse.c


Revision 517 - Directory Listing
Modified Thu Mar 9 10:55:57 2006 UTC (15 years, 9 months ago) by michael
- Removed unused struct DNSQuery pointer from Listener structure


Revision 515 - Directory Listing
Modified Sun Mar 5 09:26:04 2006 UTC (15 years, 9 months ago) by michael
- Moved tstats() to m_stats.c and killed s_stats.(c|h)
- Got rid of extra ServerStats pointer
- Killed ms_error which was basically a duplication of m_error


Revision 513 - Directory Listing
Modified Sun Mar 5 08:28:01 2006 UTC (15 years, 9 months ago) by michael
- Moved m_error to core modules and made remaining command handlers use
  m_ignore instead of m_error


Revision 511 - Directory Listing
Modified Sat Mar 4 08:51:36 2006 UTC (15 years, 9 months ago) by michael
- Removed LL leftovers


Revision 502 - Directory Listing
Modified Fri Mar 3 19:49:25 2006 UTC (15 years, 9 months ago) by michael
- Implemented CAP command handler based uppon ircu's m_cap()
- Added somewhat outdated draft-mitchell-irc-capabilities-01.txt until
  I get the latest version from kev.
- Added "multi-prefix" cap so clients supporting "multi-prefix"
  may recieve multi prefixed NAMES replies, e.g. @%+nick1 @+nick2 ..
- Fixed "make clean" for src/conf/


Revision 501 - Directory Listing
Modified Thu Mar 2 10:40:42 2006 UTC (15 years, 9 months ago) by michael
- Removed all inlined versions of dlink* functions
- Added an assert()s to dlinkDelete()
- NDEBUG is now undefined by default for testing and beta versions


Revision 491 - Directory Listing
Modified Wed Mar 1 14:51:05 2006 UTC (15 years, 9 months ago) by michael
- Got rid of extra strlenS and redundant hash_find_channel() calls
- Cleaned up channel name validation routines
- mo_force: don't allow servers to be added to a channel



Revision 477 - Directory Listing
Modified Sat Feb 18 12:34:09 2006 UTC (15 years, 9 months ago) by adx
+ additional parameter 'exact' for find_module():

if NO, match only the canonical name i.e. m_part.ABC will match
m_part.so or built-in m_part (used to check if any version of a
module is loaded)

if YES, match the whole file name (used with /modunload and friends)


Revision 476 - Directory Listing
Modified Sat Feb 18 07:19:35 2006 UTC (15 years, 9 months ago) by michael
- Get operator.c to compile (with a few warnings)


Revision 474 - Directory Listing
Modified Sat Feb 18 02:12:40 2006 UTC (15 years, 9 months ago) by adx
+ finished modules API
+ now we need to put these mo_modload etc somewhere


Revision 467 - Directory Listing
Modified Tue Feb 14 00:27:11 2006 UTC (15 years, 9 months ago) by adx
+ module manager


Revision 461 - Directory Listing
Modified Mon Feb 13 01:28:16 2006 UTC (15 years, 9 months ago) by adx
+ rewritten dynlink.c, moved to libio


Revision 458 - Directory Listing
Modified Sun Feb 12 20:45:14 2006 UTC (15 years, 9 months ago) by michael
- Small changes so register_local_user() only takes 2 parameters instead of 4


Revision 453 - Directory Listing
Modified Sun Feb 12 18:56:55 2006 UTC (15 years, 9 months ago) by michael
- Get rid of can_send_part. This also fixes a bug where voiced clients
  weren't able to send a PART message to the channel.  Reported by ThaPrince.


Revision 450 - Directory Listing
Modified Sun Feb 12 13:16:27 2006 UTC (15 years, 9 months ago) by michael
- Removed unused 'nextconnect' var


Revision 449 - Directory Listing
Modified Sun Feb 12 11:04:23 2006 UTC (15 years, 9 months ago) by michael
- Cleaned up is_banned and can_join a bit


Revision 443 - Directory Listing
Modified Sat Feb 11 23:37:10 2006 UTC (15 years, 10 months ago) by adx
+ make it compile
+ fix contrib
+ fixed core when unloading spy_trace_notice, this one should be MFC'd
  (etrace_cb was not unhooked properly)


Revision 442 - Directory Listing
Modified Sat Feb 11 23:14:21 2006 UTC (15 years, 10 months ago) by adx
+ massive rewrite of module init/deinit/version headers,
  we are introducing a new module manager which deals with static
  and dynamic modules exactly the same way. (New possibilities
  include loading/unloading statically compiled modules and
  mixing static/dynamic ones in one build.)


Revision 421 - Directory Listing
Modified Fri Feb 10 14:26:35 2006 UTC (15 years, 10 months ago) by adx
+ make conf_add_field return pointer to ConfField


Revision 420 - Directory Listing
Modified Fri Feb 10 14:23:33 2006 UTC (15 years, 10 months ago) by adx
+ added support for syntax SECTION "value" { ...fields... };
  ConfSection has a field 'def_field', if non-NULL it will be
  assigned with the provided value.


Revision 407 - Directory Listing
Modified Wed Feb 8 12:46:29 2006 UTC (15 years, 10 months ago) by michael
- Merged set_autoconn() into quote_autoconn()


Revision 406 - Directory Listing
Modified Wed Feb 8 10:40:24 2006 UTC (15 years, 10 months ago) by michael
- Got rid of MAXCONFLINKS.  You can even have a billion connect{} blocks if you want..


Revision 405 - Directory Listing
Modified Tue Feb 7 19:38:35 2006 UTC (15 years, 10 months ago) by michael
- Removed now unused llflags parameter from sendto_server()



Revision 399 - Directory Listing
Modified Tue Feb 7 12:23:17 2006 UTC (15 years, 10 months ago) by michael
- Removed LL leftovers


Revision 398 - Directory Listing
Modified Tue Feb 7 12:00:21 2006 UTC (15 years, 10 months ago) by michael
- Ripped out lazylinks as discussed on irc. the main concept wasn't very well
  designed and will be done in a better way some day.  Anyways, they propably
  never worked and were considered bloat by most people.  Good bye!


Revision 381 - Directory Listing
Modified Sun Jan 29 10:27:33 2006 UTC (15 years, 10 months ago) by michael
- Cleaned up some special magic in show_iline_prefix.  Someone tell me why
  we should copy aconf->user into a separate buffer after the prefix? Also
  renamed it to make_iline_prefix.


Revision 379 - Directory Listing
Modified Sat Jan 28 08:31:31 2006 UTC (15 years, 10 months ago) by michael
- More preparations for the new u@h mask storage system, also
  added some small example to report_confitem_types() how to deal
  with it when reporting items



Revision 378 - Directory Listing
Modified Sat Jan 28 08:13:58 2006 UTC (15 years, 10 months ago) by michael
- Added mask_list dlink_list to MatchItem/AcccessItem structs.  These lists
  will later be used to hold a chain of hostmasks used for hub_mask, leaf_mask,
  and auth{}/oper{} user masks so we later don't need to duplicate a whole
  MatchItem or AcccessItem via ugly ColllecItems.


Revision 374 - Directory Listing
Modified Sat Jan 14 17:57:18 2006 UTC (15 years, 10 months ago) by michael
- More m_connect cleanups, I also never liked the idea of temporarily modifying
  a connect item, so let's do this a bit different now.


Revision 366 - Directory Listing
Modified Sun Jan 8 22:12:22 2006 UTC (15 years, 11 months ago) by adx
+ added support for integer enumeration in conf manager
+ will need this for listen{}


Revision 365 - Directory Listing
Modified Sun Jan 8 20:48:35 2006 UTC (15 years, 11 months ago) by adx
+ this should fix the bug with low ping timeouts for servers.
keep cleaning up the conf stuff.


Revision 364 - Directory Listing
Modified Sun Jan 8 15:39:24 2006 UTC (15 years, 11 months ago) by michael
- Entirely changed the way of ban match processing to be more cleaner.
  It also should nicely speed up matching of pure ip (may include cidr mask)
  bans.
- Removed match_cidr() which is now not longed needed
- Add back some prototypes to res.h to fix compile errors


Revision 359 - Directory Listing
Modified Fri Jan 6 16:34:35 2006 UTC (15 years, 11 months ago) by michael
- Rewrite find_user_host() to use split_nuh()


Revision 357 - Directory Listing
Modified Thu Jan 5 16:06:45 2006 UTC (15 years, 11 months ago) by michael
- Mainly re-wrote split_nuh() to fix a regexp kline bug where we would cut off
  the user portion after 9 chars, but also to be a bit more flexible when we
  have to deal with different user/host name lengths.
- Re-wrote m_capture() to use split_nuh()


Revision 354 - Directory Listing
Modified Sun Jan 1 12:42:26 2006 UTC (15 years, 11 months ago) by michael
- Made struct Message.bytes a 64-bit integer datatype


Revision 349 - Directory Listing
Modified Sat Dec 31 18:43:28 2005 UTC (15 years, 11 months ago) by michael
- Got rid of multiple bogus_host() copies


Revision 332 - Directory Listing
Modified Sun Dec 25 12:53:19 2005 UTC (15 years, 11 months ago) by michael
- Got rid of do_local_user() function


Revision 315 - Directory Listing
Modified Fri Dec 23 11:56:34 2005 UTC (15 years, 11 months ago) by michael
- Moved 'invited' dlink_list to LocalUser struct which will save
  some 1.3mb of ram on a typical efnet server.


Revision 297 - Directory Listing
Modified Mon Dec 5 22:18:41 2005 UTC (16 years ago) by nenolod
- Fix indentation style on metadata source, and enable keyword expansion. (sorry!)


Revision 296 - Directory Listing
Modified Mon Dec 5 20:41:51 2005 UTC (16 years ago) by nenolod
- Add a simple metadata API for extending channel/client/whatever structs
  via adding a single dlink_list to the structure you wish to make extensible.

Reviewed by db.


Revision 291 - Directory Listing
Modified Sun Dec 4 13:46:01 2005 UTC (16 years ago) by michael
- Fixed name clash between *FloodNoticed macros in client.h and channel.h


Revision 290 - Directory Listing
Modified Sun Dec 4 13:31:27 2005 UTC (16 years ago) by michael
- Moved has_wildcards() from m_list.c to match.c and re-use it
  in some other places.


Revision 284 - Directory Listing
Modified Sat Dec 3 09:54:52 2005 UTC (16 years ago) by michael
- Killed 'flood_noticed' int in LocalUser struct


Revision 283 - Directory Listing
Modified Sat Dec 3 09:33:51 2005 UTC (16 years ago) by michael
- Fixed missleading comment about LocalUser.last in LocalUser struct


Revision 278 - Directory Listing
Modified Wed Nov 23 08:18:57 2005 UTC (16 years ago) by db
- add a maxlisters /quote set
  limit the number of possible listings going on at once



Revision 267 - Directory Listing
Modified Sun Nov 13 22:54:08 2005 UTC (16 years ago) by adx
+ s/extern/EXTERN/ in include/conf
+ implemented class{} from scratch; it's almost done,
  I only need to add limit checking code
+ added nice syntax e.g. number_per_ip = 3, global:5;
+ added some aliases ie host_limit === number_per_ip,
  userhost_limit === number_per_userhost
  (replaces max_local & max_global mess)
+ check example.conf for more details.


Revision 249 - Directory Listing
Modified Thu Nov 10 13:41:31 2005 UTC (16 years, 1 month ago) by michael
- Moved serial to LocalUser part


Revision 235 - Directory Listing
Modified Sat Nov 5 11:31:51 2005 UTC (16 years, 1 month ago) by michael
- Fixed and cleaned up new acceptcode, e.g fix memory leaks,
  don't allow wildcards in a mask when removing accepts, don't
  allow redundant masks etc.


Revision 232 - Directory Listing
Modified Sat Nov 5 06:05:06 2005 UTC (16 years, 1 month ago) by db
- This commits the n!u@h accept code
  I'll tidy it up more later.



Revision 231 - Directory Listing
Modified Fri Nov 4 17:33:00 2005 UTC (16 years, 1 month ago) by michael
- Cleaned up watchcode


Revision 227 - Directory Listing
Modified Thu Nov 3 18:29:22 2005 UTC (16 years, 1 month ago) by db
- replace all MODE_PRIVATE with MODE_PARANOID
- Can't use make_dlink_node() too early in startup or it will core



Revision 224 - Directory Listing
Modified Thu Nov 3 17:05:46 2005 UTC (16 years, 1 month ago) by adx
+ added logging{} block. I hate to add this rusty code to new conf
  but it's the only way for now..
+ style corrections


Revision 223 - Directory Listing
Modified Thu Nov 3 15:42:51 2005 UTC (16 years, 1 month ago) by adx
+ moved max_watch to the beginning of 'registered users' subsection


Revision 221 - Directory Listing
Modified Thu Nov 3 15:36:27 2005 UTC (16 years, 1 month ago) by michael
- Finished WATCH implementation
- Added missing 'return' after register_remote_user() call in
  nick_from_server() which would cause an extra hash_del/strcpy/hash_add
  combination.


Revision 217 - Directory Listing
Modified Thu Nov 3 13:59:27 2005 UTC (16 years, 1 month ago) by michael
- Fixed compile error in m_invite.c and s_serv.c
- Added m_watch.c


Revision 216 - Directory Listing
Modified Thu Nov 3 12:42:52 2005 UTC (16 years, 1 month ago) by michael
- svn propset svn:keywords "Id"
- Use EXTERN for prototypes


Revision 215 - Directory Listing
Modified Thu Nov 3 12:16:56 2005 UTC (16 years, 1 month ago) by michael
- Finish off WATCH API


Revision 214 - Directory Listing
Modified Thu Nov 3 11:31:53 2005 UTC (16 years, 1 month ago) by michael
- Add watch.c


Revision 213 - Directory Listing
Modified Thu Nov 3 11:13:14 2005 UTC (16 years, 1 month ago) by michael
- First preparation for adding WATCH support


Revision 212 - Directory Listing
Modified Tue Nov 1 22:17:16 2005 UTC (16 years, 1 month ago) by adx
+ simple implementation of modules{}
+ ok this sucks, we need new module manager


Revision 211 - Directory Listing
Modified Tue Nov 1 21:42:01 2005 UTC (16 years, 1 month ago) by adx
- reorganisations which aim at:
  1) moving read_conf_files() at the end of daemon bootup process,
  2) making load_*_modules a part of conf parsing, after the 1st pass


Revision 209 - Directory Listing
Modified Tue Nov 1 19:28:42 2005 UTC (16 years, 1 month ago) by adx
+ coded new serverinfo
+ added parse_fatal, similar to parse_error but using L_CRIT and server_die
+ cold moved out from reset_conf, verify_conf callbacks to a global conf_cold


Revision 206 - Directory Listing
Modified Tue Nov 1 14:58:39 2005 UTC (16 years, 1 month ago) by adx
+ implemented admin{} support


Revision 205 - Directory Listing
Modified Tue Nov 1 14:13:53 2005 UTC (16 years, 1 month ago) by adx
+ implemented serverhide{}
+ added splitmode activation/deactivation to conf/channel.c


Revision 204 - Directory Listing
Modified Tue Nov 1 12:30:39 2005 UTC (16 years, 1 month ago) by adx
+ added missing call in init_conf()
+ added serverhide{} skeleton


Revision 203 - Directory Listing
Modified Tue Nov 1 12:24:28 2005 UTC (16 years, 1 month ago) by adx
+ implemented channel{}


Revision 200 - Directory Listing
Modified Tue Nov 1 11:38:41 2005 UTC (16 years, 1 month ago) by adx
+ removed invite_ops_only, controlled by +p now
+ sorted ircd.conf:channel{} a bit
+ added newconf framework for channel{}
+ added missing 7.2 RELNOTES



Revision 198 - Directory Listing
Modified Tue Nov 1 10:29:06 2005 UTC (16 years, 1 month ago) by michael
- Killed Channel.locmembers.  The few cycles we save aren't worth
  the memory wasteage.


Revision 194 - Directory Listing
Modified Thu Oct 27 18:56:46 2005 UTC (16 years, 1 month ago) by michael
- Fixed several compiletime warnings


Revision 192 - Directory Listing
Modified Wed Oct 26 11:48:57 2005 UTC (16 years, 1 month ago) by michael
- Killed count_whowas_memory()


Revision 191 - Directory Listing
Modified Tue Oct 25 13:18:44 2005 UTC (16 years, 1 month ago) by michael
- Rewrote whowas.c to use linked list routines from tools.c


Revision 190 - Directory Listing
Modified Sun Oct 23 22:06:17 2005 UTC (16 years, 1 month ago) by adx
* prototypes are now prefixed with either nothing or EXTERN
  (meaning it's an ircd.dll API)
* dynamic modules now work on win32.

Revision 188 - Directory Listing
Modified Sun Oct 23 20:40:34 2005 UTC (16 years, 1 month ago) by adx
* compile dynamic modules under win32

Revision 186 - Directory Listing
Modified Sun Oct 23 16:05:01 2005 UTC (16 years, 1 month ago) by db
- Q. When is an address not an address?
  A. When it is a handle!

  Keep track of handle address and base address of loaded module separately.
  The address is also used for modlist and could be derived in modlist
  from handle, but later.



Revision 185 - Directory Listing
Modified Sun Oct 23 15:39:00 2005 UTC (16 years, 1 month ago) by adx
* dynamic module support for win32


Revision 183 - Directory Listing
Modified Sun Oct 23 00:01:26 2005 UTC (16 years, 1 month ago) by adx
- copyright fixes


Revision 182 - Directory Listing
Modified Sat Oct 22 23:49:43 2005 UTC (16 years, 1 month ago) by adx
* implemented general{}


Revision 181 - Directory Listing
Modified Sat Oct 22 19:30:19 2005 UTC (16 years, 1 month ago) by adx
* finish last commit


Revision 180 - Directory Listing
Modified Sat Oct 22 19:26:46 2005 UTC (16 years, 1 month ago) by adx
* added general{} framework


Revision 179 - Directory Listing
Modified Sat Oct 22 11:23:29 2005 UTC (16 years, 1 month ago) by adx
- rearranged new conf headers a bit


Revision 178 - Directory Listing
Modified Sat Oct 22 10:02:43 2005 UTC (16 years, 1 month ago) by adx
- somehow it didn't get committed, fixing


Revision 165 - Directory Listing
Modified Fri Oct 21 03:50:50 2005 UTC (16 years, 1 month ago) by db
- committed configure changes by nenolod (William Pitcock)
  to check for HAVE_DLINFO
- fixed logic for picking up address for the mod_list



Revision 162 - Directory Listing
Modified Thu Oct 20 10:34:50 2005 UTC (16 years, 1 month ago) by michael
- Removed LocalUser.port


Revision 154 - Directory Listing
Modified Tue Oct 18 01:54:17 2005 UTC (16 years, 1 month ago) by lusky
bump patchlevel to 7.3beta.  Change this to 7.3beta1 when we are ready to release beta1.



Revision 153 - Directory Listing
Modified Mon Oct 17 21:20:34 2005 UTC (16 years, 1 month ago) by adx
- compile libio as a dll on win32
- next step is compiling the whole ircd as a dll to export its symbols
- after that, we'll be able to support loadable *.dll modules.

NOTE: m_operspy.c doesn't compile now (error at localClient->iline)

Revision 146 - Directory Listing
Modified Sun Oct 16 15:45:25 2005 UTC (16 years, 1 month ago) by db
- More conf cleanups, aconf->client count is no longer needed
  as an AccessItem can now be deleted immediately.
- Note bug in s_conf.c with flush_deleted_I_P, it was trying to
  free MatchItems using an AccessConf this bug is in 7.1.4 as well
  as 7.2 flush_deleted_I_P() is no longer needed at all in 7.3
  since AccessItems are removed immediately.
- Fixed a few cores in server establishment, notably ->serv
  has to be allocated sooner since there are no confs to attach.
  make_server() is probably called once too often now.



Revision 141 - Directory Listing
Modified Sun Oct 16 06:29:10 2005 UTC (16 years, 1 month ago) by db
- Make ->conf conf_ptr to be consistent in all places.



Revision 140 - Directory Listing
Modified Sun Oct 16 06:09:42 2005 UTC (16 years, 1 month ago) by db
- removed free_access_item()
- a few cleanups in s_conf.h as well



Revision 139 - Directory Listing
Modified Sun Oct 16 06:01:13 2005 UTC (16 years, 1 month ago) by db
- get rid of map_conf_item and unmap_conf_item
- Use an union in struct ConfItem, but only allocate memory needed



Revision 131 - Directory Listing
Modified Sat Oct 15 16:22:20 2005 UTC (16 years, 1 month ago) by db
- Make delete_conf_item() table driven

Still not quite done.



Revision 129 - Directory Listing
Modified Fri Oct 14 20:27:45 2005 UTC (16 years, 1 month ago) by michael
- Don't do any client/oper conf attach at all if any possible


Revision 128 - Directory Listing
Modified Fri Oct 14 19:29:26 2005 UTC (16 years, 1 month ago) by db
- still need a temporary copy of the client auth block
  for much the same reasons as a copy of the passwd is needed.
- need a copy of the oper conf for get_oper_name() so reuse no longer
  needed temporary spot for client auth block



Revision 126 - Directory Listing
Modified Fri Oct 14 02:41:46 2005 UTC (16 years, 1 month ago) by db
- attach/conf cleanup take 2
- Each client has now one AccessItem for its connect
  stored in localClient->iline
- The corresponding class is now stored in localClient->class

The ramifications of this move are, there is no conf list to traverse
to find the AccessItem, the class is instantly available from the localClient
struct without having to traverse the confs list and indirectly through the
aconf. This speeds up get_sendq etc. functions. As a bonus, at least
4 fewer bytes are used in the Client struct, since a dlink list is 4 words.
It does mean there is no longer a separate conf oper, which leads to the
kludge of patching the clients iline into an oper conf when
a client opers up. I don't think the oper flags are used after the client
is opered, so the patching operation may not be necessary.

- Server confs are stored in ->serv->sconf as before but attaching
  happens much earlier.
- server hub/leaf masks continues to be a dlink list but linked from
  the ->serv which is only allocated for servers.

- cleaned up some comments, added a comment, notably to check_server()
  which badly needed it.
- Pass ClassItem or AccessItem etc. in when it makes more sense than passing
  in struct ConfItem. This simplified and clarified rebuild_cidr_class()

And lo, there was a great rejoicing.



Revision 120 - Directory Listing
Modified Thu Oct 13 09:51:10 2005 UTC (16 years, 2 months ago) by michael
- More TBURST changes


Revision 116 - Directory Listing
Modified Wed Oct 12 17:11:55 2005 UTC (16 years, 2 months ago) by knight
- More GCC4 fixes


Revision 114 - Directory Listing
Modified Wed Oct 12 15:03:54 2005 UTC (16 years, 2 months ago) by knight
- Missing struct


Revision 107 - Directory Listing
Modified Tue Oct 11 18:33:58 2005 UTC (16 years, 2 months ago) by adx
- fixed header name collision on linux *yawn*


Revision 101 - Directory Listing
Modified Mon Oct 10 03:52:14 2005 UTC (16 years, 2 months ago) by db
- First pass at s_conf.c cleanup for attach clients
- attach_conf() is gone replaced with attach_iline()
  Clients/servers have one single I line "attached", i.e. the confs
  list is gone.
- Add attach_leaf_hub()
  Add a leaf or hub mask to the given server, ->serv must exist
  since there can be a list of hub masks and leaf masks, this continues
  to be a dlink list
- Removed redundant find_conf_exact()
  This function can be replaced in all cases with find_exact_name_conf()
  notably because all find_conf_exact did differently was count whether
  an oper conf would cause an already connected client to exceed class limits.
- oper_up() now takes an extra conf pointer pointing to the found
  oper conf, the oper flags are set in the client->iline as necessary
  in oper_up()
- Cleaned up more prototypes that should have been moved from s_conf.h
  to parse_aline.h notably. find_kill() and find_gkill()
- m_stats.c needs more cleanup since memory in attached "confs" is now
  not counted. This should be replaced with iline memory count and
  hub/leaf confs memory count.
  


Revision 99 - Directory Listing
Modified Sun Oct 9 14:33:36 2005 UTC (16 years, 2 months ago) by michael
- CHANNELLEN vs. LOCAL_CHANNELLEN fix.  Local JOINs are limited to 50chars whereas
  remote SJOINs/JOINs can be upto 200chars for backwards compatibility.


Revision 98 - Directory Listing
Modified Sun Oct 9 10:15:07 2005 UTC (16 years, 2 months ago) by michael
- Moved llname to LocalUser struct


Revision 97 - Directory Listing
Modified Sun Oct 9 08:42:57 2005 UTC (16 years, 2 months ago) by michael
- Got rid of restart(), cleaned up m_restart() and make it use server_die()


Revision 91 - Directory Listing
Modified Sat Oct 8 03:46:09 2005 UTC (16 years, 2 months ago) by db
- Split out most of the *line *resv stuff into separate file
  parse_aline.c should go eventually into the subdir conf
- removed double -o in Makefile.in in src, this caused compile to fail for me



Revision 90 - Directory Listing
Modified Fri Oct 7 02:04:15 2005 UTC (16 years, 2 months ago) by knight
- Finialise svn:ignore keywords to fix everything


Revision 89 - Directory Listing
Modified Thu Oct 6 21:22:58 2005 UTC (16 years, 2 months ago) by adx
- added dynamically extensible conf parser (compiles ok); enough to start
  modularising general{} -> general.c, auth{} -> auth.c and so on.


Revision 78 - Directory Listing
Modified Tue Oct 4 21:16:00 2005 UTC (16 years, 2 months ago) by adx
- further win32 fixes, use ircd_signal.c interface (signals are wrapped
  around WM_USER's wParam)
- note that the callback for WM_SIGNAL (ie WM_USER) defined in libio is
  independent from the ircd, ie variable dispatch_wm_signal is set in
  ircd_signal.c.
- now it compiles, to do: turn libio into a DLL to allow symbol references
  in m_*.dll protocol modules.

Revision 77 - Directory Listing
Modified Tue Oct 4 20:45:31 2005 UTC (16 years, 2 months ago) by adx
- misc win32 fixes

Revision 70 - Directory Listing
Modified Tue Oct 4 16:21:07 2005 UTC (16 years, 2 months ago) by adx
- fixed errors on last commit
- moved rlimits.h to comm


Revision 69 - Directory Listing
Modified Tue Oct 4 16:09:51 2005 UTC (16 years, 2 months ago) by adx
- splitted ircd/libio, all headers connected with libio sources have been
  moved for internal use only. To use libio interface, include "libio.h"
  (which is already done in "stdinc.h")



Revision 68 - Directory Listing
Modified Tue Oct 4 00:44:29 2005 UTC (16 years, 2 months ago) by adx
- removed last references to the ircd core, libio is independent now
- to do: split headers


Revision 67 - Directory Listing
Modified Mon Oct 3 23:50:49 2005 UTC (16 years, 2 months ago) by adx
- removed external references from libio/net, still to do: comm


Revision 65 - Directory Listing
Modified Mon Oct 3 23:33:16 2005 UTC (16 years, 2 months ago) by adx
- removed external references from libio/misc
- imported s_misc.c to libio, moved CurrentTime there


Revision 64 - Directory Listing
Modified Mon Oct 3 22:50:22 2005 UTC (16 years, 2 months ago) by adx
- removed external references from string/
- still to do : misc net comm


Revision 62 - Directory Listing
Modified Mon Oct 3 22:23:39 2005 UTC (16 years, 2 months ago) by adx
- reorganisation goes on, removed external references from libio/mem


Revision 61 - Directory Listing
Modified Mon Oct 3 21:20:41 2005 UTC (16 years, 2 months ago) by adx
- split libio Makefiles for easier maintenance
- moved pcre.h to main include/ as it is currently a part
  of libio interface (in the future all such headers should
  be moved to libio/ and integrated...)

Now, libio components like comm, misc etc. should be as independent
as possible (from the rest of ircd and from each other), to allow
easy reuse in other software and to keep the interface clean.



Revision 60 - Directory Listing
Modified Mon Oct 3 15:51:34 2005 UTC (16 years, 2 months ago) by adx
- separate interface (irc_res.h) and implementation (irc_reslib.h)
- moved resolver from comm/ to net/


Revision 55 - Directory Listing
Modified Mon Oct 3 11:15:26 2005 UTC (16 years, 2 months ago) by michael
- Re-added an equivalent of H6's sixth O-line field (Modes to get on operup).
- Updated efnet's example.conf to reflect the new
  opers_bypass_callerid directive
- Misc style corrections to s_user.c while on it


Revision 49 - Directory Listing
Modified Mon Oct 3 01:42:27 2005 UTC (16 years, 2 months ago) by adx
- committing from src/ is generally bad ..


Revision 45 - Directory Listing
Modified Mon Oct 3 01:08:50 2005 UTC (16 years, 2 months ago) by lusky
change to static "SVN"



Revision 44 - Directory Listing
Modified Mon Oct 3 00:23:21 2005 UTC (16 years, 2 months ago) by lusky
switch to SVN Revision for serno


Revision 33 - Directory Listing
Modified Sun Oct 2 20:50:00 2005 UTC (16 years, 2 months ago) by knight
- svn:keywords


Revision 32 - Directory Listing
Modified Sun Oct 2 20:41:23 2005 UTC (16 years, 2 months ago) by knight
- svn:keywords


Revision 31 - Directory Listing
Modified Sun Oct 2 20:34:05 2005 UTC (16 years, 2 months ago) by knight
- Fix svn:keywords


Revision 30 - Directory Listing
Added Sun Oct 2 20:03:27 2005 UTC (16 years, 2 months ago) by adx
- imported sources
- can be moved later according to the directory/branching scheme,
  but we need the svn up


svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28