Ignore:
Timestamp:
Apr 10, 2009, 5:34:25 PM (13 years ago)
Author:
charles
Message:

(1.5x libT) various backports for 1.52:
(1) recognize Aria2 as a client
(2) remove jhujhiti's tr_suspectAddress(), since he removed it from trunka
(3) on Mac, better detection of where the Web UI files are located
(4) reintroduce the web task queue
(5) various minor formatting changes to reduce the diffs between 1.52 and trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5x/libtransmission/tr-getopt.h

    r7813 r8204  
    2626#define TR_GETOPT_H
    2727
     28#ifdef __cplusplus
     29extern "C" {
     30#endif
     31
    2832extern int tr_optind;
    2933
    3034typedef struct tr_option
    3135{
    32     int     val;          /* the value to return from tr_getopt() */
     36    int           val;          /* the value to return from tr_getopt() */
    3337    const char *  longName;     /* --long-form */
    3438    const char *  description;  /* option's description for tr_getopt_usage() */
    3539    const char *  shortName;    /* short form */
    36     int     has_arg;      /* 0 for no argument, 1 for argument */
     40    int           has_arg;      /* 0 for no argument, 1 for argument */
    3741    const char *  argName;      /* argument's description for tr_getopt_usage() */
    3842}
     
    6670                      const tr_option * opts );
    6771
     72#ifdef __cplusplus
     73} /* extern "C" */
     74#endif
     75
    6876#endif /* TR_GETOPT_H */
Note: See TracChangeset for help on using the changeset viewer.