1 /* 2 * Copyright (C) 2007 Ted Bullock <tbullock@canada.com> 3 * 4 * This file is part of httperf, a web server performance measurment tool. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License as published by the Free 8 * Software Foundation; either version 2 of the License, or (at your option) 9 * any later version. 10 * 11 * In addition, as a special exception, the copyright holders give permission 12 * to link the code of this work with the OpenSSL project's "OpenSSL" library 13 * (or with modified versions of it that use the same license as the "OpenSSL" 14 * library), and distribute linked combinations including the two. You must 15 * obey the GNU General Public License in all respects for all of the code 16 * used other than "OpenSSL". If you modify this file, you may extend this 17 * exception to your version of the file, but you are not obligated to do so. 18 * If you do not wish to do so, delete this exception statement from your 19 * version. 20 * 21 * This program is distributed in the hope that it will be useful, but WITHOUT 22 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 23 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 24 * more details. 25 * 26 * You should have received a copy of the GNU General Public License along 27 * with this program; if not, write to the Free Software Foundation, Inc., 51 28 * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 29 */ 30 31 #ifndef generic_types_h 32 #define generic_types_h 33 34 #include <sys/types.h> 35 #include <stdbool.h> 36 37 typedef union { 38 char c; 39 int i; 40 long l; 41 u_char uc; 42 u_int ui; 43 u_long ul; 44 u_wide uw; 45 float f; 46 double d; 47 void *vp; 48 const void *cvp; 49 } Any_Type; 50 51 typedef double Time; 52 53 #endif /* generic_types_h */ 54