File: WFUT.py

package info (click to toggle)
libwfut 0.2.1-2
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 2,596 kB
  • ctags: 1,927
  • sloc: cpp: 18,504; sh: 9,196; python: 630; makefile: 76
file content (523 lines) | stat: -rw-r--r-- 27,495 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 1.3.33
#
# Don't modify this file, modify the SWIG interface instead.
# This file is compatible with both classic and new-style classes.

import pyWFUT
import new
new_instancemethod = new.instancemethod
try:
    _swig_property = property
except NameError:
    pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
    if (name == "thisown"): return self.this.own(value)
    if (name == "this"):
        if type(value).__name__ == 'PySwigObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name,None)
    if method: return method(self,value)
    if (not static) or hasattr(self,name):
        self.__dict__[name] = value
    else:
        raise AttributeError("You cannot add attributes to %s" % self)

def _swig_setattr(self,class_type,name,value):
    return _swig_setattr_nondynamic(self,class_type,name,value,0)

def _swig_getattr(self,class_type,name):
    if (name == "thisown"): return self.this.own()
    method = class_type.__swig_getmethods__.get(name,None)
    if method: return method(self)
    raise AttributeError,name

def _swig_repr(self):
    try: strthis = "proxy of " + self.this.__repr__()
    except: strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)

import types
try:
    _object = types.ObjectType
    _newclass = 1
except AttributeError:
    class _object : pass
    _newclass = 0
del types


class MirrorList(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, MirrorList, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, MirrorList, name)
    __repr__ = _swig_repr
    def iterator(*args): return pyWFUT.MirrorList_iterator(*args)
    def __iter__(self): return self.iterator()
    def __nonzero__(*args): return pyWFUT.MirrorList___nonzero__(*args)
    def __len__(*args): return pyWFUT.MirrorList___len__(*args)
    def pop(*args): return pyWFUT.MirrorList_pop(*args)
    def __getslice__(*args): return pyWFUT.MirrorList___getslice__(*args)
    def __setslice__(*args): return pyWFUT.MirrorList___setslice__(*args)
    def __delslice__(*args): return pyWFUT.MirrorList___delslice__(*args)
    def __delitem__(*args): return pyWFUT.MirrorList___delitem__(*args)
    def __getitem__(*args): return pyWFUT.MirrorList___getitem__(*args)
    def __setitem__(*args): return pyWFUT.MirrorList___setitem__(*args)
    def append(*args): return pyWFUT.MirrorList_append(*args)
    def empty(*args): return pyWFUT.MirrorList_empty(*args)
    def size(*args): return pyWFUT.MirrorList_size(*args)
    def clear(*args): return pyWFUT.MirrorList_clear(*args)
    def swap(*args): return pyWFUT.MirrorList_swap(*args)
    def get_allocator(*args): return pyWFUT.MirrorList_get_allocator(*args)
    def begin(*args): return pyWFUT.MirrorList_begin(*args)
    def end(*args): return pyWFUT.MirrorList_end(*args)
    def rbegin(*args): return pyWFUT.MirrorList_rbegin(*args)
    def rend(*args): return pyWFUT.MirrorList_rend(*args)
    def pop_back(*args): return pyWFUT.MirrorList_pop_back(*args)
    def erase(*args): return pyWFUT.MirrorList_erase(*args)
    def __init__(self, *args): 
        this = pyWFUT.new_MirrorList(*args)
        try: self.this.append(this)
        except: self.this = this
    def push_back(*args): return pyWFUT.MirrorList_push_back(*args)
    def front(*args): return pyWFUT.MirrorList_front(*args)
    def back(*args): return pyWFUT.MirrorList_back(*args)
    def assign(*args): return pyWFUT.MirrorList_assign(*args)
    def resize(*args): return pyWFUT.MirrorList_resize(*args)
    def insert(*args): return pyWFUT.MirrorList_insert(*args)
    def reserve(*args): return pyWFUT.MirrorList_reserve(*args)
    def capacity(*args): return pyWFUT.MirrorList_capacity(*args)
    __swig_destroy__ = pyWFUT.delete_MirrorList
    __del__ = lambda self : None;
MirrorList_swigregister = pyWFUT.MirrorList_swigregister
MirrorList_swigregister(MirrorList)

