4 |
# include <config.h> |
# include <config.h> |
5 |
#endif |
#endif |
6 |
|
|
7 |
|
#ifdef HAVE_BYTESWAP_H |
8 |
|
# include <byteswap.h> |
9 |
|
#endif |
10 |
|
|
11 |
|
#ifdef HAVE_SYS_ENDIAN_H |
12 |
|
# include <sys/endian.h> |
13 |
|
#endif |
14 |
|
|
15 |
|
#ifdef HAVE_MACHINE_ENDIAN_H |
16 |
|
# include <machine/endian.h> |
17 |
|
#endif |
18 |
|
|
19 |
|
#ifdef HAVE_ENDIAN_H |
20 |
|
# include <endian.h> |
21 |
|
#endif |
22 |
|
|
23 |
|
|
24 |
|
#ifdef USE_LTDL |
25 |
|
# include "../libltdl/ltdl.h" |
26 |
|
#else |
27 |
|
# ifdef HAVE_DLFCN_H |
28 |
|
# include <dlfcn.h> |
29 |
|
# endif |
30 |
|
# define lt_dlexit() 0 |
31 |
|
# define lt_dlinit() 0 |
32 |
|
# define lt_dlclose(x) dlclose(x) |
33 |
|
# define lt_dlsym(x,y) dlsym(x,y) |
34 |
|
# define lt_dlhandle void* |
35 |
|
# define lt_ptr_t void* |
36 |
|
# define lt_dlerror dlerror |
37 |
|
#endif |
38 |
|
|
39 |
#ifdef STDC_HEADERS |
#ifdef STDC_HEADERS |
40 |
# include <string.h> |
# include <string.h> |
41 |
# include <stdlib.h> |
# include <stdlib.h> |
42 |
# include <stdio.h> |
# include <stdio.h> |
43 |
#endif |
#endif |
44 |
|
|
45 |
|
#ifdef HAVE_SYS_TYPES_H |
46 |
|
# include <sys/types.h> |
47 |
|
#endif |
48 |
|
|
49 |
#ifdef HAVE_DIRENT_H |
#ifdef HAVE_DIRENT_H |
50 |
# include <dirent.h> |
# include <dirent.h> |
51 |
#endif |
#endif |
94 |
# endif |
# endif |
95 |
#endif |
#endif |
96 |
|
|
97 |
|
|
98 |
|
#define MAX_KEY_LEN 513 /* for gen_key */ |