rework nohold option for compatibilty with future video streaming

This commit is contained in:
F. Duncanh
2024-07-17 13:47:15 -04:00
parent 75d64e6b1e
commit c628dd16a6
5 changed files with 42 additions and 19 deletions

View File

@@ -34,6 +34,8 @@ struct httpd_callbacks_s {
void (*conn_destroy)(void *ptr);
};
typedef struct httpd_callbacks_s httpd_callbacks_t;
bool httpd_nohold(httpd_t *httpd);
void httpd_remove_known_connections(httpd_t *httpd);
int httpd_set_connection_type (httpd_t *http, void *user_data, connection_type_t type);
int httpd_count_connection_type (httpd_t *http, connection_type_t type);