class FileList(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, FileList, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, FileList, name)
    __repr__ = _swig_repr
    def iterator(*args): return pyWFUT.FileList_iterator(*args)
    def __iter__(self): return self.iterator()
    def __nonzero__(*args): return pyWFUT.FileList___nonzero__(*args)
    def __len__(*args): return pyWFUT.FileList___len__(*args)
    def pop(*args): return pyWFUT.FileList_pop(*args)
    def __getslice__(*args): return pyWFUT.FileList___getslice__(*args)
    def __setslice__(*args): return pyWFUT.FileList___setslice__(*args)
    def __delslice__(*args): return pyWFUT.FileList___delslice__(*args)
    def __delitem__(*args): return pyWFUT.FileList___delitem__(*args)
    def __getitem__(*args): return pyWFUT.FileList___getitem__(*args)
    def __setitem__(*args): return pyWFUT.FileList___setitem__(*args)
    def append(*args): return pyWFUT.FileList_append(*args)
    def empty(*args): return pyWFUT.FileList_empty(*args)
    def size(*args): return pyWFUT.FileList_size(*args)
    def clear(*args): return pyWFUT.FileList_clear(*args)
    def swap(*args): return pyWFUT.FileList_swap(*args)
    def get_allocator(*args): return pyWFUT.FileList_get_allocator(*args)
    def begin(*args): return pyWFUT.FileList_begin(*args)
    def end(*args): return pyWFUT.FileList_end(*args)
    def rbegin(*args): return pyWFUT.FileList_rbegin(*args)
    def rend(*args): return pyWFUT.FileList_rend(*args)
    def pop_back(*args): return pyWFUT.FileList_pop_back(*args)
    def erase(*args): return pyWFUT.FileList_erase(*args)
    def __init__(self, *args): 
        this = pyWFUT.new_FileList(*args)
        try: self.this.append(this)
        except: self.this = this
    def push_back(*args): return pyWFUT.FileList_push_back(*args)
    def front(*args): return pyWFUT.FileList_front(*args)
    def back(*args): return pyWFUT.FileList_back(*args)
    def assign(*args): return pyWFUT.FileList_assign(*args)
    def resize(*args): return pyWFUT.FileList_resize(*args)
    def insert(*args): return pyWFUT.FileList_insert(*args)
    def reserve(*args): return pyWFUT.FileList_reserve(*args)
    def capacity(*args): return pyWFUT.FileList_capacity(*args)
    __swig_destroy__ = pyWFUT.delete_FileList
    __del__ = lambda self : None;
FileList_swigregister = pyWFUT.FileList_swigregister
FileList_swigregister(FileList)

class ChannelList(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, ChannelList, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, ChannelList, name)
    __repr__ = _swig_repr
    def iterator(*args): return pyWFUT.ChannelList_iterator(*args)
    def __iter__(self): return self.iterator()
    def __nonzero__(*args): return pyWFUT.ChannelList___nonzero__(*args)
    def __len__(*args): return pyWFUT.ChannelList___len__(*args)
    def pop(*args): return pyWFUT.ChannelList_pop(*args)
    def __getslice__(*args): return pyWFUT.ChannelList___getslice__(*args)
    def __setslice__(*args): return pyWFUT.ChannelList___setslice__(*args)
    def __delslice__(*args): return pyWFUT.ChannelList___delslice__(*args)
    def __delitem__(*args): return pyWFUT.ChannelList___delitem__(*args)
    def __getitem__(*args): return pyWFUT.ChannelList___getitem__(*args)
    def __setitem__(*args): return pyWFUT.ChannelList___setitem__(*args)
    def append(*args): return pyWFUT.ChannelList_append(*args)
    def empty(*args): return pyWFUT.ChannelList_empty(*args)
    def size(*args): return pyWFUT.ChannelList_size(*args)
    def clear(*args): return pyWFUT.ChannelList_clear(*args)
    def swap(*args): return pyWFUT.ChannelList_swap(*args)
    def get_allocator(*args): return pyWFUT.ChannelList_get_allocator(*args)
    def begin(*args): return pyWFUT.ChannelList_begin(*args)
    def end(*args): return pyWFUT.ChannelList_end(*args)
    def rbegin(*args): return pyWFUT.ChannelList_rbegin(*args)
    def rend(*args): return pyWFUT.ChannelList_rend(*args)
    def pop_back(*args): return pyWFUT.ChannelList_pop_back(*args)
    def erase(*args): return pyWFUT.ChannelList_erase(*args)
    def __init__(self, *args): 
        this = pyWFUT.new_ChannelList(*args)
        try: self.this.append(this)
        except: self.this = this
    def push_back(*args): return pyWFUT.ChannelList_push_back(*args)
    def front(*args): return pyWFUT.ChannelList_front(*args)
    def back(*args): return pyWFUT.ChannelList_back(*args)
    def assign(*args): return pyWFUT.ChannelList_assign(*args)
    def resize(*args): return pyWFUT.ChannelList_resize(*args)
    def insert(*args): return pyWFUT.ChannelList_insert(*args)
    def reserve(*args): return pyWFUT.ChannelList_reserve(*args)
    def capacity(*args): return pyWFUT.ChannelList_capacity(*args)
    __swig_destroy__ = pyWFUT.delete_ChannelList
    __del__ = lambda self : None;
