caniadd/src/cmd.h

51 lines
777 B
C
Raw Permalink Normal View History

2022-01-08 19:53:58 +01:00
#ifndef _CMD_H
#define _CMD_H
#include "error.h"
#include "config.h"
/*
* Read commands from config and execute them
*/
enum error cmd_main();
/*
* Add files to the AniDB list
*/
enum error cmd_add(void *);
2023-08-08 19:15:19 +02:00
enum error cmd_add_argcheck();
2022-01-08 19:53:58 +01:00
/*
* Take in a file/folder and print out
* the ed2k hash of it
*/
enum error cmd_ed2k(void *data);
/*
* Get and print the server api version
*/
enum error cmd_server_version(void *);
/*
* Print the server uptime
*/
enum error cmd_server_uptime(void *);
/*
* Print the program version
*/
enum error cmd_prog_version(void *);
/*
* Modifies a mylist entry
*/
enum error cmd_modify(void *data);
2023-08-09 01:56:43 +02:00
enum error cmd_modify_argcheck();
2023-08-09 17:26:53 +02:00
/*
* Request the mylist stats
*/
enum error cmd_stats(void *data);
2022-01-08 19:53:58 +01:00
#endif /* _CMD_H */