../
|
core/
|
126
(18 years 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.
|
m_testline.c
|
135
(18 years ago)
by db:
- m_testline fix using split_nuh()
|
m_oper.c
|
129
(18 years ago)
by michael:
- Don't do any client/oper conf attach at all if any possible
|
m_etrace.c
|
128
(18 years 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
|
m_trace.c
|
128
(18 years 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
|
m_user.c
|
126
(18 years 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.
|
m_pong.c
|
126
(18 years 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.
|
m_cryptlink.c
|
126
(18 years 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.
|
Makefile.in
|
123
(18 years ago)
by adx:
- renamed m_tb.c to m_tburst.c [could not resist]
|
m_tburst.c
|
123
(18 years ago)
by adx:
- renamed m_tb.c to m_tburst.c [could not resist]
|
m_links.c
|
104
(18 years ago)
by adx:
- fixed core on /links
|
m_challenge.c
|
101
(18 years 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.
|
m_stats.c
|
101
(18 years 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.
|
m_llnick.c
|
98
(18 years ago)
by michael:
- Moved llname to LocalUser struct
|
m_restart.c
|
97
(18 years ago)
by michael:
- Got rid of restart(), cleaned up m_restart() and make it use server_die()
|
m_whois.c
|
92
(18 years ago)
by michael:
- Fixed bug in m_whois() that would allow users to send a WHOIS to remote
servers with an empty argument via "WHOIS someserver.org :"
|
m_kline.c
|
91
(18 years 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
|
m_locops.c
|
91
(18 years 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
|
m_rkline.c
|
91
(18 years 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
|
m_rxline.c
|
91
(18 years 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
|
m_xline.c
|
91
(18 years 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
|
m_resv.c
|
91
(18 years 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
|
m_gline.c
|
91
(18 years 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
|
m_capab.c
|
69
(18 years 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")
|
m_close.c
|
69
(18 years 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")
|
m_connect.c
|
69
(18 years 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")
|
m_map.c
|
69
(18 years 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")
|
m_admin.c
|
69
(18 years 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")
|
m_operwall.c
|
69
(18 years 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")
|
m_omotd.c
|
69
(18 years 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")
|
m_accept.c
|
69
(18 years 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")
|
m_userhost.c
|
69
(18 years 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")
|
m_lljoin.c
|
69
(18 years 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")
|
m_svinfo.c
|
69
(18 years 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")
|
m_away.c
|
69
(18 years 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")
|
m_rehash.c
|
69
(18 years 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")
|
m_whowas.c
|
69
(18 years 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")
|
m_testmask.c
|
69
(18 years 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")
|
m_cburst.c
|
69
(18 years 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")
|
m_encap.c
|
69
(18 years 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")
|
m_info.c
|
69
(18 years 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")
|
m_invite.c
|
69
(18 years 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")
|
m_nburst.c
|
69
(18 years 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")
|
m_help.c
|
69
(18 years 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")
|
m_drop.c
|
69
(18 years 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")
|
m_ison.c
|
69
(18 years 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")
|
m_who.c
|
69
(18 years 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")
|
m_knock.c
|
69
(18 years 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")
|
m_ping.c
|
69
(18 years 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")
|
m_hash.c
|
69
(18 years 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")
|
m_set.c
|
69
(18 years 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")
|
m_time.c
|
69
(18 years 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")
|
m_topic.c
|
69
(18 years 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")
|
m_names.c
|
69
(18 years 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")
|
m_list.c
|
69
(18 years 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")
|
m_motd.c
|
69
(18 years 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")
|
m_pass.c
|
69
(18 years 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")
|
m_wallops.c
|
69
(18 years 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")
|
m_users.c
|
33
(18 years ago)
by knight:
- svn:keywords
|
m_version.c
|
33
(18 years ago)
by knight:
- svn:keywords
|
m_lusers.c
|
33
(18 years ago)
by knight:
- svn:keywords
|
m_post.c
|
33
(18 years ago)
by knight:
- svn:keywords
|
m_eob.c
|
33
(18 years ago)
by knight:
- svn:keywords
|