Verify bittorrent .torrent metainfo files.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

15 lines
362B

  1. #ifndef VERIFY_H
  2. #define VERIFY_H
  3. #include "metainfo.h"
  4. /* Verify torrent files here */
  5. /*
  6. * Verify files inside a torrent file
  7. * If append folder is 1, and torrent is a multifile one,
  8. * the torrent's name will be appended to data_dir
  9. * Returns 0 if success, -num if error
  10. */
  11. int verify(metainfo_t* metai, const char* data_dir, int append_folder);
  12. #endif