2 * Userload module by Michael L. VanLoon (mlv) <michaelv@iastate.edu>
3 * Written 2/93. Originally grafted into irc2.7.2g 4/93.
4 * Rewritten 9/97 by Carlo Wood for ircu2.10.01.
6 * IRC - Internet Relay Chat, ircd/userload.h
7 * Copyright (C) 1990 University of Oulu, Computing Center
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 1, or (at your option)
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25 #ifndef INCLUDED_userload_h
26 #define INCLUDED_userload_h
35 struct current_load_st {
36 unsigned int client_count;
37 unsigned int local_count;
38 unsigned int conn_count;
45 extern void update_load(void);
46 extern void calc_load(struct Client *sptr, struct StatDesc *sd, int stat,
48 extern void initload(void);
50 extern struct current_load_st current_load;
52 #endif /* INCLUDED_userload_h */