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.

39 lines
572B

  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. /*
  14. * Take in a file/folder and print out
  15. * the ed2k hash of it
  16. */
  17. enum error cmd_ed2k(void *data);
  18. /*
  19. * Get and print the server api version
  20. */
  21. enum error cmd_server_version(void *);
  22. /*
  23. * Print the server uptime
  24. */
  25. enum error cmd_server_uptime(void *);
  26. /*
  27. * Print the program version
  28. */
  29. enum error cmd_prog_version(void *);
  30. #endif /* _CMD_H */