A tool for adding anime to your anidb list.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
777B

  1. #ifndef _CMD_H
  2. #define _CMD_H
  3. #include "error.h"
  4. #include "config.h"
  5. /*
  6. * Read commands from config and execute them
  7. */
  8. enum error cmd_main();
  9. /*
  10. * Add files to the AniDB list
  11. */
  12. enum error cmd_add(void *);
  13. enum error cmd_add_argcheck();
  14. /*
  15. * Take in a file/folder and print out
  16. * the ed2k hash of it
  17. */
  18. enum error cmd_ed2k(void *data);
  19. /*
  20. * Get and print the server api version
  21. */
  22. enum error cmd_server_version(void *);
  23. /*
  24. * Print the server uptime
  25. */
  26. enum error cmd_server_uptime(void *);
  27. /*
  28. * Print the program version
  29. */
  30. enum error cmd_prog_version(void *);
  31. /*
  32. * Modifies a mylist entry
  33. */
  34. enum error cmd_modify(void *data);
  35. enum error cmd_modify_argcheck();
  36. /*
  37. * Request the mylist stats
  38. */
  39. enum error cmd_stats(void *data);
  40. #endif /* _CMD_H */