diff options
Diffstat (limited to 'src/lib/libcrypto/txt_db/txt_db.h')
-rw-r--r-- | src/lib/libcrypto/txt_db/txt_db.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/txt_db/txt_db.h b/src/lib/libcrypto/txt_db/txt_db.h index 563392aeff..307e1ba23f 100644 --- a/src/lib/libcrypto/txt_db/txt_db.h +++ b/src/lib/libcrypto/txt_db/txt_db.h | |||
@@ -59,6 +59,7 @@ | |||
59 | #ifndef HEADER_TXT_DB_H | 59 | #ifndef HEADER_TXT_DB_H |
60 | #define HEADER_TXT_DB_H | 60 | #define HEADER_TXT_DB_H |
61 | 61 | ||
62 | #include <openssl/opensslconf.h> | ||
62 | #ifndef OPENSSL_NO_BIO | 63 | #ifndef OPENSSL_NO_BIO |
63 | #include <openssl/bio.h> | 64 | #include <openssl/bio.h> |
64 | #endif | 65 | #endif |
@@ -81,7 +82,7 @@ typedef struct txt_db_st | |||
81 | int num_fields; | 82 | int num_fields; |
82 | STACK /* char ** */ *data; | 83 | STACK /* char ** */ *data; |
83 | LHASH **index; | 84 | LHASH **index; |
84 | int (**qual)(); | 85 | int (**qual)(char **); |
85 | long error; | 86 | long error; |
86 | long arg1; | 87 | long arg1; |
87 | long arg2; | 88 | long arg2; |
@@ -95,7 +96,7 @@ long TXT_DB_write(BIO *out, TXT_DB *db); | |||
95 | TXT_DB *TXT_DB_read(char *in, int num); | 96 | TXT_DB *TXT_DB_read(char *in, int num); |
96 | long TXT_DB_write(char *out, TXT_DB *db); | 97 | long TXT_DB_write(char *out, TXT_DB *db); |
97 | #endif | 98 | #endif |
98 | int TXT_DB_create_index(TXT_DB *db,int field,int (*qual)(), | 99 | int TXT_DB_create_index(TXT_DB *db,int field,int (*qual)(char **), |
99 | LHASH_HASH_FN_TYPE hash, LHASH_COMP_FN_TYPE cmp); | 100 | LHASH_HASH_FN_TYPE hash, LHASH_COMP_FN_TYPE cmp); |
100 | void TXT_DB_free(TXT_DB *db); | 101 | void TXT_DB_free(TXT_DB *db); |
101 | char **TXT_DB_get_by_index(TXT_DB *db, int idx, char **value); | 102 | char **TXT_DB_get_by_index(TXT_DB *db, int idx, char **value); |