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/transmission.h

    r1614 r1634  
    215215
    216216/***********************************************************************
     217 * tr_torrentInitData
     218 ***********************************************************************
     219 * Like tr_torrentInit, except the actual torrent data is passed in
     220 * instead of the filename.
     221 **********************************************************************/
     222tr_torrent_t * tr_torrentInitData( tr_handle_t *, uint8_t * data,
     223                                   size_t size, uint8_t * hash,
     224                                   int flags, int * error );
     225
     226/***********************************************************************
    217227 * tr_torrentInitSaved
    218228 ***********************************************************************
Note: See TracChangeset for help on using the changeset viewer.