OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
txt_db.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cryptlib.h"
#include <openssl/buffer.h>
#include <openssl/txt_db.h>

Go to the source code of this file.

Macros

#define BUFSIZE   512
 

Functions

TXT_DBTXT_DB_read (BIO *in, int num)
 
OPENSSL_STRINGTXT_DB_get_by_index (TXT_DB *db, int idx, OPENSSL_STRING *value)
 
int TXT_DB_create_index (TXT_DB *db, int field, int(*qual)(OPENSSL_STRING *), LHASH_HASH_FN_TYPE hash, LHASH_COMP_FN_TYPE cmp)
 
long TXT_DB_write (BIO *out, TXT_DB *db)
 
int TXT_DB_insert (TXT_DB *db, OPENSSL_STRING *row)
 
void TXT_DB_free (TXT_DB *db)
 

Variables

const char TXT_DB_version [] ="TXT_DB" OPENSSL_VERSION_PTEXT
 

Macro Definition Documentation

#define BUFSIZE   512

Definition at line 67 of file txt_db.c.

Function Documentation

int TXT_DB_create_index ( TXT_DB db,
int  field,
int(*)(OPENSSL_STRING *)  qual,
LHASH_HASH_FN_TYPE  hash,
LHASH_COMP_FN_TYPE  cmp 
)

Definition at line 217 of file txt_db.c.

void TXT_DB_free ( TXT_DB db)

Definition at line 345 of file txt_db.c.

OPENSSL_STRING* TXT_DB_get_by_index ( TXT_DB db,
int  idx,
OPENSSL_STRING value 
)

Definition at line 196 of file txt_db.c.

int TXT_DB_insert ( TXT_DB db,
OPENSSL_STRING row 
)

Definition at line 303 of file txt_db.c.

TXT_DB* TXT_DB_read ( BIO in,
int  num 
)

Definition at line 71 of file txt_db.c.

long TXT_DB_write ( BIO out,
TXT_DB db 
)

Definition at line 255 of file txt_db.c.

Variable Documentation

const char TXT_DB_version[] ="TXT_DB" OPENSSL_VERSION_PTEXT

Definition at line 69 of file txt_db.c.