Main Page | Class List | Directories | File List | Class Members | File Members

e_os.h File Reference

#include <openssl/opensslconf.h>
#include <openssl/e_os2.h>
#include <unistd.h>
#include <sys/types.h>
#include <strings.h>
#include <sys/param.h>
#include <sys/time.h>
#include <netdb.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/ioctl.h>

Go to the source code of this file.

Defines

#define DEVRANDOM   "/dev/urandom","/dev/random","/dev/srandom"
#define DEVRANDOM_EGD   "/var/run/egd-pool","/dev/egd-pool","/etc/egd-pool","/etc/entropy"
#define MS_STATIC
#define get_last_sys_error()   errno
#define clear_sys_error()   errno=0
#define get_last_socket_error()   errno
#define clear_socket_error()   errno=0
#define ioctlsocket(a, b, c)   ioctl(a,b,c)
#define closesocket(s)   close(s)
#define readsocket(s, b, n)   read((s),(b),(n))
#define writesocket(s, b, n)   write((s),(b),(n))
#define MS_CALLBACK
#define MS_FAR
#define OPENSSL_CONF   "openssl.cnf"
#define SSLEAY_CONF   OPENSSL_CONF
#define RFILE   ".rnd"
#define LIST_SEPARATOR_CHAR   ':'
#define NUL_DEV   "/dev/null"
#define EXIT(n)   exit(n)
#define SSLeay_getpid()   getpid()
#define OPENSSL_EXIT(n)   do { EXIT(n); return(n); } while(0)
#define Getenv   getenv
#define DG_GCC_BUG


Define Documentation

 
#define clear_socket_error  )     errno=0
 

Definition at line 199 of file e_os.h.

Referenced by conn_read(), conn_write(), dgram_read(), dgram_write(), sock_read(), and sock_write().

 
#define clear_sys_error  )     errno=0
 

Definition at line 148 of file e_os.h.

Referenced by fd_read(), fd_write(), IMPLEMENT_dtls1_meth_func(), IMPLEMENT_ssl23_meth_func(), IMPLEMENT_ssl2_meth_func(), IMPLEMENT_ssl3_meth_func(), read_n(), ssl23_peek(), ssl23_read(), ssl23_write(), ssl2_read_internal(), ssl2_write(), ssl3_read_internal(), ssl3_read_n(), ssl3_write(), ssl3_write_pending(), and write_pending().

#define closesocket  )     close(s)
 

Definition at line 201 of file e_os.h.

Referenced by acpt_close_socket(), acpt_state(), BIO_get_accept_socket(), and conn_close_socket().

#define DEVRANDOM   "/dev/urandom","/dev/random","/dev/srandom"
 

Definition at line 82 of file e_os.h.

Referenced by RAND_poll().

#define DEVRANDOM_EGD   "/var/run/egd-pool","/dev/egd-pool","/etc/egd-pool","/etc/entropy"
 

Definition at line 88 of file e_os.h.

Referenced by RAND_poll().

#define DG_GCC_BUG
 

Definition at line 595 of file e_os.h.

#define EXIT  )     exit(n)
 

Definition at line 417 of file e_os.h.

 
#define get_last_socket_error  )     errno
 

Definition at line 198 of file e_os.h.

Referenced by BIO_accept(), BIO_dgram_should_retry(), BIO_get_accept_socket(), BIO_get_port(), BIO_sock_should_retry(), BIO_socket_ioctl(), conn_state(), dgram_read(), and dgram_write().

 
#define get_last_sys_error  )     errno
 

Definition at line 147 of file e_os.h.

Referenced by BIO_fd_should_retry(), BIO_new_file(), file_ctrl(), file_read(), and SSL_add_dir_cert_subjects_to_stack().

#define Getenv   getenv
 

Definition at line 592 of file e_os.h.

Referenced by _CONF_get_string(), by_file_ctrl(), and dir_ctrl().

#define ioctlsocket a,
b,
c   )     ioctl(a,b,c)
 

Definition at line 200 of file e_os.h.

Referenced by BIO_socket_ioctl().

#define LIST_SEPARATOR_CHAR   ':'
 

Definition at line 415 of file e_os.h.

Referenced by add_cert_dir(), app_RAND_load_files(), sc_usage(), and sv_usage().

#define MS_CALLBACK
 

Definition at line 210 of file e_os.h.

#define MS_FAR
 

Definition at line 211 of file e_os.h.

#define MS_STATIC
 

Definition at line 120 of file e_os.h.

Referenced by add_DN_object(), BIO_debug_callback(), doit(), doit_biopair(), EVP_SignFinal(), EVP_VerifyFinal(), IMPLEMENT_LHASH_HASH_FN(), init_ssl_connection(), main(), OBJ_create_objects(), and RAND_load_file().

#define NUL_DEV   "/dev/null"
 

Definition at line 416 of file e_os.h.

#define OPENSSL_CONF   "openssl.cnf"
 

Definition at line 412 of file e_os.h.

Referenced by CONF_get1_default_config_file(), and make_config_name().

#define OPENSSL_EXIT  )     do { EXIT(n); return(n); } while(0)
 

Definition at line 577 of file e_os.h.

Referenced by main(), and MAIN().

#define readsocket s,
b,
 )     read((s),(b),(n))
 

Definition at line 202 of file e_os.h.

Referenced by conn_read(), and sock_read().

#define RFILE   ".rnd"
 

Definition at line 414 of file e_os.h.

Referenced by RAND_file_name().

#define SSLEAY_CONF   OPENSSL_CONF
 

Definition at line 413 of file e_os.h.

 
#define SSLeay_getpid  )     getpid()
 

Definition at line 420 of file e_os.h.

#define writesocket s,
b,
 )     write((s),(b),(n))
 

Definition at line 203 of file e_os.h.

Referenced by conn_write(), and sock_write().


© sourcejam.com 2005-2008