ChannelList_swigregister = pyWFUT.ChannelList_swigregister
ChannelList_swigregister(ChannelList)

class FileMap(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, FileMap, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, FileMap, name)
    __repr__ = _swig_repr
    def iterator(*args): return pyWFUT.FileMap_iterator(*args)
    def __iter__(self): return self.iterator()
    def __nonzero__(*args): return pyWFUT.FileMap___nonzero__(*args)
    def __len__(*args): return pyWFUT.FileMap___len__(*args)
    def __getitem__(*args): return pyWFUT.FileMap___getitem__(*args)
    def __delitem__(*args): return pyWFUT.FileMap___delitem__(*args)
    def has_key(*args): return pyWFUT.FileMap_has_key(*args)
    def keys(*args): return pyWFUT.FileMap_keys(*args)
    def values(*args): return pyWFUT.FileMap_values(*args)
    def items(*args): return pyWFUT.FileMap_items(*args)
    def __contains__(*args): return pyWFUT.FileMap___contains__(*args)
    def key_iterator(*args): return pyWFUT.FileMap_key_iterator(*args)
    def value_iterator(*args): return pyWFUT.FileMap_value_iterator(*args)
    def __iter__(self): return self.key_iterator()
    def iterkeys(self): return self.key_iterator()
    def itervalues(self): return self.value_iterator()
    def iteritems(self): return self.iterator()
    def __setitem__(*args): return pyWFUT.FileMap___setitem__(*args)
    def __init__(self, *args): 
        this = pyWFUT.new_FileMap(*args)
        try: self.this.append(this)
        except: self.this = this
    def empty(*args): return pyWFUT.FileMap_empty(*args)
    def size(*args): return pyWFUT.FileMap_size(*args)
    def clear(*args): return pyWFUT.FileMap_clear(*args)
    def swap(*args): return pyWFUT.FileMap_swap(*args)
    def get_allocator(*args): return pyWFUT.FileMap_get_allocator(*args)
    def begin(*args): return pyWFUT.FileMap_begin(*args)
    def end(*args): return pyWFUT.FileMap_end(*args)
    def rbegin(*args): return pyWFUT.FileMap_rbegin(*args)
    def rend(*args): return pyWFUT.FileMap_rend(*args)
    def count(*args): return pyWFUT.FileMap_count(*args)
    def erase(*args): return pyWFUT.FileMap_erase(*args)
    def find(*args): return pyWFUT.FileMap_find(*args)
    def lower_bound(*args): return pyWFUT.FileMap_lower_bound(*args)
    def upper_bound(*args): return pyWFUT.FileMap_upper_bound(*args)
    __swig_destroy__ = pyWFUT.delete_FileMap
    __del__ = lambda self : None;
FileMap_swigregister = pyWFUT.FileMap_swigregister
FileMap_swigregister(FileMap)

