2026-06-09 00:31:08 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
/* Page handlers */
|
|
|
|
|
void handle_index(int fd);
|
|
|
|
|
void handle_series_cats(int fd);
|
|
|
|
|
void handle_series_list(int fd, const char *qs);
|
|
|
|
|
void handle_series_show(int fd, const char *qs);
|
|
|
|
|
void handle_movie_cats(int fd);
|
|
|
|
|
void handle_movie_list(int fd, const char *qs);
|
|
|
|
|
void handle_search(int fd, const char *qs);
|
|
|
|
|
void handle_downloads(int fd);
|
|
|
|
|
|
|
|
|
|
/* API handlers */
|
|
|
|
|
void handle_api_downloads(int fd);
|
|
|
|
|
void handle_api_cancel(int fd, const char *body);
|
|
|
|
|
void handle_api_clear(int fd);
|
|
|
|
|
void handle_api_clear_cancelled(int fd);
|
|
|
|
|
void handle_api_clean_partials(int fd);
|
|
|
|
|
void handle_api_retry_interrupted(int fd);
|
|
|
|
|
void handle_api_download(int fd, const char *body);
|
|
|
|
|
void handle_api_download_movie(int fd, const char *body);
|
|
|
|
|
void handle_api_notifications(int fd);
|
|
|
|
|
void handle_api_notifications_test(int fd);
|
|
|
|
|
void handle_api_notifications_dismiss(int fd, const char *body);
|
2026-06-09 01:59:27 +02:00
|
|
|
void handle_api_status(int fd);
|
|
|
|
|
void handle_api_search(int fd, const char *qs);
|