Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00026
00027
00028
00029
00030
00031
00032 #ifndef __tls_ct_wrq_h
00033 #define __tls_ct_wrq_h
00034
00035 #include "tls_ct_q.h"
00036 #include "tls_server.h"
00037 #include "../../tcp_conn.h"
00038
00039
00040
00045 int tls_ct_wq_init();
00046
00050 void tls_ct_wq_destroy();
00051
00052
00057 unsigned int tls_ct_wq_total_bytes();
00058
00059 #define tls_ct_wq_empty(tc_q) (*(tc_q)==0 || (*(tc_q))->first==0)
00060 #define tls_ct_wq_non_empty(bq) (*(tc_q) && (*(tc_q))->first!=0)
00061
00074 int tls_ct_wq_flush(struct tcp_connection* c, tls_ct_q** tc_q,
00075 int* flags, int* ssl_err);
00076
00089 int tls_ct_wq_add(tls_ct_q** ct_q, const void* data, unsigned int size);
00090
00098 unsigned int tls_ct_wq_free(tls_ct_q** ct_q);
00099
00100 #endif
00101
00102