Main Page | Class List | File List | Class Members

ace-radius/Radius.h

00001 /* 00002 * This source file is part of the ace-radius-linux library. This code was 00003 * written by Alex Agranov in 2004-2009, and is covered by the BSD open source 00004 * license. Refer to the accompanying documentation for details on usage and 00005 * license. 00006 */ 00007 00008 #ifndef _RADIUS_H__ 00009 #define _RADIUS_H__ 00010 00011 #include <stdlib.h> 00012 #ifdef _MSC_VER 00013 #ifndef _MSC_INTTYPES_H_ 00014 #define _MSC_INTTYPES_H_ 00015 // Visual Studio 6 and Embedded Visual C++ 4 doesn't 00016 // realize that, e.g. char has the same size as __int8 00017 // so we give up on __intX for them. 00018 typedef unsigned short uint16_t; 00019 typedef unsigned int uint32_t; 00020 typedef unsigned short in_port_t; 00021 typedef unsigned long in_addr_t; 00022 #endif // _MSC_INTTYPES_H_ 00023 #else 00024 #include <inttypes.h> 00025 #endif 00026 00027 // return codes 00028 #define RC_SUCCESS 0 00029 #define RC_FAIL -1 00030 00031 // standard ports 00032 #define D_RADIUS_AUTHENTICATION_PORT 1812 00033 #define D_RADIUS_ACCOUNTING_PORT 1813 00034 00035 #endif // _RADIUS_H__ 00036

Generated on Tue Aug 11 18:35:06 2009 for ace-radius by doxygen 1.3.7-20040704