Eneboo - Documentación para desarrolladores
'defines' | Funciones | Variables
Referencia del Archivo src/libdigidoc/openssl/crypto/threads/mttest.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <openssl/lhash.h>
#include <openssl/crypto.h>
#include <openssl/buffer.h>
#include "../../e_os.h"
#include <openssl/x509.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/rand.h>

'defines'

#define TEST_SERVER_CERT   "../../apps/server.pem"
#define TEST_CLIENT_CERT   "../../apps/client.pem"
#define MAX_THREAD_NUMBER   100
#define W_READ   1
#define W_WRITE   2
#define C_DONE   1
#define S_DONE   2
#define THREAD_STACK_SIZE   (16*1024)

Funciones

int MS_CALLBACK verify_callback (int ok, X509_STORE_CTX *xs)
void thread_setup (void)
void thread_cleanup (void)
void do_threads (SSL_CTX *s_ctx, SSL_CTX *c_ctx)
void irix_locking_callback (int mode, int type, char *file, int line)
void solaris_locking_callback (int mode, int type, char *file, int line)
void win32_locking_callback (int mode, int type, char *file, int line)
void pthreads_locking_callback (int mode, int type, char *file, int line)
void netware_locking_callback (int mode, int type, char *file, int line)
unsigned long irix_thread_id (void)
unsigned long solaris_thread_id (void)
unsigned long pthreads_thread_id (void)
unsigned long netware_thread_id (void)
int doit (char *ctx[4])
int main (int argc, char *argv[])
int ndoit (SSL_CTX *ssl_ctx[2])

Variables

BIObio_err = NULL
BIObio_stdout = NULL
int verbose = 0
int thread_number = 10
int number_of_loops = 10
int reconnect = 0
int cache_stats = 0

Documentación de los 'defines'

#define C_DONE   1
#define MAX_THREAD_NUMBER   100
#define S_DONE   2
#define TEST_CLIENT_CERT   "../../apps/client.pem"
#define TEST_SERVER_CERT   "../../apps/server.pem"
#define THREAD_STACK_SIZE   (16*1024)
#define W_READ   1
#define W_WRITE   2

Documentación de las funciones

void do_threads ( SSL_CTX s_ctx,
SSL_CTX c_ctx 
)
int doit ( char *  ctx[4])
void irix_locking_callback ( int  mode,
int  type,
char *  file,
int  line 
)
unsigned long irix_thread_id ( void  )
int main ( int  argc,
char *  argv[] 
)
int ndoit ( SSL_CTX ssl_ctx[2])
void netware_locking_callback ( int  mode,
int  type,
char *  file,
int  line 
)
unsigned long netware_thread_id ( void  )
void pthreads_locking_callback ( int  mode,
int  type,
char *  file,
int  line 
)
unsigned long pthreads_thread_id ( void  )
void solaris_locking_callback ( int  mode,
int  type,
char *  file,
int  line 
)
unsigned long solaris_thread_id ( void  )
void thread_cleanup ( void  )
void thread_setup ( void  )
int MS_CALLBACK verify_callback ( int  ok,
X509_STORE_CTX xs 
)
void win32_locking_callback ( int  mode,
int  type,
char *  file,
int  line 
)

Documentación de las variables

int verbose = 0
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'