diff options
Diffstat (limited to '')
-rw-r--r-- | src/stats.c | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/src/stats.c b/src/stats.c index 1ffeaff..83b3709 100644 --- a/src/stats.c +++ b/src/stats.c @@ -1,24 +1,28 @@ -/* $Id: stats.c,v 1.18 2005-08-15 03:54:31 rjkaes Exp $ +/* tinyproxy - A fast light-weight HTTP proxy + * Copyright (C) 2000 Robert James Kaes <rjkaes@users.sourceforge.net> * - * This module handles the statistics for tinyproxy. There are only two + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +/* This module handles the statistics for tinyproxy. There are only two * public API functions. The reason for the functions, rather than just a * external structure is that tinyproxy is now multi-threaded and we can * not allow more than one child to access the statistics at the same * time. This is prevented by a mutex. If there is a need for more * statistics in the future, just add to the structure, enum (in the header), * and the switch statement in update_stats(). - * - * Copyright (C) 2000 Robert James Kaes (rjkaes@users.sourceforge.net) - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation; either version 2, or (at your option) any - * later version. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. */ #include "tinyproxy.h" |