~ubuntu-branches/ubuntu/maverick/openssl/maverick

« back to all changes in this revision

Viewing changes to crypto/txt_db/txt_db.h

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2005-12-13 21:37:42 UTC
  • mto: (11.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20051213213742-d0ydaylf80l16bj1
Tags: upstream-0.9.8a
ImportĀ upstreamĀ versionĀ 0.9.8a

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
#ifndef HEADER_TXT_DB_H
60
60
#define HEADER_TXT_DB_H
61
61
 
 
62
#include <openssl/opensslconf.h>
62
63
#ifndef OPENSSL_NO_BIO
63
64
#include <openssl/bio.h>
64
65
#endif
81
82
        int num_fields;
82
83
        STACK /* char ** */ *data;
83
84
        LHASH **index;
84
 
        int (**qual)();
 
85
        int (**qual)(char **);
85
86
        long error;
86
87
        long arg1;
87
88
        long arg2;
95
96
TXT_DB *TXT_DB_read(char *in, int num);
96
97
long TXT_DB_write(char *out, TXT_DB *db);
97
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
100
                LHASH_HASH_FN_TYPE hash, LHASH_COMP_FN_TYPE cmp);
100
101
void TXT_DB_free(TXT_DB *db);
101
102
char **TXT_DB_get_by_index(TXT_DB *db, int idx, char **value);