http_server.h 327 B

123456789101112131415
  1. // SPDX-License-Identifier: GPL-3.0-or-later
  2. #ifndef HTTP_SERVER_H
  3. #define HTTP_SERVER_H
  4. #include <stddef.h>
  5. void *h2o_main(void * ptr);
  6. int h2o_stream_write(void *ctx, const char *data, size_t data_len);
  7. size_t h2o_stream_read(void *ctx, char *buf, size_t read_bytes);
  8. int httpd_is_enabled();
  9. #endif /* HTTP_SERVER_H */