1 /* ToolKit.h 2 * 3 * Copyright 2003 - 2005, Michael Robinton <michael@bizsystems.com> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 */ 19 20 #ifndef NS_GET16 21 #define NS_GET16 GETSHORT 22 #endif 23 24 #ifndef NS_PUT16 25 #define NS_PUT16 PUTSHORT 26 #endif 27 28 #ifndef NS_GET32 29 #define NS_GET32 GETLONG 30 #endif 31 32 #ifndef NS_PUT32 33 #define NS_PUT32 PUTLONG 34 #endif 35 36 #ifndef NS_INT32SZ 37 #define NS_INT32SZ INT32SZ 38 #endif 39 40 #ifndef NS_INT16SZ 41 #define NS_INT16SZ INT16SZ 42 #endif 43 44 #ifndef NS_INADDRSZ 45 #define NS_INADDRSZ INADDRSZ 46 #endif 47 48 #ifndef NS_HFIXEDSZ 49 #define NS_HFIXEDSZ HFIXEDSZ 50 #endif 51 52 #ifndef NS_IN6ADDRSZ 53 #define NS_IN6ADDRSZ 16 54 #endif 55 56 #ifndef MAXDNAME 57 # ifndef NS_MAXDNAME 58 # define NS_MAXDNAME 1025 59 # endif 60 #define MAXDNAME NS_MAXDNAME 61 #endif 62