Changeset 11812


Ignore:
Timestamp:
Feb 2, 2011, 5:15:41 PM (11 years ago)
Author:
jordan
Message:

(trunk libT) tweak the documentation on a couple of structs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/transmission.h

    r11800 r11812  
    16131613typedef struct tr_file
    16141614{
    1615     uint64_t            length;    /* Length of the file, in bytes */
    1616     char *              name;      /* Path to the file */
    1617     int8_t              priority;  /* TR_PRI_HIGH, _NORMAL, or _LOW */
    1618     int8_t              dnd;       /* nonzero if the file shouldn't be
    1619                                      downloaded */
    1620     tr_piece_index_t    firstPiece; /* We need pieces [firstPiece... */
    1621     tr_piece_index_t    lastPiece; /* ...lastPiece] to dl this file */
    1622     uint64_t            offset;    /* file begins at the torrent's nth byte */
     1615    uint64_t          length;      /* Length of the file, in bytes */
     1616    char *            name;        /* Path to the file */
     1617    int8_t            priority;    /* TR_PRI_HIGH, _NORMAL, or _LOW */
     1618    int8_t            dnd;         /* "do not download" flag */
     1619    tr_piece_index_t  firstPiece;  /* We need pieces [firstPiece... */
     1620    tr_piece_index_t  lastPiece;   /* ...lastPiece] to dl this file */
     1621    uint64_t          offset;      /* file begins at the torrent's nth byte */
    16231622}
    16241623tr_file;
     
    16271626typedef struct tr_piece
    16281627{
    1629     time_t     timeChecked;             /* the last time we tested this piece */
    1630     uint8_t    hash[SHA_DIGEST_LENGTH]; /* pieces hash */
    1631     int8_t     priority;               /* TR_PRI_HIGH, _NORMAL, or _LOW */
    1632     int8_t     dnd;                    /* nonzero if the piece shouldn't be
    1633                                          downloaded */
     1628    time_t   timeChecked;              /* the last time we tested this piece */
     1629    uint8_t  hash[SHA_DIGEST_LENGTH];  /* pieces hash */
     1630    int8_t   priority;                 /* TR_PRI_HIGH, _NORMAL, or _LOW */
     1631    int8_t   dnd;                      /* "do not download" flag */
    16341632}
    16351633tr_piece;
Note: See TracChangeset for help on using the changeset viewer.