OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
s_apps.h File Reference
#include <sys/types.h>
#include <openssl/opensslconf.h>

Go to the source code of this file.

Macros

#define PORT   4433
 
#define PORT_STR   "4433"
 
#define PROTOCOL   "tcp"
 

Functions

int do_server (int port, int type, int *ret, int(*cb)(char *hostname, int s, unsigned char *context), unsigned char *context)
 
int init_client (int *sock, char *server, int port, int type)
 
int should_retry (int i)
 
int extract_port (char *str, short *port_ptr)
 
int extract_host_port (char *str, char **host_ptr, unsigned char *ip, short *p)
 
long MS_CALLBACK bio_dump_callback (BIO *bio, int cmd, const char *argp, int argi, long argl, long ret)
 
int MS_CALLBACK generate_cookie_callback (SSL *ssl, unsigned char *cookie, unsigned int *cookie_len)
 
int MS_CALLBACK verify_cookie_callback (SSL *ssl, unsigned char *cookie, unsigned int cookie_len)
 

Macro Definition Documentation

#define PORT   4433

Definition at line 147 of file s_apps.h.

#define PORT_STR   "4433"

Definition at line 148 of file s_apps.h.

#define PROTOCOL   "tcp"

Definition at line 149 of file s_apps.h.

Function Documentation

long MS_CALLBACK bio_dump_callback ( BIO bio,
int  cmd,
const char *  argp,
int  argi,
long  argl,
long  ret 
)

Definition at line 281 of file s_cb.c.

int do_server ( int  port,
int  type,
int *  ret,
int(*)(char *hostname, int s, unsigned char *context)  cb,
unsigned char *  context 
)

Definition at line 287 of file s_socket.c.

int extract_host_port ( char *  str,
char **  host_ptr,
unsigned char *  ip,
short *  p 
)

Definition at line 474 of file s_socket.c.

int extract_port ( char *  str,
short *  port_ptr 
)

Definition at line 545 of file s_socket.c.

int MS_CALLBACK generate_cookie_callback ( SSL ssl,
unsigned char *  cookie,
unsigned int *  cookie_len 
)

Definition at line 761 of file s_cb.c.

int init_client ( int *  sock,
char *  server,
int  port,
int  type 
)

Definition at line 237 of file s_socket.c.

int should_retry ( int  i)
int MS_CALLBACK verify_cookie_callback ( SSL ssl,
unsigned char *  cookie,
unsigned int  cookie_len 
)

Definition at line 849 of file s_cb.c.