diff options
Diffstat (limited to 'src/lib/libcrypto/txt_db/txt_db.h')
-rw-r--r-- | src/lib/libcrypto/txt_db/txt_db.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/lib/libcrypto/txt_db/txt_db.h b/src/lib/libcrypto/txt_db/txt_db.h index aca6dae393..58b9de1353 100644 --- a/src/lib/libcrypto/txt_db/txt_db.h +++ b/src/lib/libcrypto/txt_db/txt_db.h | |||
@@ -63,8 +63,8 @@ | |||
63 | extern "C" { | 63 | extern "C" { |
64 | #endif | 64 | #endif |
65 | 65 | ||
66 | #include "stack.h" | 66 | #include <openssl/stack.h> |
67 | #include "lhash.h" | 67 | #include <openssl/lhash.h> |
68 | 68 | ||
69 | #define DB_ERROR_OK 0 | 69 | #define DB_ERROR_OK 0 |
70 | #define DB_ERROR_MALLOC 1 | 70 | #define DB_ERROR_MALLOC 1 |
@@ -85,7 +85,6 @@ typedef struct txt_db_st | |||
85 | char **arg_row; | 85 | char **arg_row; |
86 | } TXT_DB; | 86 | } TXT_DB; |
87 | 87 | ||
88 | #ifndef NOPROTO | ||
89 | #ifdef HEADER_BIO_H | 88 | #ifdef HEADER_BIO_H |
90 | TXT_DB *TXT_DB_read(BIO *in, int num); | 89 | TXT_DB *TXT_DB_read(BIO *in, int num); |
91 | long TXT_DB_write(BIO *out, TXT_DB *db); | 90 | long TXT_DB_write(BIO *out, TXT_DB *db); |
@@ -99,17 +98,6 @@ void TXT_DB_free(TXT_DB *db); | |||
99 | char **TXT_DB_get_by_index(TXT_DB *db, int idx, char **value); | 98 | char **TXT_DB_get_by_index(TXT_DB *db, int idx, char **value); |
100 | int TXT_DB_insert(TXT_DB *db,char **value); | 99 | int TXT_DB_insert(TXT_DB *db,char **value); |
101 | 100 | ||
102 | #else | ||
103 | |||
104 | TXT_DB *TXT_DB_read(); | ||
105 | long TXT_DB_write(); | ||
106 | int TXT_DB_create_index(); | ||
107 | void TXT_DB_free(); | ||
108 | char **TXT_DB_get_by_index(); | ||
109 | int TXT_DB_insert(); | ||
110 | |||
111 | #endif | ||
112 | |||
113 | #ifdef __cplusplus | 101 | #ifdef __cplusplus |
114 | } | 102 | } |
115 | #endif | 103 | #endif |