Ignore:
Timestamp:
Apr 4, 2009, 5:29:08 AM (13 years ago)
Author:
charles
Message:

(trunk)

  1. add to the "recently-changed" torrent a list of recently-removed torrent ids.
  2. make the day-of-week alt speed a bitfield of days or'ed together, so that you can have (say) speed limits on monday and wednesday
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/transmission.h

    r8130 r8132  
    606606typedef enum
    607607{
    608     TR_SCHED_SUN = 0, //specific days correspond to stuct tm's tm_wday
    609     TR_SCHED_MON,
    610     TR_SCHED_TUES,
    611     TR_SCHED_WED,
    612     TR_SCHED_THURS,
    613     TR_SCHED_FRI,
    614     TR_SCHED_SAT,
    615     TR_SCHED_WEEKDAY,
    616     TR_SCHED_WEEKEND,
    617     TR_SCHED_ALL
     608    TR_SCHED_SUN      = (1<<0),
     609    TR_SCHED_MON      = (1<<1),
     610    TR_SCHED_TUES     = (1<<2),
     611    TR_SCHED_WED      = (1<<3),
     612    TR_SCHED_THURS    = (1<<4),
     613    TR_SCHED_FRI      = (1<<4),
     614    TR_SCHED_SAT      = (1<<5),
     615    TR_SCHED_WEEKDAY  = (TR_SCHED_MON|TR_SCHED_TUES|TR_SCHED_WED|TR_SCHED_THURS|TR_SCHED_FRI),
     616    TR_SCHED_WEEKEND  = (TR_SCHED_SUN|TR_SCHED_SAT),
     617    TR_SCHED_ALL      = (TR_SCHED_WEEKDAY|TR_SCHED_WEEKEND)
    618618}
    619619tr_sched_day;
Note: See TracChangeset for help on using the changeset viewer.