Introduce set/get function for output event instead of chuncked output ones

This commit is contained in:
2019-04-17 10:19:06 +02:00
parent 461f5f52f2
commit ee90cbc37c
5 changed files with 49 additions and 26 deletions
+4
View File
@@ -56,4 +56,8 @@ aisl_client_disconnect(aisl_client_t client);
aisl_http_version_t
aisl_client_get_http_version(aisl_client_t client);
void
aisl_client_get_address( aisl_client_t client, struct sockaddr_in * address);
#endif /* !AISL_CLIENT_H */
+8
View File
@@ -99,4 +99,12 @@ aisl_write( aisl_stream_t stream, const char * data, int d_len );
int
aisl_puts( const char * str_data, aisl_stream_t stream );
void
aisl_set_output_event(aisl_stream_t stream, bool value);
bool
aisl_get_output_event(aisl_stream_t stream);
#endif /* !AISL_STREAM_H */