Ignore:
Timestamp:
Apr 2, 2007, 8:32:20 PM (15 years ago)
Author:
joshe
Message:

Add API function for adding a torrent from data, instead of a filename.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/daemon/libtransmission/metainfo.h

    r1564 r1634  
    2828#include "transmission.h"
    2929
    30 int tr_metainfoParse( tr_info_t *, const char * tag, const char * path,
    31                       const char * savedHash, int saveCopy );
     30int tr_metainfoParseFile( tr_info_t *, const char * tag,
     31                          const char * path, int save );
     32int tr_metainfoParseData( tr_info_t *, const char * tag,
     33                          uint8_t * data, size_t size, int save );
     34int tr_metainfoParseHash( tr_info_t *, const char * tag, const char * hash );
    3235void tr_metainfoFree( tr_info_t * inf );
    3336void tr_metainfoRemoveSaved( const char * hashString, const char * tag );
Note: See TracChangeset for help on using the changeset viewer.