Implemented all except parser
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user