LIBWFUT_TYPES_H = pyWFUT.LIBWFUT_TYPES_H
class ChannelObject(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, ChannelObject, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, ChannelObject, name)
    __repr__ = _swig_repr
    __swig_setmethods__["name"] = pyWFUT.ChannelObject_name_set
    __swig_getmethods__["name"] = pyWFUT.ChannelObject_name_get
    if _newclass:name = _swig_property(pyWFUT.ChannelObject_name_get, pyWFUT.ChannelObject_name_set)
    __swig_setmethods__["description"] = pyWFUT.ChannelObject_description_set
    __swig_getmethods__["description"] = pyWFUT.ChannelObject_description_get
    if _newclass:description = _swig_property(pyWFUT.ChannelObject_description_get, pyWFUT.ChannelObject_description_set)
    __swig_setmethods__["url"] = pyWFUT.ChannelObject_url_set
    __swig_getmethods__["url"] = pyWFUT.ChannelObject_url_get
    if _newclass:url = _swig_property(pyWFUT.ChannelObject_url_get, pyWFUT.ChannelObject_url_set)
    __swig_setmethods__["email"] = pyWFUT.ChannelObject_email_set
    __swig_getmethods__["email"] = pyWFUT.ChannelObject_email_get
    if _newclass:email = _swig_property(pyWFUT.ChannelObject_email_get, pyWFUT.ChannelObject_email_set)
    __swig_setmethods__["logo"] = pyWFUT.ChannelObject_logo_set
    __swig_getmethods__["logo"] = pyWFUT.ChannelObject_logo_get
    if _newclass:logo = _swig_property(pyWFUT.ChannelObject_logo_get, pyWFUT.ChannelObject_logo_set)
    def __init__(self, *args): 
        this = pyWFUT.new_ChannelObject(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = pyWFUT.delete_ChannelObject
    __del__ = lambda self : None;
ChannelObject_swigregister = pyWFUT.ChannelObject_swigregister
ChannelObject_swigregister(ChannelObject)

class FileObject(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, FileObject, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, FileObject, name)
    __repr__ = _swig_repr
    __swig_setmethods__["filename"] = pyWFUT.FileObject_filename_set
    __swig_getmethods__["filename"] = pyWFUT.FileObject_filename_get
    if _newclass:filename = _swig_property(pyWFUT.FileObject_filename_get, pyWFUT.FileObject_filename_set)
    __swig_setmethods__["version"] = pyWFUT.FileObject_version_set
    __swig_getmethods__["version"] = pyWFUT.FileObject_version_get
    if _newclass:version = _swig_property(pyWFUT.FileObject_version_get, pyWFUT.FileObject_version_set)
    __swig_setmethods__["crc32"] = pyWFUT.FileObject_crc32_set
    __swig_getmethods__["crc32"] = pyWFUT.FileObject_crc32_get
    if _newclass:crc32 = _swig_property(pyWFUT.FileObject_crc32_get, pyWFUT.FileObject_crc32_set)
    __swig_setmethods__["size"] = pyWFUT.FileObject_size_set
    __swig_getmethods__["size"] = pyWFUT.FileObject_size_get
    if _newclass:size = _swig_property(pyWFUT.FileObject_size_get, pyWFUT.FileObject_size_set)
    __swig_setmethods__["execute"] = pyWFUT.FileObject_execute_set
    __swig_getmethods__["execute"] = pyWFUT.FileObject_execute_get
    if _newclass:execute = _swig_property(pyWFUT.FileObject_execute_get, pyWFUT.FileObject_execute_set)
    __swig_setmethods__["deleted"] = pyWFUT.FileObject_deleted_set
    __swig_getmethods__["deleted"] = pyWFUT.FileObject_deleted_get
    if _newclass:deleted = _swig_property(pyWFUT.FileObject_deleted_get, pyWFUT.FileObject_deleted_set)
    def __init__(self, *args): 
        this = pyWFUT.new_FileObject(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = pyWFUT.delete_FileObject
    __del__ = lambda self : None;
FileObject_swigregister = pyWFUT.FileObject_swigregister
FileObject_swigregister(FileObject)

class MirrorObject(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, MirrorObject, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, MirrorObject, name)
    __repr__ = _swig_repr
    __swig_setmethods__["name"] = pyWFUT.MirrorObject_name_set
    __swig_getmethods__["name"] = pyWFUT.MirrorObject_name_get
    if _newclass:name = _swig_property(pyWFUT.MirrorObject_name_get, pyWFUT.MirrorObject_name_set)
    __swig_setmethods__["url"] = pyWFUT.MirrorObject_url_set
    __swig_getmethods__["url"] = pyWFUT.MirrorObject_url_get
    if _newclass:url = _swig_property(pyWFUT.MirrorObject_url_get, pyWFUT.MirrorObject_url_set)
    def __init__(self, *args): 
        this = pyWFUT.new_MirrorObject(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = pyWFUT.delete_MirrorObject
    __del__ = lambda self : None;
MirrorObject_swigregister = pyWFUT.MirrorObject_swigregister
MirrorObject_swigregister(MirrorObject)

calcCRC32 = pyWFUT.calcCRC32
LIBWFUT_CHANNELFILELIST_H = pyWFUT.LIBWFUT_CHANNELFILELIST_H
class ChannelFileList(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, ChannelFileList, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, ChannelFileList, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        this = pyWFUT.new_ChannelFileList(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = pyWFUT.delete_ChannelFileList
    __del__ = lambda self : None;
    def getName(*args): return pyWFUT.ChannelFileList_getName(*args)
    def setName(*args): return pyWFUT.ChannelFileList_setName(*args)
    def getFiles(*args): return pyWFUT.ChannelFileList_getFiles(*args)
    def addFile(*args): return pyWFUT.ChannelFileList_addFile(*args)
    def removeFile(*args): return pyWFUT.ChannelFileList_removeFile(*args)
    def clear(*args): return pyWFUT.ChannelFileList_clear(*args)
    def size(*args): return pyWFUT.ChannelFileList_size(*args)
ChannelFileList_swigregister = pyWFUT.ChannelFileList_swigregister
ChannelFileList_swigregister(ChannelFileList)

LIBWFUT_CHANNELIO_H = pyWFUT.LIBWFUT_CHANNELIO_H
parseChannelList = pyWFUT.parseChannelList
parseChannelListXML = pyWFUT.parseChannelListXML
writeChannelList = pyWFUT.writeChannelList
parseMirrorList = pyWFUT.parseMirrorList
parseMirrorListXML = pyWFUT.parseMirrorListXML
LIBWFUT_ENCODER_H = pyWFUT.LIBWFUT_ENCODER_H
class Encoder(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, Encoder, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, Encoder, name)
    __repr__ = _swig_repr
    __swig_getmethods__["encodeString"] = lambda x: pyWFUT.Encoder_encodeString
    if _newclass:encodeString = staticmethod(pyWFUT.Encoder_encodeString)
    __swig_getmethods__["decodeString"] = lambda x: pyWFUT.Encoder_decodeString
    if _newclass:decodeString = staticmethod(pyWFUT.Encoder_decodeString)
    __swig_getmethods__["encodeURL"] = lambda x: pyWFUT.Encoder_encodeURL
    if _newclass:encodeURL = staticmethod(pyWFUT.Encoder_encodeURL)
    def __init__(self, *args): 
        this = pyWFUT.new_Encoder(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = pyWFUT.delete_Encoder
    __del__ = lambda self : None;
Encoder_swigregister = pyWFUT.Encoder_swigregister
Encoder_swigregister(Encoder)
cvar = pyWFUT.cvar
TAG_name = cvar.TAG_name
TAG_description = cvar.TAG_description
TAG_url = cvar.TAG_url
TAG_email = cvar.TAG_email
TAG_logo = cvar.TAG_logo
TAG_channel = cvar.TAG_channel
TAG_channellist = cvar.TAG_channellist
TAG_mirror = cvar.TAG_mirror
TAG_mirrorlist = cvar.TAG_mirrorlist
Encoder_encodeString = pyWFUT.Encoder_encodeString
Encoder_decodeString = pyWFUT.Encoder_decodeString
Encoder_encodeURL = pyWFUT.Encoder_encodeURL

LIBWFUT_FILEIO_H = pyWFUT.LIBWFUT_FILEIO_H
parseFileList = pyWFUT.parseFileList
parseFileListXML = pyWFUT.parseFileListXML
writeFileList = pyWFUT.writeFileList
LIBWFUT_IO_H = pyWFUT.LIBWFUT_IO_H
class DataStruct(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, DataStruct, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, DataStruct, name)
    __repr__ = _swig_repr
    __swig_setmethods__["filename"] = pyWFUT.DataStruct_filename_set
    __swig_getmethods__["filename"] = pyWFUT.DataStruct_filename_get
    if _newclass:filename = _swig_property(pyWFUT.DataStruct_filename_get, pyWFUT.DataStruct_filename_set)
    __swig_setmethods__["path"] = pyWFUT.DataStruct_path_set
    __swig_getmethods__["path"] = pyWFUT.DataStruct_path_get
    if _newclass:path = _swig_property(pyWFUT.DataStruct_path_get, pyWFUT.DataStruct_path_set)
    __swig_setmethods__["url"] = pyWFUT.DataStruct_url_set
    __swig_getmethods__["url"] = pyWFUT.DataStruct_url_get
    if _newclass:url = _swig_property(pyWFUT.DataStruct_url_get, pyWFUT.DataStruct_url_set)
    __swig_setmethods__["executable"] = pyWFUT.DataStruct_executable_set
    __swig_getmethods__["executable"] = pyWFUT.DataStruct_executable_get
    if _newclass:executable = _swig_property(pyWFUT.DataStruct_executable_get, pyWFUT.DataStruct_executable_set)
    __swig_setmethods__["fp"] = pyWFUT.DataStruct_fp_set
    __swig_getmethods__["fp"] = pyWFUT.DataStruct_fp_get
    if _newclass:fp = _swig_property(pyWFUT.DataStruct_fp_get, pyWFUT.DataStruct_fp_set)
    __swig_setmethods__["actual_crc32"] = pyWFUT.DataStruct_actual_crc32_set
    __swig_getmethods__["actual_crc32"] = pyWFUT.DataStruct_actual_crc32_get
    if _newclass:actual_crc32 = _swig_property(pyWFUT.DataStruct_actual_crc32_get, pyWFUT.DataStruct_actual_crc32_set)
    __swig_setmethods__["expected_crc32"] = pyWFUT.DataStruct_expected_crc32_set
    __swig_getmethods__["expected_crc32"] = pyWFUT.DataStruct_expected_crc32_get
    if _newclass:expected_crc32 = _swig_property(pyWFUT.DataStruct_expected_crc32_get, pyWFUT.DataStruct_expected_crc32_set)
    __swig_setmethods__["handle"] = pyWFUT.DataStruct_handle_set
    __swig_getmethods__["handle"] = pyWFUT.DataStruct_handle_get
    if _newclass:handle = _swig_property(pyWFUT.DataStruct_handle_get, pyWFUT.DataStruct_handle_set)
    def __init__(self, *args): 
        this = pyWFUT.new_DataStruct(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = pyWFUT.delete_DataStruct
    __del__ = lambda self : None;
DataStruct_swigregister = pyWFUT.DataStruct_swigregister
DataStruct_swigregister(DataStruct)
TAG_filename = cvar.TAG_filename
TAG_version = cvar.TAG_version
TAG_crc32 = cvar.TAG_crc32
TAG_size = cvar.TAG_size
TAG_execute = cvar.TAG_execute
TAG_file = cvar.TAG_file
TAG_filelist = cvar.TAG_filelist
TAG_dir = cvar.TAG_dir
TAG_deleted = cvar.TAG_deleted

class IO(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, IO, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, IO, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        this = pyWFUT.new_IO(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = pyWFUT.delete_IO
    __del__ = lambda self : None;
    def init(*args): return pyWFUT.IO_init(*args)
    def shutdown(*args): return pyWFUT.IO_shutdown(*args)
    def poll(*args): return pyWFUT.IO_poll(*args)
    def downloadFile(*args): return pyWFUT.IO_downloadFile(*args)
    def queueFile(*args): return pyWFUT.IO_queueFile(*args)
    __swig_setmethods__["DownloadComplete"] = pyWFUT.IO_DownloadComplete_set
    __swig_getmethods__["DownloadComplete"] = pyWFUT.IO_DownloadComplete_get
    if _newclass:DownloadComplete = _swig_property(pyWFUT.IO_DownloadComplete_get, pyWFUT.IO_DownloadComplete_set)
    __swig_setmethods__["DownloadFailed"] = pyWFUT.IO_DownloadFailed_set
    __swig_getmethods__["DownloadFailed"] = pyWFUT.IO_DownloadFailed_get
    if _newclass:DownloadFailed = _swig_property(pyWFUT.IO_DownloadFailed_get, pyWFUT.IO_DownloadFailed_set)
    def getMaxDownloads(*args): return pyWFUT.IO_getMaxDownloads(*args)
    def setMaxDownloads(*args): return pyWFUT.IO_setMaxDownloads(*args)
    def abortAll(*args): return pyWFUT.IO_abortAll(*args)
    def abortDownload(*args): return pyWFUT.IO_abortDownload(*args)
IO_swigregister = pyWFUT.IO_swigregister
IO_swigregister(IO)

LIBWFUT_WFUT_H = pyWFUT.LIBWFUT_WFUT_H
WFUT_NO_ERROR = pyWFUT.WFUT_NO_ERROR
WFUT_GENERAL_ERROR = pyWFUT.WFUT_GENERAL_ERROR
WFUT_DOWNLOAD_ERROR = pyWFUT.WFUT_DOWNLOAD_ERROR
WFUT_PARSE_ERROR = pyWFUT.WFUT_PARSE_ERROR
WFUT_WRITE_ERROR = pyWFUT.WFUT_WRITE_ERROR
WFUT_UPDATE_NONE = pyWFUT.WFUT_UPDATE_NONE
WFUT_UPDATE_NO_LOCAL = pyWFUT.WFUT_UPDATE_NO_LOCAL
WFUT_UPDATE_SERVER_SYSTEM = pyWFUT.WFUT_UPDATE_SERVER_SYSTEM
WFUT_UPDATE_SERVER_LOCAL = pyWFUT.WFUT_UPDATE_SERVER_LOCAL
WFUT_UPDATE_MISSING = pyWFUT.WFUT_UPDATE_MISSING
WFUT_UPDATE_MODIFIED = pyWFUT.WFUT_UPDATE_MODIFIED
WFUT_UPDATE_DELETED = pyWFUT.WFUT_UPDATE_DELETED
class WFUTClient(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, WFUTClient, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, WFUTClient, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        this = pyWFUT.new_WFUTClient(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = pyWFUT.delete_WFUTClient
    __del__ = lambda self : None;
    def init(*args): return pyWFUT.WFUTClient_init(*args)
    def shutdown(*args): return pyWFUT.WFUTClient_shutdown(*args)
    def updateChannel(*args): return pyWFUT.WFUTClient_updateChannel(*args)
    def updateFile(*args): return pyWFUT.WFUTClient_updateFile(*args)
    def getMirrorList(*args): return pyWFUT.WFUTClient_getMirrorList(*args)
    def getChannelList(*args): return pyWFUT.WFUTClient_getChannelList(*args)
    def getFileList(*args): return pyWFUT.WFUTClient_getFileList(*args)
    def getLocalList(*args): return pyWFUT.WFUTClient_getLocalList(*args)
    def saveLocalList(*args): return pyWFUT.WFUTClient_saveLocalList(*args)
    def calculateUpdates(*args): return pyWFUT.WFUTClient_calculateUpdates(*args)
    def poll(*args): return pyWFUT.WFUTClient_poll(*args)
    __swig_setmethods__["DownloadComplete"] = pyWFUT.WFUTClient_DownloadComplete_set
    __swig_getmethods__["DownloadComplete"] = pyWFUT.WFUTClient_DownloadComplete_get
    if _newclass:DownloadComplete = _swig_property(pyWFUT.WFUTClient_DownloadComplete_get, pyWFUT.WFUTClient_DownloadComplete_set)
    __swig_setmethods__["DownloadFailed"] = pyWFUT.WFUTClient_DownloadFailed_set
    __swig_getmethods__["DownloadFailed"] = pyWFUT.WFUTClient_DownloadFailed_get
    if _newclass:DownloadFailed = _swig_property(pyWFUT.WFUTClient_DownloadFailed_get, pyWFUT.WFUTClient_DownloadFailed_set)
    __swig_setmethods__["UpdateReason"] = pyWFUT.WFUTClient_UpdateReason_set
    __swig_getmethods__["UpdateReason"] = pyWFUT.WFUTClient_UpdateReason_get
    if _newclass:UpdateReason = _swig_property(pyWFUT.WFUTClient_UpdateReason_get, pyWFUT.WFUTClient_UpdateReason_set)
    def abortAll(*args): return pyWFUT.WFUTClient_abortAll(*args)
    def abortDownload(*args): return pyWFUT.WFUTClient_abortDownload(*args)
    def DownloadCompleteCB(*args): return pyWFUT.WFUTClient_DownloadCompleteCB(*args)
    def DownloadFailedCB(*args): return pyWFUT.WFUTClient_DownloadFailedCB(*args)
    def UpdateReasonCB(*args): return pyWFUT.WFUTClient_UpdateReasonCB(*args)
WFUTClient_swigregister = pyWFUT.WFUTClient_swigregister
WFUTClient_swigregister(WFUTClient)