ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/vendor/ircservices-5.1.24/servers.h
Revision: 3389
Committed: Fri Apr 25 14:12:15 2014 UTC (9 years, 11 months ago) by michael
Content type: text/x-chdr
File size: 1298 byte(s)
Log Message:
- Imported ircservices-5.1.24

File Contents

# Content
1 /* Online server data.
2 *
3 * IRC Services is copyright (c) 1996-2009 Andrew Church.
4 * E-mail: <achurch@achurch.org>
5 * Parts written by Andrew Kempe and others.
6 * This program is free but copyrighted software; see the file GPL.txt for
7 * details.
8 */
9
10 #ifndef SERVERS_H
11 #define SERVERS_H
12
13 /*************************************************************************/
14
15 struct server_ {
16 Server *next, *prev; /* Use to navigate the entire server list */
17 Server *hub; /* Server's hub from our point of view */
18 Server *child, *sibling; /* Server's children from our P.O.V. */
19
20 int fake; /* Is this a "fake" (root/juped) server? */
21 char *name; /* Server's name */
22 time_t t_join; /* Time server joined us (0 == not here). */
23
24 User *userlist; /* List of users on server. NOTE: this is
25 * linked via snext/sprev, not next/prev. */
26
27 ServerStats *stats;
28 };
29
30 /*************************************************************************/
31
32 #endif /* SERVERS_H */
33
34 /*
35 * Local variables:
36 * c-file-style: "stroustrup"
37 * c-file-offsets: ((case-label . *) (statement-case-intro . *))
38 * indent-tabs-mode: nil
39 * End:
40 *
41 * vim: expandtab shiftwidth=4:
42 */