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