diff options
author | Ben Laurie <ben@openssl.org> | 2005-03-31 09:26:39 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2005-03-31 09:26:39 +0000 |
commit | 41a15c4f0f2535591ba9f258cf76119f86477c43 (patch) | |
tree | 6aca3f255f97dc3e9bd18884beeddf7de26fa122 /crypto/txt_db/txt_db.h | |
parent | fea4280a8b1a37bfe1ae6ffaede58722ad71afa1 (diff) | |
download | openssl-new-41a15c4f0f2535591ba9f258cf76119f86477c43.tar.gz |
Give everything prototypes (well, everything that's actually used).
Diffstat (limited to 'crypto/txt_db/txt_db.h')
-rw-r--r-- | crypto/txt_db/txt_db.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/txt_db/txt_db.h b/crypto/txt_db/txt_db.h index c98e287703..307e1ba23f 100644 --- a/crypto/txt_db/txt_db.h +++ b/crypto/txt_db/txt_db.h @@ -82,7 +82,7 @@ typedef struct txt_db_st int num_fields; STACK /* char ** */ *data; LHASH **index; - int (**qual)(); + int (**qual)(char **); long error; long arg1; long arg2; @@ -96,7 +96,7 @@ long TXT_DB_write(BIO *out, TXT_DB *db); TXT_DB *TXT_DB_read(char *in, int num); long TXT_DB_write(char *out, TXT_DB *db); #endif -int TXT_DB_create_index(TXT_DB *db,int field,int (*qual)(), +int TXT_DB_create_index(TXT_DB *db,int field,int (*qual)(char **), LHASH_HASH_FN_TYPE hash, LHASH_COMP_FN_TYPE cmp); void TXT_DB_free(TXT_DB *db); char **TXT_DB_get_by_index(TXT_DB *db, int idx, char **value); |