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