25 lines
865 B
C
25 lines
865 B
C
|
|
#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);
|