Ignore:
Timestamp:
Jun 8, 2014, 8:01:10 PM (8 years ago)
Author:
jordan
Message:

add tr_makeMetaInfo() unit test for creating a single-file torrent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/libtransmission-test.h

    r14288 r14289  
    1414
    1515#include <stdio.h>
     16#include <string.h> /* strlen() */
    1617
    1718#include "transmission.h"
     
    8485void         libttest_blockingTorrentVerify (tr_torrent * tor);
    8586
    86 void         libtest_create_file_with_contents (const char * path, const char * str);
     87void         libtest_create_file_with_contents (const char * path, const void* contents, size_t n);
     88void         libtest_create_tmpfile_with_contents (char* tmpl, const void* payload, size_t n);
     89void         libtest_create_file_with_string_contents (const char * path, const char* str);
    8790
    8891char*        libtest_sandbox_create (void);
     
    9093
    9194
    92 
    93 
    94 
    9595#endif /* !LIBTRANSMISSION_TEST_H */
Note: See TracChangeset for help on using the changeset viewer.