ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/include/client.h
Revision 283 - (view) (annotate) - [select for diffs]
Modified Sat Dec 3 09:33:51 2005 UTC (18 years, 3 months ago) by michael
File length: 24787 byte(s)
Diff to previous 249 , to selected 162
- Fixed missleading comment about LocalUser.last in LocalUser struct

Revision 249 - (view) (annotate) - [select for diffs]
Modified Thu Nov 10 13:41:31 2005 UTC (18 years, 4 months ago) by michael
File length: 24765 byte(s)
Diff to previous 235 , to selected 162
- Moved serial to LocalUser part

Revision 235 - (view) (annotate) - [select for diffs]
Modified Sat Nov 5 11:31:51 2005 UTC (18 years, 4 months ago) by michael
File length: 24765 byte(s)
Diff to previous 232 , to selected 162
- 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 - (view) (annotate) - [select for diffs]
Modified Sat Nov 5 06:05:06 2005 UTC (18 years, 4 months ago) by db
File length: 24660 byte(s)
Diff to previous 213 , to selected 162
- This commits the n!u@h accept code
  I'll tidy it up more later.


Revision 213 - (view) (annotate) - [select for diffs]
Modified Thu Nov 3 11:13:14 2005 UTC (18 years, 4 months ago) by michael
File length: 24826 byte(s)
Diff to previous 191 , to selected 162
- First preparation for adding WATCH support

Revision 191 - (view) (annotate) - [select for diffs]
Modified Tue Oct 25 13:18:44 2005 UTC (18 years, 5 months ago) by michael
File length: 24703 byte(s)
Diff to previous 190 , to selected 162
- Rewrote whowas.c to use linked list routines from tools.c

Revision 190 - (view) (annotate) - [select for diffs]
Modified Sun Oct 23 22:06:17 2005 UTC (18 years, 5 months ago) by adx
File length: 24707 byte(s)
Diff to previous 162
* prototypes are now prefixed with either nothing or EXTERN
  (meaning it's an ircd.dll API)
* dynamic modules now work on win32.
Revision 162 - (view) (annotate) - [selected]
Modified Thu Oct 20 10:34:50 2005 UTC (18 years, 5 months ago) by michael
File length: 24741 byte(s)
Diff to previous 129
- Removed LocalUser.port

Revision 129 - (view) (annotate) - [select for diffs]
Modified Fri Oct 14 20:27:45 2005 UTC (18 years, 5 months ago) by michael
File length: 24808 byte(s)
Diff to previous 128 , to selected 162
- Don't do any client/oper conf attach at all if any possible

Revision 128 - (view) (annotate) - [select for diffs]
Modified Fri Oct 14 19:29:26 2005 UTC (18 years, 5 months ago) by db
File length: 24888 byte(s)
Diff to previous 126 , to selected 162
- 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 - (view) (annotate) - [select for diffs]
Modified Fri Oct 14 02:41:46 2005 UTC (18 years, 5 months ago) by db
File length: 24876 byte(s)
Diff to previous 101 , to selected 162
- 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 101 - (view) (annotate) - [select for diffs]
Modified Mon Oct 10 03:52:14 2005 UTC (18 years, 5 months ago) by db
File length: 24816 byte(s)
Diff to previous 98 , to selected 162
- 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 98 - (view) (annotate) - [select for diffs]
Modified Sun Oct 9 10:15:07 2005 UTC (18 years, 5 months ago) by michael
File length: 24766 byte(s)
Diff to previous 69 , to selected 162
- Moved llname to LocalUser struct

Revision 69 - (view) (annotate) - [select for diffs]
Modified Tue Oct 4 16:09:51 2005 UTC (18 years, 5 months ago) by adx
File length: 24815 byte(s)
Diff to previous 68 , to selected 162
- 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 - (view) (annotate) - [select for diffs]
Modified Tue Oct 4 00:44:29 2005 UTC (18 years, 5 months ago) by adx
File length: 24893 byte(s)
Diff to previous 65 , to selected 162
- removed last references to the ircd core, libio is independent now
- to do: split headers

Revision 65 - (view) (annotate) - [select for diffs]
Modified Mon Oct 3 23:33:16 2005 UTC (18 years, 5 months ago) by adx
File length: 24921 byte(s)
Diff to previous 33 , to selected 162
- removed external references from libio/misc
- imported s_misc.c to libio, moved CurrentTime there

Revision 33 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:50:00 2005 UTC (18 years, 5 months ago) by knight
File length: 24796 byte(s)
Diff to previous 32 , to selected 162
- svn:keywords

Revision 32 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:41:23 2005 UTC (18 years, 5 months ago) by knight
File length: 24796 byte(s)
Diff to previous 31 , to selected 162
- svn:keywords

Revision 31 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:34:05 2005 UTC (18 years, 5 months ago) by knight
File length: 24796 byte(s)
Diff to previous 30 , to selected 162
- Fix svn:keywords

Revision 30 - (view) (annotate) - [select for diffs]
Added Sun Oct 2 20:03:27 2005 UTC (18 years, 5 months ago) by adx
File length: 24843 byte(s)
Diff to selected 162
- imported sources
- can be moved later according to the directory/branching scheme,
  but we need the svn up

(Current path doesn't exist after revision 1586)

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