smtp-client
SMTP Client C Library
seams.h
Go to the documentation of this file.
1 
13 #ifndef SMTP_TEST_SEAMS_H
14 #define SMTP_TEST_SEAMS_H
15 
16 #include "test.h"
17 
18 /*
19  * Redefine these functions to internal test seam functions.
20  */
21 #undef BIO_new_socket
22 #undef BIO_should_retry
23 #undef calloc
24 #undef close
25 #undef connect
26 #undef ERR_peek_error
27 #undef fclose
28 #undef ferror
29 #undef gmtime_r
30 #undef HMAC
31 #undef localtime_r
32 #undef malloc
33 #undef mktime
34 #undef realloc
35 #undef recv
36 #undef select
37 #undef send
38 #undef socket
39 #undef SSL_connect
40 #undef SSL_CTX_new
41 #undef SSL_do_handshake
42 #undef SSL_get_peer_certificate
43 #undef X509_check_host
44 #undef SSL_new
45 #undef SSL_read
46 #undef SSL_write
47 #undef sprintf
48 #undef strlen
49 #undef time
50 
57 #define BIO_new_socket smtp_test_seam_bio_new_socket
58 
65 #define BIO_should_retry smtp_test_seam_bio_should_retry
66 
73 #define calloc smtp_test_seam_calloc
74 
81 #define close smtp_test_seam_close
82 
89 #define connect smtp_test_seam_connect
90 
97 #define ERR_peek_error smtp_test_seam_err_peek_error
98 
105 #define fclose smtp_test_seam_fclose
106 
113 #define ferror smtp_test_seam_ferror
114 
121 #define gmtime_r smtp_test_seam_gmtime_r
122 
129 #define HMAC smtp_test_seam_hmac
130 
137 #define localtime_r smtp_test_seam_localtime_r
138 
145 #define malloc smtp_test_seam_malloc
146 
153 #define mktime smtp_test_seam_mktime
154 
161 #define realloc smtp_test_seam_realloc
162 
169 #define recv smtp_test_seam_recv
170 
177 #define select smtp_test_seam_select
178 
185 #define send smtp_test_seam_send
186 
193 #define socket smtp_test_seam_socket
194 
201 #define SSL_connect smtp_test_seam_ssl_connect
202 
209 #define SSL_CTX_new smtp_test_seam_ssl_ctx_new
210 
217 #define SSL_do_handshake smtp_test_seam_ssl_do_handshake
218 
225 #define SSL_get_peer_certificate smtp_test_seam_ssl_get_peer_certificate
226 
233 #define X509_check_host smtp_test_seam_x509_check_host
234 
241 #define SSL_new smtp_test_seam_ssl_new
242 
249 #define SSL_read smtp_test_seam_ssl_read
250 
257 #define SSL_write smtp_test_seam_ssl_write
258 
265 #define sprintf smtp_test_seam_sprintf
266 
273 #define strlen smtp_test_seam_strlen
274 
281 #define time smtp_test_seam_time
282 
283 #endif
284 
Test the smtp-client library.