Implemented all except parser

This commit is contained in:
2019-03-18 09:13:02 +01:00
parent fc33a0e49e
commit 8847f92528
18 changed files with 903 additions and 1166 deletions
+1 -2
View File
@@ -63,8 +63,7 @@ aisl_reject( aisl_stream_t stream );
aisl_status_t
aisl_response( aisl_stream_t stream,
aisl_http_response_t status_code,
const char * content_type,
uint32_t content_length);
uint64_t content_length );
int
+4 -2
View File
@@ -18,6 +18,8 @@
#include <openssl/ssl.h>
#endif
#define AISL_AUTO_LENGTH (~0)
/* type casts */
#define AISL_CALLBACK(x) ((aisl_callback_t) x)
@@ -229,13 +231,13 @@ typedef bool
const char * val );
typedef bool
(*aisl_on_stream_input_t)( aisl_stream_t stream, char * data, size_t len );
(*aisl_on_stream_input_t)( aisl_stream_t stream, char * data, int32_t len );
typedef bool
(*aisl_on_stream_request_t)( aisl_stream_t stream );
typedef bool
(*aisl_on_stream_output_t)( aisl_stream_t stream, size_t buffer_space );
(*aisl_on_stream_output_t)( aisl_stream_t stream );
typedef bool
(*aisl_on_stream_close_t)( aisl_stream_t stream );