Verify bittorrent .torrent metainfo files.
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

15 рядки
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