Cullen Jennings | 235513a | 2005-09-21 22:51:36 +0000 | [diff] [blame^] | 1 | /* |
| 2 | * config_in.h |
| 3 | * |
| 4 | * template for header config file for Secure RTP and UST implementation |
| 5 | * |
| 6 | * David A. McGrew |
| 7 | * Cisco Systems, Inc. |
| 8 | */ |
| 9 | |
| 10 | |
| 11 | #ifndef CONFIG_H |
| 12 | #define CONFIG_H |
| 13 | |
| 14 | /* if we're on a big endian machine, we need to define this */ |
| 15 | |
| 16 | #define WORDS_BIGENDIAN 0 |
| 17 | |
| 18 | /* check for <stdint.h> or <machine/types.h> */ |
| 19 | |
| 20 | #define HAVE_STDINT_H 0 |
| 21 | #define HAVE_MACHINE_TYPES_H 0 |
| 22 | #define HAVE_SYS_INT_TYPES_H 0 |
| 23 | |
| 24 | /* check for microsoft integer definitions (e.g., cygwin) */ |
| 25 | |
| 26 | #define HAVE_MS_TYPES 1 |
| 27 | |
| 28 | /* if we don't have uio.h, we'll need to define struct iovec */ |
| 29 | |
| 30 | #define HAVE_SYS_UIO_H 0 |
| 31 | |
| 32 | /* <unistd.h> is used by some test/ apps */ |
| 33 | |
| 34 | #define HAVE_UNISTD_H 0 |
| 35 | |
| 36 | /* test apps should use inet_aton(), if it's available */ |
| 37 | |
| 38 | #define HAVE_INET_ATON 0 |
| 39 | |
| 40 | /* check if we have syslog functions */ |
| 41 | |
| 42 | #define HAVE_SYSLOG_H 0 |
| 43 | |
| 44 | /* check to see if the user has requested the use of syslog */ |
| 45 | |
| 46 | #define USE_SYSLOG 0 |
| 47 | |
| 48 | #define ERR_REPORTING_STDOUT 0 |
| 49 | |
| 50 | #define ERR_REPORTING_SYSLOG (HAVE_SYSLOG_H & USE_SYSLOG) |
| 51 | |
| 52 | /* define ERR_REPORTING_FILE to have messages sent to file */ |
| 53 | |
| 54 | #define ERR_REPORTING_FILE |
| 55 | |
| 56 | /* |
| 57 | * set ENABLE_DEBUGGING to 1 to compile in dynamic debugging system, |
| 58 | * set it to 0 to not compile in dynamic debugging (for a slight |
| 59 | * performance improvement) |
| 60 | */ |
| 61 | |
| 62 | #define ENABLE_DEBUGGING 0 |
| 63 | |
| 64 | /* if we're going to use GDOI, define SRTP_GDOI to 1 */ |
| 65 | |
| 66 | #define SRTP_GDOI 0 |
| 67 | |
| 68 | /* |
| 69 | * CPU_type is defined as 1 if the host processor is of that type. |
| 70 | * Note that more than one type can be defined at once; this is so |
| 71 | * that special instructions and other optimizations can be handled |
| 72 | * independently. |
| 73 | * |
| 74 | * CPU_RISC RISC machines (assume slow byte access) |
| 75 | * CPU_CISC CISC machines (e.g. Intel) |
| 76 | * CPU_ALTIVEC Motorola's SIMD instruction set |
| 77 | * |
| 78 | */ |
| 79 | |
| 80 | #define CPU_RISC 0 |
| 81 | #define CPU_CISC 0 |
| 82 | #define CPU_ALTIVEC 0 |
| 83 | |
| 84 | /* |
| 85 | * if /dev/random is available, then DEV_RANDOM == 1 |
| 86 | * |
| 87 | * /dev/random is a (true) random number generator which is |
| 88 | * implemented in many modern operating systems |
| 89 | */ |
| 90 | |
| 91 | #define DEV_RANDOM 0 |
| 92 | |
| 93 | /* check for stdlib.h - we use it for xalloc() and free() */ |
| 94 | |
| 95 | #define HAVE_STDLIB_H 0 |
| 96 | |
| 97 | /* whether to use ismacryp code */ |
| 98 | #define GENERIC_AESICM 0 |
| 99 | |
| 100 | #endif /* CONFIG_H */ |
| 101 | |
| 102 | |
| 103 | |
| 104 | |