# This file was automatically generated by SWIG (http://www.swig.org).
# Version 1.3.40
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
# This file is compatible with both classic and new-style classes.

from sys import version_info
if version_info >= (2,6,0):
    def swig_import_helper():
        from os.path import dirname
        import imp
        fp = None
        try:
            fp, pathname, description = imp.find_module('_poldekmod', [dirname(__file__)])
        except ImportError:
            import _poldekmod
            return _poldekmod
        if fp is not None:
            try:
                _mod = imp.load_module('_poldekmod', fp, pathname, description)
            finally:
                fp.close()
            return _mod
    _poldekmod = swig_import_helper()
    del swig_import_helper
else:
    import _poldekmod
del version_info
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__ == 'SwigPyObject':
            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,)

try:
    _object = object
    _newclass = 1
except AttributeError:
    class _object : pass
    _newclass = 0


TN_ARRAY_CONSTSIZE = _poldekmod.TN_ARRAY_CONSTSIZE
TN_ARRAY_AUTOSORTED = _poldekmod.TN_ARRAY_AUTOSORTED
TN_ARRAY_FROZEN = _poldekmod.TN_ARRAY_FROZEN
TN_ARRAY_INTERNAL_ISSORTED = _poldekmod.TN_ARRAY_INTERNAL_ISSORTED
TN_ARRAY_INTERNAL_NA = _poldekmod.TN_ARRAY_INTERNAL_NA
class tn_array(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, tn_array, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, tn_array, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        this = _poldekmod.new_tn_array(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _poldekmod.delete_tn_array
    __del__ = lambda self : None;
    def __len__(self): return _poldekmod.tn_array___len__(self)
    def nth(self, *args): return _poldekmod.tn_array_nth(self, *args)
tn_array_swigregister = _poldekmod.tn_array_swigregister
tn_array_swigregister(tn_array)


def n_array_new_ex(*args):
  return _poldekmod.n_array_new_ex(*args)
n_array_new_ex = _poldekmod.n_array_new_ex

def n_array_new_na(*args):
  return _poldekmod.n_array_new_na(*args)
n_array_new_na = _poldekmod.n_array_new_na

def n_array_init_ex(*args):
  return _poldekmod.n_array_init_ex(*args)
n_array_init_ex = _poldekmod.n_array_init_ex

def n_array_ctl_set_freefn(*args):
  return _poldekmod.n_array_ctl_set_freefn(*args)
n_array_ctl_set_freefn = _poldekmod.n_array_ctl_set_freefn

def n_array_ctl_set_cmpfn(*args):
  return _poldekmod.n_array_ctl_set_cmpfn(*args)
n_array_ctl_set_cmpfn = _poldekmod.n_array_ctl_set_cmpfn

def n_array_ctl_get_cmpfn(*args):
  return _poldekmod.n_array_ctl_get_cmpfn(*args)
n_array_ctl_get_cmpfn = _poldekmod.n_array_ctl_get_cmpfn

def n_array_free(*args):
  return _poldekmod.n_array_free(*args)
n_array_free = _poldekmod.n_array_free

def n_array_cfree(*args):
  return _poldekmod.n_array_cfree(*args)
n_array_cfree = _poldekmod.n_array_cfree

def n_array_free_na(*args):
  return _poldekmod.n_array_free_na(*args)
n_array_free_na = _poldekmod.n_array_free_na

def n_array_clean(*args):
  return _poldekmod.n_array_clean(*args)
n_array_clean = _poldekmod.n_array_clean

def n_array_clone_ex(*args):
  return _poldekmod.n_array_clone_ex(*args)
n_array_clone_ex = _poldekmod.n_array_clone_ex

def n_array_clone(*args):
  return _poldekmod.n_array_clone(*args)
n_array_clone = _poldekmod.n_array_clone

def n_array_dup(*args):
  return _poldekmod.n_array_dup(*args)
n_array_dup = _poldekmod.n_array_dup

def n_array_size(*args):
  return _poldekmod.n_array_size(*args)
n_array_size = _poldekmod.n_array_size

def n_array_nth(*args):
  return _poldekmod.n_array_nth(*args)
n_array_nth = _poldekmod.n_array_nth

def n_array_set_nth(*args):
  return _poldekmod.n_array_set_nth(*args)
n_array_set_nth = _poldekmod.n_array_set_nth

def n_array_remove_nth(*args):
  return _poldekmod.n_array_remove_nth(*args)
n_array_remove_nth = _poldekmod.n_array_remove_nth

def n_array_push(*args):
  return _poldekmod.n_array_push(*args)
n_array_push = _poldekmod.n_array_push

def n_array_concat_ex(*args):
  return _poldekmod.n_array_concat_ex(*args)
n_array_concat_ex = _poldekmod.n_array_concat_ex

def n_array_grow_priv_(*args):
  return _poldekmod.n_array_grow_priv_(*args)
n_array_grow_priv_ = _poldekmod.n_array_grow_priv_

def n_array_pop(*args):
  return _poldekmod.n_array_pop(*args)
n_array_pop = _poldekmod.n_array_pop

def n_array_shift(*args):
  return _poldekmod.n_array_shift(*args)
n_array_shift = _poldekmod.n_array_shift

def n_array_unshift(*args):
  return _poldekmod.n_array_unshift(*args)
n_array_unshift = _poldekmod.n_array_unshift

def n_array_eq_ex(*args):
  return _poldekmod.n_array_eq_ex(*args)
n_array_eq_ex = _poldekmod.n_array_eq_ex

def n_array_reverse(*args):
  return _poldekmod.n_array_reverse(*args)
n_array_reverse = _poldekmod.n_array_reverse

def n_array_uniq_ex(*args):
  return _poldekmod.n_array_uniq_ex(*args)
n_array_uniq_ex = _poldekmod.n_array_uniq_ex

def n_array_sort_ex(*args):
  return _poldekmod.n_array_sort_ex(*args)
n_array_sort_ex = _poldekmod.n_array_sort_ex

def n_array_qsort_ex(*args):
  return _poldekmod.n_array_qsort_ex(*args)
n_array_qsort_ex = _poldekmod.n_array_qsort_ex

def n_array_isort_ex(*args):
  return _poldekmod.n_array_isort_ex(*args)
n_array_isort_ex = _poldekmod.n_array_isort_ex

def n_array_bsearch_ex(*args):
  return _poldekmod.n_array_bsearch_ex(*args)
n_array_bsearch_ex = _poldekmod.n_array_bsearch_ex

def n_array_bsearch_idx_ex(*args):
  return _poldekmod.n_array_bsearch_idx_ex(*args)
n_array_bsearch_idx_ex = _poldekmod.n_array_bsearch_idx_ex

def n_array_remove_ex(*args):
  return _poldekmod.n_array_remove_ex(*args)
n_array_remove_ex = _poldekmod.n_array_remove_ex

def n_array_map(*args):
  return _poldekmod.n_array_map(*args)
n_array_map = _poldekmod.n_array_map

def n_array_map_arg(*args):
  return _poldekmod.n_array_map_arg(*args)
n_array_map_arg = _poldekmod.n_array_map_arg

def n_array_dump_stats(*args):
  return _poldekmod.n_array_dump_stats(*args)
n_array_dump_stats = _poldekmod.n_array_dump_stats
REL_EQ = _poldekmod.REL_EQ
REL_GT = _poldekmod.REL_GT
REL_LT = _poldekmod.REL_LT
REL_ALL = _poldekmod.REL_ALL
CAPREQ_CNFL = _poldekmod.CAPREQ_CNFL
CAPREQ_PREREQ = _poldekmod.CAPREQ_PREREQ
CAPREQ_PREREQ_UN = _poldekmod.CAPREQ_PREREQ_UN
CAPREQ_OBCNFL = _poldekmod.CAPREQ_OBCNFL
CAPREQ_RPMLIB = _poldekmod.CAPREQ_RPMLIB
CAPREQ_ISDIR = _poldekmod.CAPREQ_ISDIR
CAPREQ_BASTARD = _poldekmod.CAPREQ_BASTARD
CAPREQ_RT_FLAGS = _poldekmod.CAPREQ_RT_FLAGS
class capreq(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, capreq, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, capreq, name)
    __repr__ = _swig_repr
    __swig_setmethods__["cr_flags"] = _poldekmod.capreq_cr_flags_set
    __swig_getmethods__["cr_flags"] = _poldekmod.capreq_cr_flags_get
    if _newclass:cr_flags = _swig_property(_poldekmod.capreq_cr_flags_get, _poldekmod.capreq_cr_flags_set)
    __swig_setmethods__["cr_relflags"] = _poldekmod.capreq_cr_relflags_set
    __swig_getmethods__["cr_relflags"] = _poldekmod.capreq_cr_relflags_get
    if _newclass:cr_relflags = _swig_property(_poldekmod.capreq_cr_relflags_get, _poldekmod.capreq_cr_relflags_set)
    __swig_setmethods__["name"] = _poldekmod.capreq_name_set
    __swig_getmethods__["name"] = _poldekmod.capreq_name_get
    if _newclass:name = _swig_property(_poldekmod.capreq_name_get, _poldekmod.capreq_name_set)
    __swig_setmethods__["cr_ep_ofs"] = _poldekmod.capreq_cr_ep_ofs_set
    __swig_getmethods__["cr_ep_ofs"] = _poldekmod.capreq_cr_ep_ofs_get
    if _newclass:cr_ep_ofs = _swig_property(_poldekmod.capreq_cr_ep_ofs_get, _poldekmod.capreq_cr_ep_ofs_set)
    __swig_setmethods__["cr_ver_ofs"] = _poldekmod.capreq_cr_ver_ofs_set
    __swig_getmethods__["cr_ver_ofs"] = _poldekmod.capreq_cr_ver_ofs_get
    if _newclass:cr_ver_ofs = _swig_property(_poldekmod.capreq_cr_ver_ofs_get, _poldekmod.capreq_cr_ver_ofs_set)
    __swig_setmethods__["cr_rel_ofs"] = _poldekmod.capreq_cr_rel_ofs_set
    __swig_getmethods__["cr_rel_ofs"] = _poldekmod.capreq_cr_rel_ofs_get
    if _newclass:cr_rel_ofs = _swig_property(_poldekmod.capreq_cr_rel_ofs_get, _poldekmod.capreq_cr_rel_ofs_set)
    __swig_setmethods__["_buff"] = _poldekmod.capreq__buff_set
    __swig_getmethods__["_buff"] = _poldekmod.capreq__buff_get
    if _newclass:_buff = _swig_property(_poldekmod.capreq__buff_get, _poldekmod.capreq__buff_set)
    def __init__(self, *args): 
        this = _poldekmod.new_capreq(*args)
        try: self.this.append(this)
        except: self.this = this
    def get_name(self): return _poldekmod.capreq_get_name(self)
    def get_epoch(self): return _poldekmod.capreq_get_epoch(self)
    def get_ver(self): return _poldekmod.capreq_get_ver(self)
    def get_rel(self): return _poldekmod.capreq_get_rel(self)
    def is_versioned(self): return _poldekmod.capreq_is_versioned(self)
    def _is_cnfl(self): return _poldekmod.capreq__is_cnfl(self)
    def _is_prereq(self): return _poldekmod.capreq__is_prereq(self)
    def _is_prereq_un(self): return _poldekmod.capreq__is_prereq_un(self)
    def _is_file(self): return _poldekmod.capreq__is_file(self)
    def _is_bastard(self): return _poldekmod.capreq__is_bastard(self)
    def _is_autodirreq(self): return _poldekmod.capreq__is_autodirreq(self)
    def _is_obsl(self): return _poldekmod.capreq__is_obsl(self)
    def _is_rpmlib(self): return _poldekmod.capreq__is_rpmlib(self)
    __swig_destroy__ = _poldekmod.delete_capreq
    __del__ = lambda self : None;
capreq_swigregister = _poldekmod.capreq_swigregister
capreq_swigregister(capreq)


def capreq_epoch_(*args):
  return _poldekmod.capreq_epoch_(*args)
capreq_epoch_ = _poldekmod.capreq_epoch_

def capreq_new_evr(*args):
  return _poldekmod.capreq_new_evr(*args)
capreq_new_evr = _poldekmod.capreq_new_evr

def capreq_new(*args):
  return _poldekmod.capreq_new(*args)
capreq_new = _poldekmod.capreq_new

def capreq_free_na(*args):
  return _poldekmod.capreq_free_na(*args)
capreq_free_na = _poldekmod.capreq_free_na

def capreq_free(*args):
  return _poldekmod.capreq_free(*args)
capreq_free = _poldekmod.capreq_free

def capreq_clone(*args):
  return _poldekmod.capreq_clone(*args)
capreq_clone = _poldekmod.capreq_clone

def capreq_strcmp_evr(*args):
  return _poldekmod.capreq_strcmp_evr(*args)
capreq_strcmp_evr = _poldekmod.capreq_strcmp_evr

def capreq_strcmp_name_evr(*args):
  return _poldekmod.capreq_strcmp_name_evr(*args)
capreq_strcmp_name_evr = _poldekmod.capreq_strcmp_name_evr

def capreq_cmp_name(*args):
  return _poldekmod.capreq_cmp_name(*args)
capreq_cmp_name = _poldekmod.capreq_cmp_name

def capreq_cmp_name_evr(*args):
  return _poldekmod.capreq_cmp_name_evr(*args)
capreq_cmp_name_evr = _poldekmod.capreq_cmp_name_evr

def capreq_snprintf(*args):
  return _poldekmod.capreq_snprintf(*args)
capreq_snprintf = _poldekmod.capreq_snprintf

def capreq_snprintf_s(*args):
  return _poldekmod.capreq_snprintf_s(*args)
capreq_snprintf_s = _poldekmod.capreq_snprintf_s

def capreq_snprintf_s0(*args):
  return _poldekmod.capreq_snprintf_s0(*args)
capreq_snprintf_s0 = _poldekmod.capreq_snprintf_s0

def capreq_str(*args):
  return _poldekmod.capreq_str(*args)
capreq_str = _poldekmod.capreq_str
PKG_HAS_SRCFN = _poldekmod.PKG_HAS_SRCFN
PKG_HAS_PKGUINF = _poldekmod.PKG_HAS_PKGUINF
PKG_HAS_SELFCAP = _poldekmod.PKG_HAS_SELFCAP
PKG_HELD = _poldekmod.PKG_HELD
PKG_IGNORED = _poldekmod.PKG_IGNORED
PKG_IGNORED_UNIQ = _poldekmod.PKG_IGNORED_UNIQ
PKG_ORDER_PREREQ = _poldekmod.PKG_ORDER_PREREQ
PKG_DBPKG = _poldekmod.PKG_DBPKG
PKG_INCLUDED_DIRREQS = _poldekmod.PKG_INCLUDED_DIRREQS
class pkg(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, pkg, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, pkg, name)
    __repr__ = _swig_repr
    __swig_setmethods__["flags"] = _poldekmod.pkg_flags_set
    __swig_getmethods__["flags"] = _poldekmod.pkg_flags_get
    if _newclass:flags = _swig_property(_poldekmod.pkg_flags_get, _poldekmod.pkg_flags_set)
    __swig_setmethods__["size"] = _poldekmod.pkg_size_set
    __swig_getmethods__["size"] = _poldekmod.pkg_size_get
    if _newclass:size = _swig_property(_poldekmod.pkg_size_get, _poldekmod.pkg_size_set)
    __swig_setmethods__["fsize"] = _poldekmod.pkg_fsize_set
    __swig_getmethods__["fsize"] = _poldekmod.pkg_fsize_get
    if _newclass:fsize = _swig_property(_poldekmod.pkg_fsize_get, _poldekmod.pkg_fsize_set)
    __swig_setmethods__["btime"] = _poldekmod.pkg_btime_set
    __swig_getmethods__["btime"] = _poldekmod.pkg_btime_get
    if _newclass:btime = _swig_property(_poldekmod.pkg_btime_get, _poldekmod.pkg_btime_set)
    __swig_setmethods__["color"] = _poldekmod.pkg_color_set
    __swig_getmethods__["color"] = _poldekmod.pkg_color_get
    if _newclass:color = _swig_property(_poldekmod.pkg_color_get, _poldekmod.pkg_color_set)
    __swig_setmethods__["name"] = _poldekmod.pkg_name_set
    __swig_getmethods__["name"] = _poldekmod.pkg_name_get
    if _newclass:name = _swig_property(_poldekmod.pkg_name_get, _poldekmod.pkg_name_set)
    __swig_setmethods__["epoch"] = _poldekmod.pkg_epoch_set
    __swig_getmethods__["epoch"] = _poldekmod.pkg_epoch_get
    if _newclass:epoch = _swig_property(_poldekmod.pkg_epoch_get, _poldekmod.pkg_epoch_set)
    __swig_setmethods__["ver"] = _poldekmod.pkg_ver_set
    __swig_getmethods__["ver"] = _poldekmod.pkg_ver_get
    if _newclass:ver = _swig_property(_poldekmod.pkg_ver_get, _poldekmod.pkg_ver_set)
    __swig_setmethods__["rel"] = _poldekmod.pkg_rel_set
    __swig_getmethods__["rel"] = _poldekmod.pkg_rel_get
    if _newclass:rel = _swig_property(_poldekmod.pkg_rel_get, _poldekmod.pkg_rel_set)
    __swig_setmethods__["fn"] = _poldekmod.pkg_fn_set
    __swig_getmethods__["fn"] = _poldekmod.pkg_fn_get
    if _newclass:fn = _swig_property(_poldekmod.pkg_fn_get, _poldekmod.pkg_fn_set)
    __swig_setmethods__["srcfn"] = _poldekmod.pkg_srcfn_set
    __swig_getmethods__["srcfn"] = _poldekmod.pkg_srcfn_get
    if _newclass:srcfn = _swig_property(_poldekmod.pkg_srcfn_get, _poldekmod.pkg_srcfn_set)
    __swig_setmethods__["fmtime"] = _poldekmod.pkg_fmtime_set
    __swig_getmethods__["fmtime"] = _poldekmod.pkg_fmtime_get
    if _newclass:fmtime = _swig_property(_poldekmod.pkg_fmtime_get, _poldekmod.pkg_fmtime_set)
    __swig_setmethods__["_nvr"] = _poldekmod.pkg__nvr_set
    __swig_getmethods__["_nvr"] = _poldekmod.pkg__nvr_get
    if _newclass:_nvr = _swig_property(_poldekmod.pkg__nvr_get, _poldekmod.pkg__nvr_set)
    __swig_setmethods__["_arch"] = _poldekmod.pkg__arch_set
    __swig_getmethods__["_arch"] = _poldekmod.pkg__arch_get
    if _newclass:_arch = _swig_property(_poldekmod.pkg__arch_get, _poldekmod.pkg__arch_set)
    __swig_setmethods__["_os"] = _poldekmod.pkg__os_set
    __swig_getmethods__["_os"] = _poldekmod.pkg__os_get
    if _newclass:_os = _swig_property(_poldekmod.pkg__os_get, _poldekmod.pkg__os_set)
    __swig_setmethods__["caps"] = _poldekmod.pkg_caps_set
    __swig_getmethods__["caps"] = _poldekmod.pkg_caps_get
    if _newclass:caps = _swig_property(_poldekmod.pkg_caps_get, _poldekmod.pkg_caps_set)
    __swig_setmethods__["reqs"] = _poldekmod.pkg_reqs_set
    __swig_getmethods__["reqs"] = _poldekmod.pkg_reqs_get
    if _newclass:reqs = _swig_property(_poldekmod.pkg_reqs_get, _poldekmod.pkg_reqs_set)
    __swig_setmethods__["cnfls"] = _poldekmod.pkg_cnfls_set
    __swig_getmethods__["cnfls"] = _poldekmod.pkg_cnfls_get
    if _newclass:cnfls = _swig_property(_poldekmod.pkg_cnfls_get, _poldekmod.pkg_cnfls_set)
    __swig_setmethods__["sugs"] = _poldekmod.pkg_sugs_set
    __swig_getmethods__["sugs"] = _poldekmod.pkg_sugs_get
    if _newclass:sugs = _swig_property(_poldekmod.pkg_sugs_get, _poldekmod.pkg_sugs_set)
    __swig_setmethods__["fl"] = _poldekmod.pkg_fl_set
    __swig_getmethods__["fl"] = _poldekmod.pkg_fl_get
    if _newclass:fl = _swig_property(_poldekmod.pkg_fl_get, _poldekmod.pkg_fl_set)
    __swig_setmethods__["reqpkgs"] = _poldekmod.pkg_reqpkgs_set
    __swig_getmethods__["reqpkgs"] = _poldekmod.pkg_reqpkgs_get
    if _newclass:reqpkgs = _swig_property(_poldekmod.pkg_reqpkgs_get, _poldekmod.pkg_reqpkgs_set)
    __swig_setmethods__["revreqpkgs"] = _poldekmod.pkg_revreqpkgs_set
    __swig_getmethods__["revreqpkgs"] = _poldekmod.pkg_revreqpkgs_get
    if _newclass:revreqpkgs = _swig_property(_poldekmod.pkg_revreqpkgs_get, _poldekmod.pkg_revreqpkgs_set)
    __swig_setmethods__["cnflpkgs"] = _poldekmod.pkg_cnflpkgs_set
    __swig_getmethods__["cnflpkgs"] = _poldekmod.pkg_cnflpkgs_get
    if _newclass:cnflpkgs = _swig_property(_poldekmod.pkg_cnflpkgs_get, _poldekmod.pkg_cnflpkgs_set)
    __swig_setmethods__["pkgdir"] = _poldekmod.pkg_pkgdir_set
    __swig_getmethods__["pkgdir"] = _poldekmod.pkg_pkgdir_get
    if _newclass:pkgdir = _swig_property(_poldekmod.pkg_pkgdir_get, _poldekmod.pkg_pkgdir_set)
    __swig_setmethods__["pkgdir_data"] = _poldekmod.pkg_pkgdir_data_set
    __swig_getmethods__["pkgdir_data"] = _poldekmod.pkg_pkgdir_data_get
    if _newclass:pkgdir_data = _swig_property(_poldekmod.pkg_pkgdir_data_get, _poldekmod.pkg_pkgdir_data_set)
    __swig_setmethods__["pkgdir_data_free"] = _poldekmod.pkg_pkgdir_data_free_set
    __swig_getmethods__["pkgdir_data_free"] = _poldekmod.pkg_pkgdir_data_free_get
    if _newclass:pkgdir_data_free = _swig_property(_poldekmod.pkg_pkgdir_data_free_get, _poldekmod.pkg_pkgdir_data_free_set)
    __swig_setmethods__["load_pkguinf"] = _poldekmod.pkg_load_pkguinf_set
    __swig_getmethods__["load_pkguinf"] = _poldekmod.pkg_load_pkguinf_get
    if _newclass:load_pkguinf = _swig_property(_poldekmod.pkg_load_pkguinf_get, _poldekmod.pkg_load_pkguinf_set)
    __swig_setmethods__["load_nodep_fl"] = _poldekmod.pkg_load_nodep_fl_set
    __swig_getmethods__["load_nodep_fl"] = _poldekmod.pkg_load_nodep_fl_get
    if _newclass:load_nodep_fl = _swig_property(_poldekmod.pkg_load_nodep_fl_get, _poldekmod.pkg_load_nodep_fl_set)
    __swig_setmethods__["pkg_pkguinf"] = _poldekmod.pkg_pkg_pkguinf_set
    __swig_getmethods__["pkg_pkguinf"] = _poldekmod.pkg_pkg_pkguinf_get
    if _newclass:pkg_pkguinf = _swig_property(_poldekmod.pkg_pkg_pkguinf_get, _poldekmod.pkg_pkg_pkguinf_set)
    __swig_setmethods__["pri"] = _poldekmod.pkg_pri_set
    __swig_getmethods__["pri"] = _poldekmod.pkg_pri_get
    if _newclass:pri = _swig_property(_poldekmod.pkg_pri_get, _poldekmod.pkg_pri_set)
    __swig_setmethods__["groupid"] = _poldekmod.pkg_groupid_set
    __swig_getmethods__["groupid"] = _poldekmod.pkg_groupid_get
    if _newclass:groupid = _swig_property(_poldekmod.pkg_groupid_get, _poldekmod.pkg_groupid_set)
    __swig_setmethods__["recno"] = _poldekmod.pkg_recno_set
    __swig_getmethods__["recno"] = _poldekmod.pkg_recno_get
    if _newclass:recno = _swig_property(_poldekmod.pkg_recno_get, _poldekmod.pkg_recno_set)
    __swig_setmethods__["itime"] = _poldekmod.pkg_itime_set
    __swig_getmethods__["itime"] = _poldekmod.pkg_itime_get
    if _newclass:itime = _swig_property(_poldekmod.pkg_itime_get, _poldekmod.pkg_itime_set)
    __swig_setmethods__["_refcnt"] = _poldekmod.pkg__refcnt_set
    __swig_getmethods__["_refcnt"] = _poldekmod.pkg__refcnt_get
    if _newclass:_refcnt = _swig_property(_poldekmod.pkg__refcnt_get, _poldekmod.pkg__refcnt_set)
    __swig_setmethods__["na"] = _poldekmod.pkg_na_set
    __swig_getmethods__["na"] = _poldekmod.pkg_na_get
    if _newclass:na = _swig_property(_poldekmod.pkg_na_get, _poldekmod.pkg_na_set)
    __swig_setmethods__["_buf_size"] = _poldekmod.pkg__buf_size_set
    __swig_getmethods__["_buf_size"] = _poldekmod.pkg__buf_size_get
    if _newclass:_buf_size = _swig_property(_poldekmod.pkg__buf_size_get, _poldekmod.pkg__buf_size_set)
    __swig_setmethods__["_buf"] = _poldekmod.pkg__buf_set
    __swig_getmethods__["_buf"] = _poldekmod.pkg__buf_get
    if _newclass:_buf = _swig_property(_poldekmod.pkg__buf_get, _poldekmod.pkg__buf_set)
    def __init__(self, *args): 
        this = _poldekmod.new_pkg(*args)
        try: self.this.append(this)
        except: self.this = this
    def _get_provides(self): return _poldekmod.pkg__get_provides(self)
    def _get_requires(self): return _poldekmod.pkg__get_requires(self)
    def _get_conflicts(self): return _poldekmod.pkg__get_conflicts(self)
    def _get_suggests(self): return _poldekmod.pkg__get_suggests(self)
    __swig_destroy__ = _poldekmod.delete_pkg
    __del__ = lambda self : None;
pkg_swigregister = _poldekmod.pkg_swigregister
pkg_swigregister(pkg)


def pkg_new_ext(*args):
  return _poldekmod.pkg_new_ext(*args)
pkg_new_ext = _poldekmod.pkg_new_ext
PKG_LDNEVR = _poldekmod.PKG_LDNEVR
PKG_LDCAPS = _poldekmod.PKG_LDCAPS
PKG_LDREQS = _poldekmod.PKG_LDREQS
PKG_LDCNFLS = _poldekmod.PKG_LDCNFLS
PKG_LDFL_DEPDIRS = _poldekmod.PKG_LDFL_DEPDIRS
PKG_LDFL_WHOLE = _poldekmod.PKG_LDFL_WHOLE
PKG_LDCAPREQS = _poldekmod.PKG_LDCAPREQS
PKG_LDWHOLE = _poldekmod.PKG_LDWHOLE
PKG_LDWHOLE_FLDEPDIRS = _poldekmod.PKG_LDWHOLE_FLDEPDIRS

def pkg_free(*args):
  return _poldekmod.pkg_free(*args)
pkg_free = _poldekmod.pkg_free

def pkg_link(*args):
  return _poldekmod.pkg_link(*args)
pkg_link = _poldekmod.pkg_link

def pkg_set_arch(*args):
  return _poldekmod.pkg_set_arch(*args)
pkg_set_arch = _poldekmod.pkg_set_arch

def pkg_arch(*args):
  return _poldekmod.pkg_arch(*args)
pkg_arch = _poldekmod.pkg_arch

def pkg_arch_score(*args):
  return _poldekmod.pkg_arch_score(*args)
pkg_arch_score = _poldekmod.pkg_arch_score

def pkg_os(*args):
  return _poldekmod.pkg_os(*args)
pkg_os = _poldekmod.pkg_os

def pkg_set_os(*args):
  return _poldekmod.pkg_set_os(*args)
pkg_set_os = _poldekmod.pkg_set_os
POLDEK_MA_PROMOTE_VERSION = _poldekmod.POLDEK_MA_PROMOTE_VERSION
POLDEK_MA_PROMOTE_REQEPOCH = _poldekmod.POLDEK_MA_PROMOTE_REQEPOCH
POLDEK_MA_PROMOTE_CAPEPOCH = _poldekmod.POLDEK_MA_PROMOTE_CAPEPOCH
POLDEK_MA_PROMOTE_EPOCH = _poldekmod.POLDEK_MA_PROMOTE_EPOCH

def pkg_caps_match_req(*args):
  return _poldekmod.pkg_caps_match_req(*args)
pkg_caps_match_req = _poldekmod.pkg_caps_match_req

def pkg_evr_match_req(*args):
  return _poldekmod.pkg_evr_match_req(*args)
pkg_evr_match_req = _poldekmod.pkg_evr_match_req

def cap_xmatch_req(*args):
  return _poldekmod.cap_xmatch_req(*args)
cap_xmatch_req = _poldekmod.cap_xmatch_req

def cap_match_req(*args):
  return _poldekmod.cap_match_req(*args)
cap_match_req = _poldekmod.cap_match_req

def pkg_xmatch_req(*args):
  return _poldekmod.pkg_xmatch_req(*args)
pkg_xmatch_req = _poldekmod.pkg_xmatch_req

def pkg_match_req(*args):
  return _poldekmod.pkg_match_req(*args)
pkg_match_req = _poldekmod.pkg_match_req

def pkg_has_path(*args):
  return _poldekmod.pkg_has_path(*args)
pkg_has_path = _poldekmod.pkg_has_path

def pkg_satisfies_req(*args):
  return _poldekmod.pkg_satisfies_req(*args)
pkg_satisfies_req = _poldekmod.pkg_satisfies_req

def pkg_obsoletes_pkg(*args):
  return _poldekmod.pkg_obsoletes_pkg(*args)
pkg_obsoletes_pkg = _poldekmod.pkg_obsoletes_pkg

def pkg_caps_obsoletes_pkg_caps(*args):
  return _poldekmod.pkg_caps_obsoletes_pkg_caps(*args)
pkg_caps_obsoletes_pkg_caps = _poldekmod.pkg_caps_obsoletes_pkg_caps

def pkg_requires_cap(*args):
  return _poldekmod.pkg_requires_cap(*args)
pkg_requires_cap = _poldekmod.pkg_requires_cap

def pkg_add_pkgcnfl(*args):
  return _poldekmod.pkg_add_pkgcnfl(*args)
pkg_add_pkgcnfl = _poldekmod.pkg_add_pkgcnfl

def pkg_has_pkgcnfl(*args):
  return _poldekmod.pkg_has_pkgcnfl(*args)
pkg_has_pkgcnfl = _poldekmod.pkg_has_pkgcnfl

def pkg_srcfilename(*args):
  return _poldekmod.pkg_srcfilename(*args)
pkg_srcfilename = _poldekmod.pkg_srcfilename

def pkg_srcfilename_s(*args):
  return _poldekmod.pkg_srcfilename_s(*args)
pkg_srcfilename_s = _poldekmod.pkg_srcfilename_s

def pkg_filename(*args):
  return _poldekmod.pkg_filename(*args)
pkg_filename = _poldekmod.pkg_filename

def pkg_filename_s(*args):
  return _poldekmod.pkg_filename_s(*args)
pkg_filename_s = _poldekmod.pkg_filename_s

def pkg_path(*args):
  return _poldekmod.pkg_path(*args)
pkg_path = _poldekmod.pkg_path

def pkg_path_s(*args):
  return _poldekmod.pkg_path_s(*args)
pkg_path_s = _poldekmod.pkg_path_s

def pkg_localpath(*args):
  return _poldekmod.pkg_localpath(*args)
pkg_localpath = _poldekmod.pkg_localpath

def pkg_pkgdirpath(*args):
  return _poldekmod.pkg_pkgdirpath(*args)
pkg_pkgdirpath = _poldekmod.pkg_pkgdirpath

def pkg_file_url_type(*args):
  return _poldekmod.pkg_file_url_type(*args)
pkg_file_url_type = _poldekmod.pkg_file_url_type

def pkg_id(*args):
  return _poldekmod.pkg_id(*args)
pkg_id = _poldekmod.pkg_id

def pkg_id_snprintf(*args):
  return _poldekmod.pkg_id_snprintf(*args)
pkg_id_snprintf = _poldekmod.pkg_id_snprintf

def pkg_idevr_snprintf(*args):
  return _poldekmod.pkg_idevr_snprintf(*args)
pkg_idevr_snprintf = _poldekmod.pkg_idevr_snprintf

def pkg_printf(*args):
  return _poldekmod.pkg_printf(*args)
pkg_printf = _poldekmod.pkg_printf

def pkg_snprintf(*args):
  return _poldekmod.pkg_snprintf(*args)
pkg_snprintf = _poldekmod.pkg_snprintf

def pkg_snprintf_s(*args):
  return _poldekmod.pkg_snprintf_s(*args)
pkg_snprintf_s = _poldekmod.pkg_snprintf_s

def pkg_snprintf_s0(*args):
  return _poldekmod.pkg_snprintf_s0(*args)
pkg_snprintf_s0 = _poldekmod.pkg_snprintf_s0

def pkg_snprintf_s1(*args):
  return _poldekmod.pkg_snprintf_s1(*args)
pkg_snprintf_s1 = _poldekmod.pkg_snprintf_s1

def pkg_evr_snprintf(*args):
  return _poldekmod.pkg_evr_snprintf(*args)
pkg_evr_snprintf = _poldekmod.pkg_evr_snprintf

def pkg_evr_snprintf_s(*args):
  return _poldekmod.pkg_evr_snprintf_s(*args)
pkg_evr_snprintf_s = _poldekmod.pkg_evr_snprintf_s

def pkg_uinf(*args):
  return _poldekmod.pkg_uinf(*args)
pkg_uinf = _poldekmod.pkg_uinf

def pkg_xuinf(*args):
  return _poldekmod.pkg_xuinf(*args)
pkg_xuinf = _poldekmod.pkg_xuinf

def pkg_required_dirs(*args):
  return _poldekmod.pkg_required_dirs(*args)
pkg_required_dirs = _poldekmod.pkg_required_dirs
class pkgflist(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, pkgflist, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, pkgflist, name)
    __repr__ = _swig_repr
    __swig_setmethods__["fl"] = _poldekmod.pkgflist_fl_set
    __swig_getmethods__["fl"] = _poldekmod.pkgflist_fl_get
    if _newclass:fl = _swig_property(_poldekmod.pkgflist_fl_get, _poldekmod.pkgflist_fl_set)
    __swig_setmethods__["_na"] = _poldekmod.pkgflist__na_set
    __swig_getmethods__["_na"] = _poldekmod.pkgflist__na_get
    if _newclass:_na = _swig_property(_poldekmod.pkgflist__na_get, _poldekmod.pkgflist__na_set)
    def __init__(self): 
        this = _poldekmod.new_pkgflist()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _poldekmod.delete_pkgflist
    __del__ = lambda self : None;
pkgflist_swigregister = _poldekmod.pkgflist_swigregister
pkgflist_swigregister(pkgflist)


def pkg_get_nodep_flist(*args):
  return _poldekmod.pkg_get_nodep_flist(*args)
pkg_get_nodep_flist = _poldekmod.pkg_get_nodep_flist

def pkg_get_flist(*args):
  return _poldekmod.pkg_get_flist(*args)
pkg_get_flist = _poldekmod.pkg_get_flist

def pkgflist_free(*args):
  return _poldekmod.pkgflist_free(*args)
pkgflist_free = _poldekmod.pkgflist_free

def pkg_get_flist_it(*args):
  return _poldekmod.pkg_get_flist_it(*args)
pkg_get_flist_it = _poldekmod.pkg_get_flist_it

def pkgflist_it_get(*args):
  return _poldekmod.pkgflist_it_get(*args)
pkgflist_it_get = _poldekmod.pkgflist_it_get

def pkgflist_it_get_rawargs(*args):
  return _poldekmod.pkgflist_it_get_rawargs(*args)
pkgflist_it_get_rawargs = _poldekmod.pkgflist_it_get_rawargs

def pkgflist_it_free(*args):
  return _poldekmod.pkgflist_it_free(*args)
pkgflist_it_free = _poldekmod.pkgflist_it_free

def pkg_group(*args):
  return _poldekmod.pkg_group(*args)
pkg_group = _poldekmod.pkg_group

def pkg_strsize(*args):
  return _poldekmod.pkg_strsize(*args)
pkg_strsize = _poldekmod.pkg_strsize

def pkg_strbtime(*args):
  return _poldekmod.pkg_strbtime(*args)
pkg_strbtime = _poldekmod.pkg_strbtime

def pkg_stritime(*args):
  return _poldekmod.pkg_stritime(*args)
pkg_stritime = _poldekmod.pkg_stritime

def pkg_add_selfcap(*args):
  return _poldekmod.pkg_add_selfcap(*args)
pkg_add_selfcap = _poldekmod.pkg_add_selfcap
PKGUINF_LICENSE = _poldekmod.PKGUINF_LICENSE
PKGUINF_URL = _poldekmod.PKGUINF_URL
PKGUINF_SUMMARY = _poldekmod.PKGUINF_SUMMARY
PKGUINF_DESCRIPTION = _poldekmod.PKGUINF_DESCRIPTION
PKGUINF_VENDOR = _poldekmod.PKGUINF_VENDOR
PKGUINF_BUILDHOST = _poldekmod.PKGUINF_BUILDHOST
PKGUINF_DISTRO = _poldekmod.PKGUINF_DISTRO
PKGUINF_LEGACY_SOURCERPM = _poldekmod.PKGUINF_LEGACY_SOURCERPM
PKGUINF_CHANGELOG = _poldekmod.PKGUINF_CHANGELOG

def pkguinf_new(*args):
  return _poldekmod.pkguinf_new(*args)
pkguinf_new = _poldekmod.pkguinf_new

def pkguinf_link(*args):
  return _poldekmod.pkguinf_link(*args)
pkguinf_link = _poldekmod.pkguinf_link

def pkguinf_free(*args):
  return _poldekmod.pkguinf_free(*args)
pkguinf_free = _poldekmod.pkguinf_free

def pkguinf_get(*args):
  return _poldekmod.pkguinf_get(*args)
pkguinf_get = _poldekmod.pkguinf_get

def pkguinf_set(*args):
  return _poldekmod.pkguinf_set(*args)
pkguinf_set = _poldekmod.pkguinf_set

def pkguinf_get_changelog(*args):
  return _poldekmod.pkguinf_get_changelog(*args)
pkguinf_get_changelog = _poldekmod.pkguinf_get_changelog

def pkguinf_changelog_with_security_fixes(*args):
  return _poldekmod.pkguinf_changelog_with_security_fixes(*args)
pkguinf_changelog_with_security_fixes = _poldekmod.pkguinf_changelog_with_security_fixes

def pkguinf_langs(*args):
  return _poldekmod.pkguinf_langs(*args)
pkguinf_langs = _poldekmod.pkguinf_langs

def poldeklib_init():
  return _poldekmod.poldeklib_init()
poldeklib_init = _poldekmod.poldeklib_init

def poldeklib_destroy():
  return _poldekmod.poldeklib_destroy()
poldeklib_destroy = _poldekmod.poldeklib_destroy

def poldek_new(*args):
  return _poldekmod.poldek_new(*args)
poldek_new = _poldekmod.poldek_new

def poldek_free(*args):
  return _poldekmod.poldek_free(*args)
poldek_free = _poldekmod.poldek_free

def poldek_link(*args):
  return _poldekmod.poldek_link(*args)
poldek_link = _poldekmod.poldek_link
POLDEK_CONF_OPT = _poldekmod.POLDEK_CONF_OPT
POLDEK_CONF_CACHEDIR = _poldekmod.POLDEK_CONF_CACHEDIR
POLDEK_CONF_FETCHDIR = _poldekmod.POLDEK_CONF_FETCHDIR
POLDEK_CONF_ROOTDIR = _poldekmod.POLDEK_CONF_ROOTDIR
POLDEK_CONF_DUMPFILE = _poldekmod.POLDEK_CONF_DUMPFILE
POLDEK_CONF_PRIFILE = _poldekmod.POLDEK_CONF_PRIFILE
POLDEK_CONF_SOURCE = _poldekmod.POLDEK_CONF_SOURCE
POLDEK_CONF_RPMMACROS = _poldekmod.POLDEK_CONF_RPMMACROS
POLDEK_CONF_RPMOPTS = _poldekmod.POLDEK_CONF_RPMOPTS
POLDEK_CONF_HOLD = _poldekmod.POLDEK_CONF_HOLD
POLDEK_CONF_IGNORE = _poldekmod.POLDEK_CONF_IGNORE
POLDEK_CONF_PM = _poldekmod.POLDEK_CONF_PM
POLDEK_CONF_DESTINATION = _poldekmod.POLDEK_CONF_DESTINATION
POLDEK_CONF_DEPGRAPH = _poldekmod.POLDEK_CONF_DEPGRAPH
POLDEK_CONF_LOGFILE = _poldekmod.POLDEK_CONF_LOGFILE
POLDEK_CONF_LOGTTY = _poldekmod.POLDEK_CONF_LOGTTY
POLDEK_CONF_GOODBYE_CB = _poldekmod.POLDEK_CONF_GOODBYE_CB
POLDEK_CONF_CONFIRM_CB = _poldekmod.POLDEK_CONF_CONFIRM_CB
POLDEK_CONF_TSCONFIRM_CB = _poldekmod.POLDEK_CONF_TSCONFIRM_CB
POLDEK_CONF_CHOOSEEQUIV_CB = _poldekmod.POLDEK_CONF_CHOOSEEQUIV_CB
POLDEK_CONF_CHOOSESUGGESTS_CB = _poldekmod.POLDEK_CONF_CHOOSESUGGESTS_CB
POLDEK_CONF_VFILEPROGRESS = _poldekmod.POLDEK_CONF_VFILEPROGRESS

def poldek_configure(*args):
  return _poldekmod.poldek_configure(*args)
poldek_configure = _poldekmod.poldek_configure
POLDEK_LOADCONF_NOCONF = _poldekmod.POLDEK_LOADCONF_NOCONF
POLDEK_LOADCONF_UPCONF = _poldekmod.POLDEK_LOADCONF_UPCONF

def poldek_load_config(*args):
  return _poldekmod.poldek_load_config(*args)
poldek_load_config = _poldekmod.poldek_load_config

def poldek_setup_cachedir(*args):
  return _poldekmod.poldek_setup_cachedir(*args)
poldek_setup_cachedir = _poldekmod.poldek_setup_cachedir

def poldek_setup(*args):
  return _poldekmod.poldek_setup(*args)
poldek_setup = _poldekmod.poldek_setup

def poldek_load_sources(*args):
  return _poldekmod.poldek_load_sources(*args)
poldek_load_sources = _poldekmod.poldek_load_sources

def poldek_is_interactive_on(*args):
  return _poldekmod.poldek_is_interactive_on(*args)
poldek_is_interactive_on = _poldekmod.poldek_is_interactive_on

def poldek_get_sources(*args):
  return _poldekmod.poldek_get_sources(*args)
poldek_get_sources = _poldekmod.poldek_get_sources

def poldek_get_pkgdirs(*args):
  return _poldekmod.poldek_get_pkgdirs(*args)
poldek_get_pkgdirs = _poldekmod.poldek_get_pkgdirs

def poldek_get_pmctx(*args):
  return _poldekmod.poldek_get_pmctx(*args)
poldek_get_pmctx = _poldekmod.poldek_get_pmctx

def poldek_get_config(*args):
  return _poldekmod.poldek_get_config(*args)
poldek_get_config = _poldekmod.poldek_get_config
POLDEK_ST_RECNO = _poldekmod.POLDEK_ST_RECNO
POLDEK_ST_NAME = _poldekmod.POLDEK_ST_NAME
POLDEK_ST_CAP = _poldekmod.POLDEK_ST_CAP
POLDEK_ST_REQ = _poldekmod.POLDEK_ST_REQ
POLDEK_ST_CNFL = _poldekmod.POLDEK_ST_CNFL
POLDEK_ST_OBSL = _poldekmod.POLDEK_ST_OBSL
POLDEK_ST_FILE = _poldekmod.POLDEK_ST_FILE
POLDEK_ST_PROVIDES = _poldekmod.POLDEK_ST_PROVIDES

def poldek_search_avail_packages(*args):
  return _poldekmod.poldek_search_avail_packages(*args)
poldek_search_avail_packages = _poldekmod.poldek_search_avail_packages

def poldek_get_avail_packages(*args):
  return _poldekmod.poldek_get_avail_packages(*args)
poldek_get_avail_packages = _poldekmod.poldek_get_avail_packages

def poldek_load_destination_pkgdir(*args):
  return _poldekmod.poldek_load_destination_pkgdir(*args)
poldek_load_destination_pkgdir = _poldekmod.poldek_load_destination_pkgdir

def poldek_split(*args):
  return _poldekmod.poldek_split(*args)
poldek_split = _poldekmod.poldek_split
POLDEK_TS_INSTALL = _poldekmod.POLDEK_TS_INSTALL
POLDEK_TS_UNINSTALL = _poldekmod.POLDEK_TS_UNINSTALL
POLDEK_TS_VERIFY = _poldekmod.POLDEK_TS_VERIFY
POLDEK_TS_DIST = _poldekmod.POLDEK_TS_DIST
POLDEK_TS_UPGRADE = _poldekmod.POLDEK_TS_UPGRADE
POLDEK_TS_DOWNGRADE = _poldekmod.POLDEK_TS_DOWNGRADE
POLDEK_TS_REINSTALL = _poldekmod.POLDEK_TS_REINSTALL
POLDEK_TS_UPGRADEDIST = _poldekmod.POLDEK_TS_UPGRADEDIST
POLDEK_TS_INSTALLDIST = _poldekmod.POLDEK_TS_INSTALLDIST
POLDEK_TS_TRACK = _poldekmod.POLDEK_TS_TRACK
POLDEK_TS_TYPE_INSTALL = _poldekmod.POLDEK_TS_TYPE_INSTALL
POLDEK_TS_TYPE_UNINSTALL = _poldekmod.POLDEK_TS_TYPE_UNINSTALL
POLDEK_TS_TYPE_VERIFY = _poldekmod.POLDEK_TS_TYPE_VERIFY
POLDEK_OP_NULL = _poldekmod.POLDEK_OP_NULL
POLDEK_OP_UNIQN = _poldekmod.POLDEK_OP_UNIQN
POLDEK_OP_VRFY_DEPS = _poldekmod.POLDEK_OP_VRFY_DEPS
POLDEK_OP_VRFY_ORDER = _poldekmod.POLDEK_OP_VRFY_ORDER
POLDEK_OP_VRFY_CNFLS = _poldekmod.POLDEK_OP_VRFY_CNFLS
POLDEK_OP_VRFY_FILECNFLS = _poldekmod.POLDEK_OP_VRFY_FILECNFLS
POLDEK_OP_VRFY_FILEORPHANS = _poldekmod.POLDEK_OP_VRFY_FILEORPHANS
POLDEK_OP_VRFY_FILEMISSDEPS = _poldekmod.POLDEK_OP_VRFY_FILEMISSDEPS
POLDEK_OP_DEPGRAPH = _poldekmod.POLDEK_OP_DEPGRAPH
POLDEK_OP_LDALLDESC = _poldekmod.POLDEK_OP_LDALLDESC
POLDEK_OP_LDFULLFILELIST = _poldekmod.POLDEK_OP_LDFULLFILELIST
POLDEK_OP_VRFYMERCY = _poldekmod.POLDEK_OP_VRFYMERCY
POLDEK_OP_PROMOTEPOCH = _poldekmod.POLDEK_OP_PROMOTEPOCH
POLDEK_OP_FOLLOW = _poldekmod.POLDEK_OP_FOLLOW
POLDEK_OP_FRESHEN = _poldekmod.POLDEK_OP_FRESHEN
POLDEK_OP_GREEDY = _poldekmod.POLDEK_OP_GREEDY
POLDEK_OP_CONFLICTS = _poldekmod.POLDEK_OP_CONFLICTS
POLDEK_OP_OBSOLETES = _poldekmod.POLDEK_OP_OBSOLETES
POLDEK_OP_SUGGESTS = _poldekmod.POLDEK_OP_SUGGESTS
POLDEK_OP_AGGREEDY = _poldekmod.POLDEK_OP_AGGREEDY
POLDEK_OP_ALLOWDUPS = _poldekmod.POLDEK_OP_ALLOWDUPS
POLDEK_OP_NODEPS = _poldekmod.POLDEK_OP_NODEPS
POLDEK_OP_AUTODIRDEP = _poldekmod.POLDEK_OP_AUTODIRDEP
POLDEK_OP_CAPLOOKUP = _poldekmod.POLDEK_OP_CAPLOOKUP
POLDEK_OP_MULTILIB = _poldekmod.POLDEK_OP_MULTILIB
POLDEK_OP_FORCE = _poldekmod.POLDEK_OP_FORCE
POLDEK_OP_IGNOREARCH = _poldekmod.POLDEK_OP_IGNOREARCH
POLDEK_OP_IGNOREOS = _poldekmod.POLDEK_OP_IGNOREOS
POLDEK_OP_TEST = _poldekmod.POLDEK_OP_TEST
POLDEK_OP_RPMTEST = _poldekmod.POLDEK_OP_RPMTEST
POLDEK_OP_JUSTDB = _poldekmod.POLDEK_OP_JUSTDB
POLDEK_OP_JUSTFETCH = _poldekmod.POLDEK_OP_JUSTFETCH
POLDEK_OP_JUSTPRINT = _poldekmod.POLDEK_OP_JUSTPRINT
POLDEK_OP_JUSTPRINT_N = _poldekmod.POLDEK_OP_JUSTPRINT_N
POLDEK_OP_MKDBDIR = _poldekmod.POLDEK_OP_MKDBDIR
POLDEK_OP_USESUDO = _poldekmod.POLDEK_OP_USESUDO
POLDEK_OP_HOLD = _poldekmod.POLDEK_OP_HOLD
POLDEK_OP_IGNORE = _poldekmod.POLDEK_OP_IGNORE
POLDEK_OP_PARTICLE = _poldekmod.POLDEK_OP_PARTICLE
POLDEK_OP_KEEP_DOWNLOADS = _poldekmod.POLDEK_OP_KEEP_DOWNLOADS
POLDEK_OP_CHECKSIG = _poldekmod.POLDEK_OP_CHECKSIG
POLDEK_OP_CONFIRM_INST = _poldekmod.POLDEK_OP_CONFIRM_INST
POLDEK_OP_CONFIRM_UNINST = _poldekmod.POLDEK_OP_CONFIRM_UNINST
POLDEK_OP_EQPKG_ASKUSER = _poldekmod.POLDEK_OP_EQPKG_ASKUSER
POLDEK_OP_IS_INTERACTIVE_ON = _poldekmod.POLDEK_OP_IS_INTERACTIVE_ON
POLDEK_OP_NOFETCH = _poldekmod.POLDEK_OP_NOFETCH
POLDEK_OP_PARSABLETS = _poldekmod.POLDEK_OP_PARSABLETS
POLDEK_OP___MAXOP = _poldekmod.POLDEK_OP___MAXOP

def poldek_ts_new(*args):
  return _poldekmod.poldek_ts_new(*args)
poldek_ts_new = _poldekmod.poldek_ts_new

def poldek_ts_free(*args):
  return _poldekmod.poldek_ts_free(*args)
poldek_ts_free = _poldekmod.poldek_ts_free

def poldek_ts_get_type(*args):
  return _poldekmod.poldek_ts_get_type(*args)
poldek_ts_get_type = _poldekmod.poldek_ts_get_type

def poldek_ts_set_type(*args):
  return _poldekmod.poldek_ts_set_type(*args)
poldek_ts_set_type = _poldekmod.poldek_ts_set_type

def poldek_ts_setf(*args):
  return _poldekmod.poldek_ts_setf(*args)
poldek_ts_setf = _poldekmod.poldek_ts_setf

def poldek_ts_clrf(*args):
  return _poldekmod.poldek_ts_clrf(*args)
poldek_ts_clrf = _poldekmod.poldek_ts_clrf

def poldek_ts_issetf(*args):
  return _poldekmod.poldek_ts_issetf(*args)
poldek_ts_issetf = _poldekmod.poldek_ts_issetf

def poldek_ts_issetf_all(*args):
  return _poldekmod.poldek_ts_issetf_all(*args)
poldek_ts_issetf_all = _poldekmod.poldek_ts_issetf_all

def poldek_ts_setop(*args):
  return _poldekmod.poldek_ts_setop(*args)
poldek_ts_setop = _poldekmod.poldek_ts_setop

def poldek_ts_getop(*args):
  return _poldekmod.poldek_ts_getop(*args)
poldek_ts_getop = _poldekmod.poldek_ts_getop

def poldek_ts_op_touched(*args):
  return _poldekmod.poldek_ts_op_touched(*args)
poldek_ts_op_touched = _poldekmod.poldek_ts_op_touched

def poldek_ts_is_interactive_on(*args):
  return _poldekmod.poldek_ts_is_interactive_on(*args)
poldek_ts_is_interactive_on = _poldekmod.poldek_ts_is_interactive_on

def poldek_ts_configure(*args):
  return _poldekmod.poldek_ts_configure(*args)
poldek_ts_configure = _poldekmod.poldek_ts_configure

def poldek_ts_add_pkg(*args):
  return _poldekmod.poldek_ts_add_pkg(*args)
poldek_ts_add_pkg = _poldekmod.poldek_ts_add_pkg

def poldek_ts_add_pkgmask(*args):
  return _poldekmod.poldek_ts_add_pkgmask(*args)
poldek_ts_add_pkgmask = _poldekmod.poldek_ts_add_pkgmask

def poldek_ts_add_pkgfile(*args):
  return _poldekmod.poldek_ts_add_pkgfile(*args)
poldek_ts_add_pkgfile = _poldekmod.poldek_ts_add_pkgfile

def poldek_ts_add_pkglist(*args):
  return _poldekmod.poldek_ts_add_pkglist(*args)
poldek_ts_add_pkglist = _poldekmod.poldek_ts_add_pkglist

def poldek_ts_clean_args(*args):
  return _poldekmod.poldek_ts_clean_args(*args)
poldek_ts_clean_args = _poldekmod.poldek_ts_clean_args

def poldek_ts_get_args_asmasks(*args):
  return _poldekmod.poldek_ts_get_args_asmasks(*args)
poldek_ts_get_args_asmasks = _poldekmod.poldek_ts_get_args_asmasks

def poldek_ts_get_arg_count(*args):
  return _poldekmod.poldek_ts_get_arg_count(*args)
poldek_ts_get_arg_count = _poldekmod.poldek_ts_get_arg_count

def poldek_ts_run(*args):
  return _poldekmod.poldek_ts_run(*args)
poldek_ts_run = _poldekmod.poldek_ts_run

def poldek_ts_get_summary(*args):
  return _poldekmod.poldek_ts_get_summary(*args)
poldek_ts_get_summary = _poldekmod.poldek_ts_get_summary
PKGSOURCE_NOAUTO = _poldekmod.PKGSOURCE_NOAUTO
PKGSOURCE_NOAUTOUP = _poldekmod.PKGSOURCE_NOAUTOUP
PKGSOURCE_VRFY_GPG = _poldekmod.PKGSOURCE_VRFY_GPG
PKGSOURCE_VRFY_PGP = _poldekmod.PKGSOURCE_VRFY_PGP
PKGSOURCE_VRFY_SIGN = _poldekmod.PKGSOURCE_VRFY_SIGN
PKGSOURCE_TYPE = _poldekmod.PKGSOURCE_TYPE
PKGSOURCE_PRI = _poldekmod.PKGSOURCE_PRI
PKGSOURCE_DSCR = _poldekmod.PKGSOURCE_DSCR
PKGSOURCE_NAMED = _poldekmod.PKGSOURCE_NAMED
PKGSOURCE_COMPRESS = _poldekmod.PKGSOURCE_COMPRESS
PKGSOURCE_NODESC = _poldekmod.PKGSOURCE_NODESC
PKGSOURCE_AUTOUPA = _poldekmod.PKGSOURCE_AUTOUPA
PKGSOURCE_ISGROUP = _poldekmod.PKGSOURCE_ISGROUP
class source(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, source, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, source, name)
    __repr__ = _swig_repr
    __swig_setmethods__["flags"] = _poldekmod.source_flags_set
    __swig_getmethods__["flags"] = _poldekmod.source_flags_get
    if _newclass:flags = _swig_property(_poldekmod.source_flags_get, _poldekmod.source_flags_set)
    __swig_setmethods__["type"] = _poldekmod.source_type_set
    __swig_getmethods__["type"] = _poldekmod.source_type_get
    if _newclass:type = _swig_property(_poldekmod.source_type_get, _poldekmod.source_type_set)
    __swig_setmethods__["name"] = _poldekmod.source_name_set
    __swig_getmethods__["name"] = _poldekmod.source_name_get
    if _newclass:name = _swig_property(_poldekmod.source_name_get, _poldekmod.source_name_set)
    __swig_setmethods__["path"] = _poldekmod.source_path_set
    __swig_getmethods__["path"] = _poldekmod.source_path_get
    if _newclass:path = _swig_property(_poldekmod.source_path_get, _poldekmod.source_path_set)
    __swig_setmethods__["pkg_prefix"] = _poldekmod.source_pkg_prefix_set
    __swig_getmethods__["pkg_prefix"] = _poldekmod.source_pkg_prefix_get
    if _newclass:pkg_prefix = _swig_property(_poldekmod.source_pkg_prefix_get, _poldekmod.source_pkg_prefix_set)
    __swig_setmethods__["compress"] = _poldekmod.source_compress_set
    __swig_getmethods__["compress"] = _poldekmod.source_compress_get
    if _newclass:compress = _swig_property(_poldekmod.source_compress_get, _poldekmod.source_compress_set)
    __swig_setmethods__["pri"] = _poldekmod.source_pri_set
    __swig_getmethods__["pri"] = _poldekmod.source_pri_get
    if _newclass:pri = _swig_property(_poldekmod.source_pri_get, _poldekmod.source_pri_set)
    __swig_setmethods__["no"] = _poldekmod.source_no_set
    __swig_getmethods__["no"] = _poldekmod.source_no_get
    if _newclass:no = _swig_property(_poldekmod.source_no_get, _poldekmod.source_no_set)
    __swig_setmethods__["dscr"] = _poldekmod.source_dscr_set
    __swig_getmethods__["dscr"] = _poldekmod.source_dscr_get
    if _newclass:dscr = _swig_property(_poldekmod.source_dscr_get, _poldekmod.source_dscr_set)
    __swig_setmethods__["lc_lang"] = _poldekmod.source_lc_lang_set
    __swig_getmethods__["lc_lang"] = _poldekmod.source_lc_lang_get
    if _newclass:lc_lang = _swig_property(_poldekmod.source_lc_lang_get, _poldekmod.source_lc_lang_set)
    __swig_setmethods__["exclude_path"] = _poldekmod.source_exclude_path_set
    __swig_getmethods__["exclude_path"] = _poldekmod.source_exclude_path_get
    if _newclass:exclude_path = _swig_property(_poldekmod.source_exclude_path_get, _poldekmod.source_exclude_path_set)
    __swig_setmethods__["ign_patterns"] = _poldekmod.source_ign_patterns_set
    __swig_getmethods__["ign_patterns"] = _poldekmod.source_ign_patterns_get
    if _newclass:ign_patterns = _swig_property(_poldekmod.source_ign_patterns_get, _poldekmod.source_ign_patterns_set)
    __swig_setmethods__["original_type"] = _poldekmod.source_original_type_set
    __swig_getmethods__["original_type"] = _poldekmod.source_original_type_get
    if _newclass:original_type = _swig_property(_poldekmod.source_original_type_get, _poldekmod.source_original_type_set)
    __swig_setmethods__["subopt_flags"] = _poldekmod.source_subopt_flags_set
    __swig_getmethods__["subopt_flags"] = _poldekmod.source_subopt_flags_get
    if _newclass:subopt_flags = _swig_property(_poldekmod.source_subopt_flags_get, _poldekmod.source_subopt_flags_set)
    __swig_setmethods__["_refcnt"] = _poldekmod.source__refcnt_set
    __swig_getmethods__["_refcnt"] = _poldekmod.source__refcnt_get
    if _newclass:_refcnt = _swig_property(_poldekmod.source__refcnt_get, _poldekmod.source__refcnt_set)
    def __init__(self, *args): 
        this = _poldekmod.new_source(*args)
        try: self.this.append(this)
        except: self.this = this
    def __str__(self): return _poldekmod.source___str__(self)
    def get_enabled(self): return _poldekmod.source_get_enabled(self)
    def set_enabled(self, *args): return _poldekmod.source_set_enabled(self, *args)
    __swig_destroy__ = _poldekmod.delete_source
    __del__ = lambda self : None;
source_swigregister = _poldekmod.source_swigregister
source_swigregister(source)
cvar = _poldekmod.cvar
poldek_BUG_MAILADDR = cvar.poldek_BUG_MAILADDR
poldek_VERSION_BANNER = cvar.poldek_VERSION_BANNER
poldek_BANNER = cvar.poldek_BANNER
source_TYPE_GROUP = cvar.source_TYPE_GROUP


def source_malloc():
  return _poldekmod.source_malloc()
source_malloc = _poldekmod.source_malloc

def source_new(*args):
  return _poldekmod.source_new(*args)
source_new = _poldekmod.source_new

def source_new_pathspec(*args):
  return _poldekmod.source_new_pathspec(*args)
source_new_pathspec = _poldekmod.source_new_pathspec

def source_new_htcnf(*args):
  return _poldekmod.source_new_htcnf(*args)
source_new_htcnf = _poldekmod.source_new_htcnf

def source_free(*args):
  return _poldekmod.source_free(*args)
source_free = _poldekmod.source_free

def source_link(*args):
  return _poldekmod.source_link(*args)
source_link = _poldekmod.source_link

def source_set_pkg_prefix(*args):
  return _poldekmod.source_set_pkg_prefix(*args)
source_set_pkg_prefix = _poldekmod.source_set_pkg_prefix

def source_set_type(*args):
  return _poldekmod.source_set_type(*args)
source_set_type = _poldekmod.source_set_type

def source_set_default_type(*args):
  return _poldekmod.source_set_default_type(*args)
source_set_default_type = _poldekmod.source_set_default_type

def source_cmp(*args):
  return _poldekmod.source_cmp(*args)
source_cmp = _poldekmod.source_cmp

def source_cmp_uniq(*args):
  return _poldekmod.source_cmp_uniq(*args)
source_cmp_uniq = _poldekmod.source_cmp_uniq

def source_cmp_name(*args):
  return _poldekmod.source_cmp_name(*args)
source_cmp_name = _poldekmod.source_cmp_name

def source_cmp_pri(*args):
  return _poldekmod.source_cmp_pri(*args)
source_cmp_pri = _poldekmod.source_cmp_pri

def source_cmp_pri_name(*args):
  return _poldekmod.source_cmp_pri_name(*args)
source_cmp_pri_name = _poldekmod.source_cmp_pri_name

def source_cmp_no(*args):
  return _poldekmod.source_cmp_no(*args)
source_cmp_no = _poldekmod.source_cmp_no
PKGSOURCE_UP = _poldekmod.PKGSOURCE_UP
PKGSOURCE_UPA = _poldekmod.PKGSOURCE_UPA
PKGSOURCE_UPAUTOA = _poldekmod.PKGSOURCE_UPAUTOA

def source_update(*args):
  return _poldekmod.source_update(*args)
source_update = _poldekmod.source_update

def source_printf(*args):
  return _poldekmod.source_printf(*args)
source_printf = _poldekmod.source_printf

def sources_update(*args):
  return _poldekmod.sources_update(*args)
sources_update = _poldekmod.sources_update
PKGSOURCE_CLEAN = _poldekmod.PKGSOURCE_CLEAN
PKGSOURCE_CLEANPKG = _poldekmod.PKGSOURCE_CLEANPKG
PKGSOURCE_CLEANA = _poldekmod.PKGSOURCE_CLEANA
PKGSOURCE_CLEAN_TEST = _poldekmod.PKGSOURCE_CLEAN_TEST

def source_clean(*args):
  return _poldekmod.source_clean(*args)
source_clean = _poldekmod.source_clean

def sources_clean(*args):
  return _poldekmod.sources_clean(*args)
sources_clean = _poldekmod.sources_clean

def source_make_idx(*args):
  return _poldekmod.source_make_idx(*args)
source_make_idx = _poldekmod.source_make_idx

def source_make_merged_idx(*args):
  return _poldekmod.source_make_merged_idx(*args)
source_make_merged_idx = _poldekmod.source_make_merged_idx

def sources_add(*args):
  return _poldekmod.sources_add(*args)
sources_add = _poldekmod.sources_add

def sources_score(*args):
  return _poldekmod.sources_score(*args)
sources_score = _poldekmod.sources_score
PKGDIR_NAMED = _poldekmod.PKGDIR_NAMED
PKGDIR_LOADED = _poldekmod.PKGDIR_LOADED
PKGDIR_VERIFIED = _poldekmod.PKGDIR_VERIFIED
PKGDIR_DIFF = _poldekmod.PKGDIR_DIFF
PKGDIR_PATCHED = _poldekmod.PKGDIR_PATCHED
PKGDIR_UNIQED = _poldekmod.PKGDIR_UNIQED
PKGDIR_CHANGED = _poldekmod.PKGDIR_CHANGED
PKGDIR_DIFFED = _poldekmod.PKGDIR_DIFFED
PKGDIR_VRFY_GPG = _poldekmod.PKGDIR_VRFY_GPG
PKGDIR_VRFY_PGP = _poldekmod.PKGDIR_VRFY_PGP
PKGDIR_VRFYSIGN = _poldekmod.PKGDIR_VRFYSIGN
class pkgdir(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, pkgdir, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, pkgdir, name)
    __repr__ = _swig_repr
    __swig_setmethods__["type"] = _poldekmod.pkgdir_type_set
    __swig_getmethods__["type"] = _poldekmod.pkgdir_type_get
    if _newclass:type = _swig_property(_poldekmod.pkgdir_type_get, _poldekmod.pkgdir_type_set)
    __swig_setmethods__["name"] = _poldekmod.pkgdir_name_set
    __swig_getmethods__["name"] = _poldekmod.pkgdir_name_get
    if _newclass:name = _swig_property(_poldekmod.pkgdir_name_get, _poldekmod.pkgdir_name_set)
    __swig_setmethods__["path"] = _poldekmod.pkgdir_path_set
    __swig_getmethods__["path"] = _poldekmod.pkgdir_path_get
    if _newclass:path = _swig_property(_poldekmod.pkgdir_path_get, _poldekmod.pkgdir_path_set)
    __swig_setmethods__["idxpath"] = _poldekmod.pkgdir_idxpath_set
    __swig_getmethods__["idxpath"] = _poldekmod.pkgdir_idxpath_get
    if _newclass:idxpath = _swig_property(_poldekmod.pkgdir_idxpath_get, _poldekmod.pkgdir_idxpath_set)
    __swig_setmethods__["compress"] = _poldekmod.pkgdir_compress_set
    __swig_getmethods__["compress"] = _poldekmod.pkgdir_compress_get
    if _newclass:compress = _swig_property(_poldekmod.pkgdir_compress_get, _poldekmod.pkgdir_compress_set)
    __swig_setmethods__["pkgs"] = _poldekmod.pkgdir_pkgs_set
    __swig_getmethods__["pkgs"] = _poldekmod.pkgdir_pkgs_get
    if _newclass:pkgs = _swig_property(_poldekmod.pkgdir_pkgs_get, _poldekmod.pkgdir_pkgs_set)
    __swig_setmethods__["_idx_version"] = _poldekmod.pkgdir__idx_version_set
    __swig_getmethods__["_idx_version"] = _poldekmod.pkgdir__idx_version_get
    if _newclass:_idx_version = _swig_property(_poldekmod.pkgdir__idx_version_get, _poldekmod.pkgdir__idx_version_set)
    __swig_setmethods__["pri"] = _poldekmod.pkgdir_pri_set
    __swig_getmethods__["pri"] = _poldekmod.pkgdir_pri_get
    if _newclass:pri = _swig_property(_poldekmod.pkgdir_pri_get, _poldekmod.pkgdir_pri_set)
    __swig_setmethods__["depdirs"] = _poldekmod.pkgdir_depdirs_set
    __swig_getmethods__["depdirs"] = _poldekmod.pkgdir_depdirs_get
    if _newclass:depdirs = _swig_property(_poldekmod.pkgdir_depdirs_get, _poldekmod.pkgdir_depdirs_set)
    __swig_setmethods__["foreign_depdirs"] = _poldekmod.pkgdir_foreign_depdirs_set
    __swig_getmethods__["foreign_depdirs"] = _poldekmod.pkgdir_foreign_depdirs_get
    if _newclass:foreign_depdirs = _swig_property(_poldekmod.pkgdir_foreign_depdirs_get, _poldekmod.pkgdir_foreign_depdirs_set)
    __swig_setmethods__["pkgroups"] = _poldekmod.pkgdir_pkgroups_set
    __swig_getmethods__["pkgroups"] = _poldekmod.pkgdir_pkgroups_get
    if _newclass:pkgroups = _swig_property(_poldekmod.pkgdir_pkgroups_get, _poldekmod.pkgdir_pkgroups_set)
    __swig_setmethods__["flags"] = _poldekmod.pkgdir_flags_set
    __swig_getmethods__["flags"] = _poldekmod.pkgdir_flags_get
    if _newclass:flags = _swig_property(_poldekmod.pkgdir_flags_get, _poldekmod.pkgdir_flags_set)
    __swig_setmethods__["ts"] = _poldekmod.pkgdir_ts_set
    __swig_getmethods__["ts"] = _poldekmod.pkgdir_ts_get
    if _newclass:ts = _swig_property(_poldekmod.pkgdir_ts_get, _poldekmod.pkgdir_ts_set)
    __swig_setmethods__["removed_pkgs"] = _poldekmod.pkgdir_removed_pkgs_set
    __swig_getmethods__["removed_pkgs"] = _poldekmod.pkgdir_removed_pkgs_get
    if _newclass:removed_pkgs = _swig_property(_poldekmod.pkgdir_removed_pkgs_get, _poldekmod.pkgdir_removed_pkgs_set)
    __swig_setmethods__["orig_ts"] = _poldekmod.pkgdir_orig_ts_set
    __swig_getmethods__["orig_ts"] = _poldekmod.pkgdir_orig_ts_get
    if _newclass:orig_ts = _swig_property(_poldekmod.pkgdir_orig_ts_get, _poldekmod.pkgdir_orig_ts_set)
    __swig_setmethods__["orig_idxpath"] = _poldekmod.pkgdir_orig_idxpath_set
    __swig_getmethods__["orig_idxpath"] = _poldekmod.pkgdir_orig_idxpath_get
    if _newclass:orig_idxpath = _swig_property(_poldekmod.pkgdir_orig_idxpath_get, _poldekmod.pkgdir_orig_idxpath_set)
    __swig_setmethods__["lc_lang"] = _poldekmod.pkgdir_lc_lang_set
    __swig_getmethods__["lc_lang"] = _poldekmod.pkgdir_lc_lang_get
    if _newclass:lc_lang = _swig_property(_poldekmod.pkgdir_lc_lang_get, _poldekmod.pkgdir_lc_lang_set)
    __swig_setmethods__["avlangs_h"] = _poldekmod.pkgdir_avlangs_h_set
    __swig_getmethods__["avlangs_h"] = _poldekmod.pkgdir_avlangs_h_get
    if _newclass:avlangs_h = _swig_property(_poldekmod.pkgdir_avlangs_h_get, _poldekmod.pkgdir_avlangs_h_set)
    __swig_setmethods__["langs"] = _poldekmod.pkgdir_langs_set
    __swig_getmethods__["langs"] = _poldekmod.pkgdir_langs_get
    if _newclass:langs = _swig_property(_poldekmod.pkgdir_langs_get, _poldekmod.pkgdir_langs_set)
    __swig_setmethods__["dirindex"] = _poldekmod.pkgdir_dirindex_set
    __swig_getmethods__["dirindex"] = _poldekmod.pkgdir_dirindex_get
    if _newclass:dirindex = _swig_property(_poldekmod.pkgdir_dirindex_get, _poldekmod.pkgdir_dirindex_set)
    __swig_setmethods__["prev_pkgdir"] = _poldekmod.pkgdir_prev_pkgdir_set
    __swig_getmethods__["prev_pkgdir"] = _poldekmod.pkgdir_prev_pkgdir_get
    if _newclass:prev_pkgdir = _swig_property(_poldekmod.pkgdir_prev_pkgdir_get, _poldekmod.pkgdir_prev_pkgdir_set)
    __swig_setmethods__["src"] = _poldekmod.pkgdir_src_set
    __swig_getmethods__["src"] = _poldekmod.pkgdir_src_get
    if _newclass:src = _swig_property(_poldekmod.pkgdir_src_get, _poldekmod.pkgdir_src_set)
    __swig_setmethods__["_ldflags"] = _poldekmod.pkgdir__ldflags_set
    __swig_getmethods__["_ldflags"] = _poldekmod.pkgdir__ldflags_get
    if _newclass:_ldflags = _swig_property(_poldekmod.pkgdir__ldflags_get, _poldekmod.pkgdir__ldflags_set)
    __swig_setmethods__["na"] = _poldekmod.pkgdir_na_set
    __swig_getmethods__["na"] = _poldekmod.pkgdir_na_get
    if _newclass:na = _swig_property(_poldekmod.pkgdir_na_get, _poldekmod.pkgdir_na_set)
    __swig_setmethods__["mod"] = _poldekmod.pkgdir_mod_set
    __swig_getmethods__["mod"] = _poldekmod.pkgdir_mod_get
    if _newclass:mod = _swig_property(_poldekmod.pkgdir_mod_get, _poldekmod.pkgdir_mod_set)
    __swig_setmethods__["mod_data"] = _poldekmod.pkgdir_mod_data_set
    __swig_getmethods__["mod_data"] = _poldekmod.pkgdir_mod_data_get
    if _newclass:mod_data = _swig_property(_poldekmod.pkgdir_mod_data_get, _poldekmod.pkgdir_mod_data_set)
    def __init__(self, *args): 
        this = _poldekmod.new_pkgdir(*args)
        try: self.this.append(this)
        except: self.this = this
    def get_packages(self): return _poldekmod.pkgdir_get_packages(self)
    def __str__(self): return _poldekmod.pkgdir___str__(self)
    __swig_destroy__ = _poldekmod.delete_pkgdir
    __del__ = lambda self : None;
pkgdir_swigregister = _poldekmod.pkgdir_swigregister
pkgdir_swigregister(pkgdir)


def pkgdir_malloc():
  return _poldekmod.pkgdir_malloc()
pkgdir_malloc = _poldekmod.pkgdir_malloc

def pkgdir_free(*args):
  return _poldekmod.pkgdir_free(*args)
pkgdir_free = _poldekmod.pkgdir_free
PKGDIR_OPEN_REFRESH = _poldekmod.PKGDIR_OPEN_REFRESH
PKGDIR_OPEN_DIFF = _poldekmod.PKGDIR_OPEN_DIFF
PKGDIR_OPEN_NODESC = _poldekmod.PKGDIR_OPEN_NODESC
PKGDIR_OPEN_ALLDESC = _poldekmod.PKGDIR_OPEN_ALLDESC

def pkgdir_srcopen(*args):
  return _poldekmod.pkgdir_srcopen(*args)
pkgdir_srcopen = _poldekmod.pkgdir_srcopen

def pkgdir_open_ext(*args):
  return _poldekmod.pkgdir_open_ext(*args)
pkgdir_open_ext = _poldekmod.pkgdir_open_ext

def pkgdir_open(*args):
  return _poldekmod.pkgdir_open(*args)
pkgdir_open = _poldekmod.pkgdir_open
PKGDIR_LD_FULLFLIST = _poldekmod.PKGDIR_LD_FULLFLIST
PKGDIR_LD_DESC = _poldekmod.PKGDIR_LD_DESC
PKGDIR_LD_NOUNIQ = _poldekmod.PKGDIR_LD_NOUNIQ
PKGDIR_LD_DOIGNORE = _poldekmod.PKGDIR_LD_DOIGNORE
PKGDIR_LD_DIRINDEX = _poldekmod.PKGDIR_LD_DIRINDEX
PKGDIR_LD_ALLDESC = _poldekmod.PKGDIR_LD_ALLDESC

def pkgdir_load(*args):
  return _poldekmod.pkgdir_load(*args)
pkgdir_load = _poldekmod.pkgdir_load
PKGDIR_CREAT_NODESC = _poldekmod.PKGDIR_CREAT_NODESC
PKGDIR_CREAT_NOFL = _poldekmod.PKGDIR_CREAT_NOFL
PKGDIR_CREAT_MINi18n = _poldekmod.PKGDIR_CREAT_MINi18n
PKGDIR_CREAT_NOUNIQ = _poldekmod.PKGDIR_CREAT_NOUNIQ
PKGDIR_CREAT_NOPATCH = _poldekmod.PKGDIR_CREAT_NOPATCH
PKGDIR_CREAT_NOCOMPR = _poldekmod.PKGDIR_CREAT_NOCOMPR
PKGDIR_CREAT_wRECNO = _poldekmod.PKGDIR_CREAT_wRECNO
PKGDIR_CREAT_IFORIGCHANGED = _poldekmod.PKGDIR_CREAT_IFORIGCHANGED
PKGDIR_CREAT_v018x = _poldekmod.PKGDIR_CREAT_v018x

def pkgdir_save(*args):
  return _poldekmod.pkgdir_save(*args)
pkgdir_save = _poldekmod.pkgdir_save

def pkgdir_save_as(*args):
  return _poldekmod.pkgdir_save_as(*args)
pkgdir_save_as = _poldekmod.pkgdir_save_as

def pkgdir_diff(*args):
  return _poldekmod.pkgdir_diff(*args)
pkgdir_diff = _poldekmod.pkgdir_diff

def pkgdir_patch(*args):
  return _poldekmod.pkgdir_patch(*args)
pkgdir_patch = _poldekmod.pkgdir_patch

def pkgdir_update(*args):
  return _poldekmod.pkgdir_update(*args)
pkgdir_update = _poldekmod.pkgdir_update

def pkgdir_update_a(*args):
  return _poldekmod.pkgdir_update_a(*args)
pkgdir_update_a = _poldekmod.pkgdir_update_a
PKGDIR_CAP_NOPREFIX = _poldekmod.PKGDIR_CAP_NOPREFIX
PKGDIR_CAP_UPDATEABLE_INC = _poldekmod.PKGDIR_CAP_UPDATEABLE_INC
PKGDIR_CAP_UPDATEABLE = _poldekmod.PKGDIR_CAP_UPDATEABLE
PKGDIR_CAP_SAVEABLE = _poldekmod.PKGDIR_CAP_SAVEABLE

def pkgdir_type_info(*args):
  return _poldekmod.pkgdir_type_info(*args)
pkgdir_type_info = _poldekmod.pkgdir_type_info

def pkgdir_type_default_idxfn(*args):
  return _poldekmod.pkgdir_type_default_idxfn(*args)
pkgdir_type_default_idxfn = _poldekmod.pkgdir_type_default_idxfn

def pkgdir_type_default_compr(*args):
  return _poldekmod.pkgdir_type_default_compr(*args)
pkgdir_type_default_compr = _poldekmod.pkgdir_type_default_compr

def pkgdir_isremote(*args):
  return _poldekmod.pkgdir_isremote(*args)
pkgdir_isremote = _poldekmod.pkgdir_isremote
class pkgdir_type_uinf(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, pkgdir_type_uinf, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, pkgdir_type_uinf, name)
    __repr__ = _swig_repr
    __swig_setmethods__["name"] = _poldekmod.pkgdir_type_uinf_name_set
    __swig_getmethods__["name"] = _poldekmod.pkgdir_type_uinf_name_get
    if _newclass:name = _swig_property(_poldekmod.pkgdir_type_uinf_name_get, _poldekmod.pkgdir_type_uinf_name_set)
    __swig_setmethods__["aliases"] = _poldekmod.pkgdir_type_uinf_aliases_set
    __swig_getmethods__["aliases"] = _poldekmod.pkgdir_type_uinf_aliases_get
    if _newclass:aliases = _swig_property(_poldekmod.pkgdir_type_uinf_aliases_get, _poldekmod.pkgdir_type_uinf_aliases_set)
    __swig_setmethods__["description"] = _poldekmod.pkgdir_type_uinf_description_set
    __swig_getmethods__["description"] = _poldekmod.pkgdir_type_uinf_description_get
    if _newclass:description = _swig_property(_poldekmod.pkgdir_type_uinf_description_get, _poldekmod.pkgdir_type_uinf_description_set)
    __swig_setmethods__["mode"] = _poldekmod.pkgdir_type_uinf_mode_set
    __swig_getmethods__["mode"] = _poldekmod.pkgdir_type_uinf_mode_get
    if _newclass:mode = _swig_property(_poldekmod.pkgdir_type_uinf_mode_get, _poldekmod.pkgdir_type_uinf_mode_set)
    def __init__(self): 
        this = _poldekmod.new_pkgdir_type_uinf()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _poldekmod.delete_pkgdir_type_uinf
    __del__ = lambda self : None;
pkgdir_type_uinf_swigregister = _poldekmod.pkgdir_type_uinf_swigregister
pkgdir_type_uinf_swigregister(pkgdir_type_uinf)


def pkgdir_typelist():
  return _poldekmod.pkgdir_typelist()
pkgdir_typelist = _poldekmod.pkgdir_typelist

def poclidek_new(*args):
  return _poldekmod.poclidek_new(*args)
poclidek_new = _poldekmod.poclidek_new

def poclidek_free(*args):
  return _poldekmod.poclidek_free(*args)
poclidek_free = _poldekmod.poclidek_free
POCLIDEK_LOAD_AVAILABLE = _poldekmod.POCLIDEK_LOAD_AVAILABLE
POCLIDEK_LOAD_INSTALLED = _poldekmod.POCLIDEK_LOAD_INSTALLED
POCLIDEK_LOAD_ALL = _poldekmod.POCLIDEK_LOAD_ALL
POCLIDEK_LOAD_RELOAD = _poldekmod.POCLIDEK_LOAD_RELOAD

def poclidek_load_packages(*args):
  return _poldekmod.poclidek_load_packages(*args)
poclidek_load_packages = _poldekmod.poclidek_load_packages

def poclidek_exec(*args):
  return _poldekmod.poclidek_exec(*args)
poclidek_exec = _poldekmod.poclidek_exec

def poclidek_execline(*args):
  return _poldekmod.poclidek_execline(*args)
poclidek_execline = _poldekmod.poclidek_execline

def poclidek_rcmd_new(*args):
  return _poldekmod.poclidek_rcmd_new(*args)
poclidek_rcmd_new = _poldekmod.poclidek_rcmd_new

def poclidek_rcmd_free(*args):
  return _poldekmod.poclidek_rcmd_free(*args)
poclidek_rcmd_free = _poldekmod.poclidek_rcmd_free

def poclidek_rcmd_exec(*args):
  return _poldekmod.poclidek_rcmd_exec(*args)
poclidek_rcmd_exec = _poldekmod.poclidek_rcmd_exec

def poclidek_rcmd_execline(*args):
  return _poldekmod.poclidek_rcmd_execline(*args)
poclidek_rcmd_execline = _poldekmod.poclidek_rcmd_execline

def poclidek_rcmd_get_packages(*args):
  return _poldekmod.poclidek_rcmd_get_packages(*args)
poclidek_rcmd_get_packages = _poldekmod.poclidek_rcmd_get_packages

def poclidek_rcmd_get_buf(*args):
  return _poldekmod.poclidek_rcmd_get_buf(*args)
poclidek_rcmd_get_buf = _poldekmod.poclidek_rcmd_get_buf

def poclidek_rcmd_get_output(*args):
  return _poldekmod.poclidek_rcmd_get_output(*args)
poclidek_rcmd_get_output = _poldekmod.poclidek_rcmd_get_output
class poldek_ctx(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, poldek_ctx, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, poldek_ctx, name)
    __repr__ = _swig_repr
    def __init__(self): 
        this = _poldekmod.new_poldek_ctx()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _poldekmod.delete_poldek_ctx
    __del__ = lambda self : None;
    def load_config(self, path = None): return _poldekmod.poldek_ctx_load_config(self, path)
    def configure(self, *args): return _poldekmod.poldek_ctx_configure(self, *args)
    def ts_new(self, *args): return _poldekmod.poldek_ctx_ts_new(self, *args)
    def set_verbose(self, *args): return _poldekmod.poldek_ctx_set_verbose(self, *args)
    def set_callbacks(self, *args): return _poldekmod.poldek_ctx_set_callbacks(self, *args)
    def set_vfile_progress(self, *args): return _poldekmod.poldek_ctx_set_vfile_progress(self, *args)
poldek_ctx_swigregister = _poldekmod.poldek_ctx_swigregister
poldek_ctx_swigregister(poldek_ctx)

class poldek_ts(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, poldek_ts, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, poldek_ts, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        this = _poldekmod.new_poldek_ts(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _poldekmod.delete_poldek_ts
    __del__ = lambda self : None;
poldek_ts_swigregister = _poldekmod.poldek_ts_swigregister
poldek_ts_swigregister(poldek_ts)

class pkguinf(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, pkguinf, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, pkguinf, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        this = _poldekmod.new_pkguinf(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _poldekmod.delete_pkguinf
    __del__ = lambda self : None;
pkguinf_swigregister = _poldekmod.pkguinf_swigregister
pkguinf_swigregister(pkguinf)

class pkgflist_it(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, pkgflist_it, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, pkgflist_it, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        this = _poldekmod.new_pkgflist_it(*args)
        try: self.this.append(this)
        except: self.this = this
    def get_tuple(self): return _poldekmod.pkgflist_it_get_tuple(self)
    __swig_destroy__ = _poldekmod.delete_pkgflist_it
    __del__ = lambda self : None;
pkgflist_it_swigregister = _poldekmod.pkgflist_it_swigregister
pkgflist_it_swigregister(pkgflist_it)

class poclidek_ctx(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, poclidek_ctx, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, poclidek_ctx, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        this = _poldekmod.new_poclidek_ctx(*args)
        try: self.this.append(this)
        except: self.this = this
    def pwd(self): return _poldekmod.poclidek_ctx_pwd(self)
    def chdir(self, *args): return _poldekmod.poclidek_ctx_chdir(self, *args)
    __swig_destroy__ = _poldekmod.delete_poclidek_ctx
    __del__ = lambda self : None;
poclidek_ctx_swigregister = _poldekmod.poclidek_ctx_swigregister
poclidek_ctx_swigregister(poclidek_ctx)

class poclidek_rcmd(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, poclidek_rcmd, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, poclidek_rcmd, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        this = _poldekmod.new_poclidek_rcmd(*args)
        try: self.this.append(this)
        except: self.this = this
    def execute(self, *args): return _poldekmod.poclidek_rcmd_execute(self, *args)
    def to_s(self): return _poldekmod.poclidek_rcmd_to_s(self)
    __swig_destroy__ = _poldekmod.delete_poclidek_rcmd
    __del__ = lambda self : None;
poclidek_rcmd_swigregister = _poldekmod.poclidek_rcmd_swigregister
poclidek_rcmd_swigregister(poclidek_rcmd)



