source: trunk/libtransmission/transmission.h @ 2360

Last change on this file since 2360 was 2360, checked in by charles, 15 years ago

make tr_torrentStat() const.
malloc, rather than calloc, the buffer in strndup.

  • Property svn:keywords set to Date Rev Author Id
File size: 25.6 KB
Line 
1/******************************************************************************
2 * $Id: transmission.h 2360 2007-07-15 19:12:54Z charles $
3 *
4 * Copyright (c) 2005-2007 Transmission authors and contributors
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"),
8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
12 *
13 * The above copyright notice and this permission notice shall be included in
14 * all copies or substantial portions of the Software.
15 *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
23 *****************************************************************************/
24
25#ifndef TR_TRANSMISSION_H
26#define TR_TRANSMISSION_H 1
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32#include "version.h"
33
34#include <inttypes.h>
35#ifndef PRId64
36# define PRId64 "lld"
37#endif
38#ifndef PRIu64
39# define PRIu64 "llu"
40#endif
41#include <time.h>
42
43#define SHA_DIGEST_LENGTH 20
44#ifdef __BEOS__
45# include <StorageDefs.h>
46# define MAX_PATH_LENGTH  B_FILE_NAME_LENGTH
47#else
48# define MAX_PATH_LENGTH  1024
49#endif
50
51#ifndef INET_ADDRSTRLEN
52#define INET_ADDRSTRLEN 16
53#endif
54
55#if defined(__MINGW__)
56#define TR_PATH_DELIMITER '\\'
57#define TR_PATH_DELIMITER_STR "\\"
58#else
59#define TR_PATH_DELIMITER '/'
60#define TR_PATH_DELIMITER_STR "/"
61#endif
62
63#define TR_DEFAULT_PORT   9090
64
65#define TR_PEER_FROM__MAX       4
66#define TR_PEER_FROM_INCOMING   0 /* connections made to the listening port */
67#define TR_PEER_FROM_TRACKER    1 /* peers received from a tracker */
68#define TR_PEER_FROM_CACHE      2 /* peers read from the peer cache */
69#define TR_PEER_FROM_PEX        3 /* peers discovered via PEX */
70
71/***********************************************************************
72 * Error codes
73 **********************************************************************/
74/* General errors */
75#define TR_OK                       0x00000000
76#define TR_ERROR                    0x81000000
77#define TR_ERROR_ASSERT             0x82000000
78/* I/O errors */
79#define TR_ERROR_IO_MASK            0x000000FF
80#define TR_ERROR_IO_PARENT          ((1<<31) | (1<<0))
81#define TR_ERROR_IO_PERMISSIONS     ((1<<31) | (1<<1))
82#define TR_ERROR_IO_SPACE           ((1<<31) | (1<<2))
83#define TR_ERROR_IO_FILE_TOO_BIG    ((1<<31) | (1<<3))
84#define TR_ERROR_IO_OPEN_FILES      ((1<<31) | (1<<4))
85#define TR_ERROR_IO_DUP_DOWNLOAD    ((1<<31) | (1<<5))
86#define TR_ERROR_IO_OTHER           ((1<<31) | (1<<6))
87/* Misc */
88#define TR_ERROR_TC_MASK            0x00000F00
89#define TR_ERROR_TC_ERROR           0x80000100
90#define TR_ERROR_TC_WARNING         0x80000200
91
92#define TR_ERROR_ISSET( num, code ) ( (code) == ( (code) & (num) ) )
93
94/***********************************************************************
95 * tr_init
96 ***********************************************************************
97 * Initializes a libtransmission instance. Returns a obscure handle to
98 * be passed to all functions below. The tag argument is a short string
99 * unique to the program invoking tr_init(), it is currently used as
100 * part of saved torrent files' names to prevent one frontend from
101 * deleting a torrent used by another. The following tags are used:
102 *   beos cli daemon gtk macosx
103 **********************************************************************/
104typedef struct tr_handle_s tr_handle_t;
105tr_handle_t * tr_init( const char * tag );
106
107typedef struct tr_tracker_info_s tr_tracker_info_t;
108
109/***********************************************************************
110 * tr_setMessageLevel
111 ***********************************************************************
112 * Set the level of messages to be output or queued
113 **********************************************************************/
114#define TR_MSG_ERR 1
115#define TR_MSG_INF 2
116#define TR_MSG_DBG 3
117void tr_setMessageLevel( int );
118int tr_getMessageLevel( void );
119
120/***********************************************************************
121 * tr_setMessageQueuing
122 ***********************************************************************
123 * Enable or disable message queuing
124 **********************************************************************/
125typedef struct tr_msg_list_s tr_msg_list_t;
126void tr_setMessageQueuing( int );
127
128/***********************************************************************
129 * tr_getQueuedMessages
130 ***********************************************************************
131 * Return a list of queued messages
132 **********************************************************************/
133tr_msg_list_t * tr_getQueuedMessages( void );
134void tr_freeMessageList( tr_msg_list_t * list );
135
136/***********************************************************************
137 * tr_getPrefsDirectory
138 ***********************************************************************
139 * Returns the full path to a directory which can be used to store
140 * preferences. The string belongs to libtransmission, do not free it.
141 **********************************************************************/
142const char * tr_getPrefsDirectory( void );
143
144/***********************************************************************
145 * tr_setBindPort
146 ***********************************************************************
147 * Sets the port to listen for incoming peer connections.
148 * This can be safely called even with active torrents.
149 **********************************************************************/
150void tr_setBindPort( tr_handle_t *, int );
151
152/***********************************************************************
153 * tr_natTraversalEnable
154 * tr_natTraversalDisable
155 ***********************************************************************
156 * Enable or disable NAT traversal using NAT-PMP or UPnP IGD.
157 **********************************************************************/
158void tr_natTraversalEnable( tr_handle_t *, int enable );
159
160/***********************************************************************
161 * tr_handleStatus
162 ***********************************************************************
163 * Returns some status info for the given handle.
164 **********************************************************************/
165typedef struct tr_handle_status_s tr_handle_status_t;
166tr_handle_status_t * tr_handleStatus( tr_handle_t * );
167
168/***********************************************************************
169 * tr_setGlobalUploadLimit
170 ***********************************************************************
171 * Sets the total upload rate limit in KB/s
172 **********************************************************************/
173void tr_setGlobalUploadLimit( tr_handle_t *, int );
174
175/***********************************************************************
176 * tr_setGlobalDownloadLimit
177 ***********************************************************************
178 * Sets the total download rate limit in KB/s
179 **********************************************************************/
180void tr_setGlobalDownloadLimit( tr_handle_t *, int );
181
182/***********************************************************************
183 * tr_torrentCount
184 ***********************************************************************
185 * Returns the count of open torrents
186 **********************************************************************/
187int tr_torrentCount( tr_handle_t * h );
188
189
190/***********************************************************************
191 * tr_torrentIterate
192 ***********************************************************************
193 * Iterates on open torrents
194 **********************************************************************/
195typedef struct tr_torrent_s tr_torrent_t;
196typedef void (*tr_callback_t) ( tr_torrent_t *, void * );
197void tr_torrentIterate( tr_handle_t *, tr_callback_t, void * );
198
199void tr_setUseCustomLimit( tr_torrent_t * tor, int limit );
200void tr_setUploadLimit( tr_torrent_t * tor, int limit );
201void tr_setDownloadLimit( tr_torrent_t * tor, int limit );
202
203/***********************************************************************
204 * Torrent Priorities
205 **********************************************************************/
206
207enum
208{
209    TR_PRI_LOW    = -1,
210    TR_PRI_NORMAL =  0, /* since NORMAL is 0, memset initializes nicely */
211    TR_PRI_HIGH   =  1
212};
213
214typedef int8_t tr_priority_t;
215
216/* set a batch of files to a particular priority. */
217void tr_torrentSetFilePriorities( tr_torrent_t        * tor,
218                                  int                 * files,
219                                  int                   fileCount,
220                                  tr_priority_t         priority );
221
222
223/* single-file form of tr_torrentPrioritizeFiles.
224 * priority must be one of TR_PRI_NORMAL, _HIGH, or _LOW */
225void tr_torrentSetFilePriority( tr_torrent_t *, int file, tr_priority_t priority );
226
227/* returns a malloc()ed array of tor->info.fileCount items,
228 * each holding a value of TR_PRI_NORMAL, _HIGH, or _LOW.
229   free the array when done. */
230tr_priority_t* tr_torrentGetFilePriorities( const tr_torrent_t * );
231
232/* single-file form of tr_torrentGetFilePriorities.
233 * returns one of TR_PRI_NORMAL, _HIGH, or _LOW. */
234tr_priority_t tr_torrentGetFilePriority( const tr_torrent_t *, int file );
235
236/* returns true if the file's `download' flag is set */
237int tr_torrentGetFileDL( const tr_torrent_t *, int file );
238
239/* set a batch of files to be downloaded or not. */
240void tr_torrentSetFileDLs ( tr_torrent_t   * tor,
241                            int            * files,
242                            int              fileCount,
243                            int              do_download );
244
245/* single-file form of tr_torrentSetFileDLs */
246void tr_torrentSetFileDL( tr_torrent_t *, int file, int do_download );
247
248
249typedef enum
250{
251    TR_CP_INCOMPLETE,   /* doesn't have all the desired pieces */
252    TR_CP_DONE,         /* has all the pieces but the DND ones */
253    TR_CP_COMPLETE      /* has every piece */
254}
255cp_status_t;
256
257cp_status_t tr_torrentGetFileStatus( const tr_torrent_t  * tor,
258                                     int                   fileIndex );
259
260
261/***********************************************************************
262 * tr_torrentRates
263 ***********************************************************************
264 * Gets the total download and upload rates
265 **********************************************************************/
266void tr_torrentRates( tr_handle_t *, float *, float * );
267
268/***********************************************************************
269 * tr_close
270 ***********************************************************************
271 * Frees memory allocated by tr_init.
272 **********************************************************************/
273void tr_close( tr_handle_t * );
274
275/***********************************************************************
276 * tr_torrentInit
277 ***********************************************************************
278 * Opens and parses torrent file at 'path'. If the file exists and is
279 * a valid torrent file, returns an handle and adds it to the list of
280 * torrents (but doesn't start it). Returns NULL and sets *error
281 * otherwise. If hash is not NULL and the torrent is already loaded
282 * then it's 20-byte hash will be copied in. If the TR_FLAG_SAVE flag
283 * is passed then a copy of the torrent file will be saved.
284 **********************************************************************/
285#define TR_EINVALID     1
286#define TR_EUNSUPPORTED 2
287#define TR_EDUPLICATE   3
288#define TR_EOTHER       666
289tr_torrent_t * tr_torrentInit( tr_handle_t  * handle,
290                               const char   * metainfo_filename,
291                               const char   * destination,
292                               int            flags,
293                               int          * setme_error );
294
295typedef struct tr_info_s tr_info_t;
296
297/**
298 * Parses the specified metainfo file.
299 *
300 * Returns TR_OK if it parsed and can be added to Transmission.
301 * Returns TR_INVALID if it couldn't be parsed.
302 * Returns TR_EDUPLICATE if it parsed but can't be added.
303 *
304 * "destination" can be NULL if you don't need to know whether
305 * or not the torrent can be added.
306 *
307 " "setme_info" can be NULL if you don't need the information.
308 * If the metainfo can be parsed and setme_info is non-NULL,
309 * it will be filled with the metadata's info.  You'll need to
310 * call tr_metainfoFree( setme_info ) when done with it.
311 */
312int tr_torrentParse( const tr_handle_t  * handle,
313                     const char         * metainfo_filename,
314                     const char         * destination,
315                     tr_info_t          * setme_info );
316
317/**
318 * Parses the cached metainfo file that matches the given hash string.
319 * See tr_torrentParse() for a description of the arguments
320 */
321int
322tr_torrentParseHash( const tr_handle_t  * h,
323                     const char         * hashStr,
324                     const char         * destination,
325                     tr_info_t          * setme_info );
326
327
328/***********************************************************************
329 * tr_torrentInitData
330 ***********************************************************************
331 * Like tr_torrentInit, except the actual torrent data is passed in
332 * instead of the filename.
333 **********************************************************************/
334tr_torrent_t * tr_torrentInitData( tr_handle_t *,
335                                   const uint8_t * data, size_t size,
336                                   const char * destination,
337                                   int flags, int * error );
338
339/***********************************************************************
340 * tr_torrentInitSaved
341 ***********************************************************************
342 * Opens and parses a torrent file as with tr_torrentInit, only taking
343 * the hash string of a saved torrent file instead of a filename. There
344 * are currently no valid flags for this function.
345 **********************************************************************/
346tr_torrent_t * tr_torrentInitSaved( tr_handle_t *,
347                                    const char * hashStr,
348                                    const char * destination,
349                                    int flags, int * error );
350
351/***********************************************************************
352 * tr_torrentDisablePex
353 ***********************************************************************
354 * Disable or enable peer exchange for this torrent. Peer exchange is
355 * enabled by default, except for private torrents where pex is
356 * disabled and cannot be enabled.
357 **********************************************************************/
358void tr_torrentDisablePex( tr_torrent_t *, int disable );
359
360const tr_info_t * tr_torrentInfo( const tr_torrent_t * );
361
362#if 0
363/***********************************************************************
364 * tr_torrentScrape
365 ***********************************************************************
366 * Asks the tracker for the count of seeders and leechers. Returns 0
367 * and fills 's' and 'l' if successful. Otherwise returns 1 if the
368 * tracker doesn't support the scrape protocol, is unreachable or
369 * replied with some error. tr_torrentScrape may block up to 20 seconds
370 * before returning.
371 **********************************************************************/
372int tr_torrentScrape( tr_torrent_t *, int * s, int * l, int * d );
373#endif
374
375void   tr_torrentSetFolder( tr_torrent_t *, const char * );
376const char * tr_torrentGetFolder( const tr_torrent_t * );
377
378/***********************************************************************
379 * tr_torrentStart
380 ***********************************************************************
381 * Starts downloading. The download is launched in a seperate thread,
382 * therefore tr_torrentStart returns immediately.
383 **********************************************************************/
384void   tr_torrentStart( tr_torrent_t * );
385
386/***********************************************************************
387 * tr_torrentStop
388 ***********************************************************************
389 * Stops downloading and notices the tracker that we are leaving. The
390 * thread keeps running while doing so.
391 * The thread will eventually be joined, either:
392 * - by tr_torrentStat when the tracker has been successfully noticed,
393 * - by tr_torrentStat if the tracker could not be noticed within 60s,
394 * - by tr_torrentClose if you choose to remove the torrent without
395 *   waiting any further.
396 **********************************************************************/
397void tr_torrentStop( tr_torrent_t * );
398
399/***********************************************************************
400 * tr_getComplete, tr_getIncomplete and tr_getPartial
401 ***********************************************************************
402 * The first call after a torrent changed state returns 1. Returns 0
403 * in other cases.
404 **********************************************************************/
405int tr_getIncomplete( tr_torrent_t * tor );
406int tr_getDone( tr_torrent_t * tor );
407int tr_getComplete( tr_torrent_t * tor );
408
409
410/***********************************************************************
411 * tr_manualUpdate
412 ***********************************************************************
413 * Reannounce to tracker regardless of wait interval
414 **********************************************************************/
415void tr_manualUpdate( tr_torrent_t * );
416
417/***********************************************************************
418 * tr_torrentStat
419 ***********************************************************************
420 * Returns a pointer to an tr_stat_t structure with updated information
421 * on the torrent. The structure belongs to libtransmission (do not
422 * free it) and is guaranteed to be unchanged until the next call to
423 * tr_torrentStat.
424 * The interface should call this function every second or so in order
425 * to update itself.
426 **********************************************************************/
427typedef struct tr_stat_s tr_stat_t;
428const tr_stat_t * tr_torrentStat( tr_torrent_t * );
429
430/***********************************************************************
431 * tr_torrentPeers
432 ***********************************************************************/
433typedef struct tr_peer_stat_s tr_peer_stat_t;
434tr_peer_stat_t * tr_torrentPeers( const tr_torrent_t *, int * peerCount );
435void tr_torrentPeersFree( tr_peer_stat_t *, int peerCount );
436
437/***********************************************************************
438 * tr_torrentAvailability
439 ***********************************************************************
440 * Use this to draw an advanced progress bar which is 'size' pixels
441 * wide. Fills 'tab' which you must have allocated: each byte is set
442 * to either -1 if we have the piece, otherwise it is set to the number
443 * of connected peers who have the piece.
444 **********************************************************************/
445void tr_torrentAvailability( const tr_torrent_t *, int8_t * tab, int size );
446
447void tr_torrentAmountFinished( const tr_torrent_t * tor, float * tab, int size );
448
449/***********************************************************************
450 * tr_torrentCompletion
451 ***********************************************************************
452 * Returns the completion progress for each file in the torrent as an
453 * array of floats the same size and order as in tr_info_t. Free the
454 * array when done.
455 **********************************************************************/
456float * tr_torrentCompletion( const tr_torrent_t * );
457
458float tr_torrentFileCompletion( const tr_torrent_t *, int fileIndex );
459
460uint64_t tr_torrentFileBytesCompleted( const tr_torrent_t *, int fileIndex ); 
461
462
463/***********************************************************************
464 * tr_torrentRemoveSaved
465 ***********************************************************************
466 * Removes the saved copy of a torrent file for torrents which the
467 * TR_FLAG_SAVE flag is set.
468 **********************************************************************/
469void tr_torrentRemoveSaved( tr_torrent_t * );
470
471void tr_torrentRecheck( tr_torrent_t * );
472
473/***********************************************************************
474 * tr_torrentClose
475 ***********************************************************************
476 * Frees memory allocated by tr_torrentInit. If the torrent was running,
477 * it is stopped first.
478 **********************************************************************/
479void tr_torrentClose( tr_torrent_t * );
480
481/***********************************************************************
482 * tr_info_s
483 **********************************************************************/
484
485typedef struct tr_file_s
486{
487    uint64_t length;                /* Length of the file, in bytes */
488    char     name[MAX_PATH_LENGTH]; /* Path to the file */
489    int8_t   priority;              /* TR_PRI_HIGH, _NORMAL, or _LOW */
490    int8_t   dnd;                   /* nonzero if the file shouldn't be downloaded */
491    int      firstPiece;            /* We need pieces [firstPiece... */
492    int      lastPiece;             /* ...lastPiece] to dl this file */
493    uint64_t offset;                /* file begins at the torrent's nth byte */
494}
495tr_file_t;
496
497typedef struct tr_piece_s
498{
499    uint8_t  hash[SHA_DIGEST_LENGTH];  /* pieces hash */
500    int8_t   priority;                 /* TR_PRI_HIGH, _NORMAL, or _LOW */
501    int8_t   dnd;                      /*  nonzero if the piece shouldn't be downloaded */
502}
503tr_piece_t;
504   
505struct tr_info_s
506{
507    /* Path to torrent */
508    char                 torrent[MAX_PATH_LENGTH];
509
510    /* General info */
511    uint8_t              hash[SHA_DIGEST_LENGTH];
512    char                 hashString[2*SHA_DIGEST_LENGTH+1];
513    char                 name[MAX_PATH_LENGTH];
514
515    /* Flags */
516#define TR_FLAG_SAVE    0x01 /* save a copy of the torrent file */
517#define TR_FLAG_PRIVATE 0x02 /* do not share information for this torrent */
518#define TR_FLAG_PAUSED  0x04 /* don't start the torrent when adding it */
519    int                  flags;
520
521    /* Tracker info */
522    struct
523    {
524        tr_tracker_info_t * list;
525        int                 count;
526    }                  * trackerList;
527    int                  trackerTiers;
528
529    /* Torrent info */
530    char                 comment[MAX_PATH_LENGTH];
531    char                 creator[MAX_PATH_LENGTH];
532    int                  dateCreated;
533
534    /* Pieces info */
535    int                  pieceSize;
536    int                  pieceCount;
537    uint64_t             totalSize;
538    tr_piece_t         * pieces;
539
540    /* Files info */
541    int                  multifile;
542    int                  fileCount;
543    tr_file_t          * files;
544};
545
546typedef enum
547{
548    TR_STATUS_CHECK_WAIT   = (1<<0), /* Waiting in queue to check files */
549    TR_STATUS_CHECK        = (1<<1), /* Checking files */
550    TR_STATUS_DOWNLOAD     = (1<<2), /* Downloading */
551    TR_STATUS_DONE         = (1<<3), /* not at 100% so can't tell the tracker
552                                        we're a seeder, but due to DND files
553                                        there's nothing we want right now */
554    TR_STATUS_SEED         = (1<<4), /* Seeding */
555    TR_STATUS_STOPPING     = (1<<5), /* Stopping -- closing connections, etc. */
556    TR_STATUS_STOPPED      = (1<<6)  /* Torrent is stopped */
557}
558torrent_status_t;
559
560#define TR_STATUS_ACTIVE \
561    (TR_STATUS_CHECK_WAIT|TR_STATUS_CHECK|TR_STATUS_DOWNLOAD|TR_STATUS_DONE|TR_STATUS_SEED)
562#define TR_STATUS_INACTIVE \
563    (TR_STATUS_STOPPING|TR_STATUS_STOPPED)
564
565/***********************************************************************
566 * tr_stat_s
567 **********************************************************************/
568struct tr_stat_s
569{
570    torrent_status_t    status;
571    cp_status_t         cpStatus;
572
573    int                 error;
574    char                errorString[128];
575    int                 cannotConnect;
576
577    const tr_tracker_info_t * tracker;
578
579    float               percentComplete;
580    float               percentDone;
581    float               rateDownload;
582    float               rateUpload;
583    int                 eta;
584    int                 peersTotal;
585    int                 peersConnected;
586    int                 peersFrom[TR_PEER_FROM__MAX];
587    int                 peersUploading;
588    int                 peersDownloading;
589    int                 seeders;
590    int                 leechers;
591    int                 completedFromTracker;
592
593    uint64_t            left;
594    uint64_t            downloaded;
595    uint64_t            downloadedValid;
596    uint64_t            uploaded;
597    float               swarmspeed;
598
599#define TR_RATIO_NA  -1
600    float               ratio;
601   
602    uint64_t            startDate;
603    uint64_t            activityDate;
604};
605
606struct tr_peer_stat_s
607{
608    char    addr[INET_ADDRSTRLEN];
609    const char * client;
610   
611    int     isConnected;
612    int     from;
613    float   progress;
614    int     port;
615   
616    int     isDownloading;
617    int     isUploading;
618    float   downloadFromRate;
619    float   uploadToRate;
620};
621
622struct tr_msg_list_s
623{
624    int                    level;
625    time_t                 when;
626    char                 * message;
627    struct tr_msg_list_s * next;
628};
629
630struct tr_tracker_info_s
631{
632    char * address;
633    int    port;
634    char * announce;
635    char * scrape;
636};
637
638struct tr_handle_status_s
639{
640#define TR_NAT_TRAVERSAL_MAPPING        1
641#define TR_NAT_TRAVERSAL_MAPPED         2
642#define TR_NAT_TRAVERSAL_NOTFOUND       3
643#define TR_NAT_TRAVERSAL_ERROR          4
644#define TR_NAT_TRAVERSAL_UNMAPPING      5
645#define TR_NAT_TRAVERSAL_DISABLED       6
646#define TR_NAT_TRAVERSAL_IS_DISABLED( st ) \
647  ( TR_NAT_TRAVERSAL_DISABLED == (st) || TR_NAT_TRAVERSAL_UNMAPPING == (st) )
648    int natTraversalStatus;
649    int publicPort;
650};
651
652#ifdef __TRANSMISSION__
653#  include "internal.h"
654#endif
655
656#ifdef __cplusplus
657}
658#endif
659
660#endif
Note: See TracBrowser for help on using the repository browser.