The Assimilation Monitoring Project
AssimCtypes.py
Go to the documentation of this file.
00001 '''Wrapper for address_family_numbers.h
00002 
00003 Generated with:
00004 /usr/local/bin/ctypesgen.py --cpp=gcc -E -D__signed__=signed -o AssimCtypes.py -I../include -L ../../bin/clientlib -L /home/alanr/monitor/bin/clientlib -l libassimilationclientlib.so -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -L /usr/lib/i386-linux-gnu -lglib-2.0 ../include/address_family_numbers.h ../include/addrframe.h ../include/assimobj.h ../include/authlistener.h ../include/cdp.h ../include/cmalib.h ../include/compressframe.h ../include/configcontext.h ../include/cryptframe.h ../include/cstringframe.h ../include/discovery.h ../include/frame.h ../include/frameset.h ../include/framesettypes.h ../include/frametypes.h ../include/fsprotocol.h ../include/fsqueue.h ../include/generic_tlv_min.h ../include/hblistener.h ../include/hbsender.h ../include/intframe.h ../include/ipportframe.h ../include/jsondiscovery.h ../include/listener.h ../include/lldp.h ../include/misc.h ../include/nanoprobe.h ../include/netaddr.h ../include/netgsource.h ../include/netio.h ../include/netioudp.h ../include/nvpairframe.h ../include/packetdecoder.h ../include/pcap_GSource.h ../include/pcap_min.h ../include/proj_classes.h ../include/projectcommon.h ../include/seqnoframe.h ../include/server_dump.h ../include/signframe.h ../include/switchdiscovery.h ../include/tlvhelper.h ../include/tlv_valuetypes.h ../include/unknownframe.h /usr/include/glib-2.0/glib/gslist.h
00005 
00006 Do not modify this file.
00007 '''
00008 
00009 __docformat__ =  'restructuredtext'
00010 
00011 # Begin preamble
00012 
00013 import ctypes, os, sys
00014 from ctypes import *
00015 
00016 _int_types = (c_int16, c_int32)
00017 if hasattr(ctypes, 'c_int64'):
00018     # Some builds of ctypes apparently do not have c_int64
00019     # defined; it's a pretty good bet that these builds do not
00020     # have 64-bit pointers.
00021     _int_types += (c_int64,)
00022 for t in _int_types:
00023     if sizeof(t) == sizeof(c_size_t):
00024         c_ptrdiff_t = t
00025 del t
00026 del _int_types
00027 
00028 class c_void(Structure):
00029     # c_void_p is a buggy return type, converting to int, so
00030     # POINTER(None) == c_void_p is actually written as
00031     # POINTER(c_void), so it can be treated as a real pointer.
00032     _fields_ = [('dummy', c_int)]
00033 
00034 def POINTER(obj):
00035     p = ctypes.POINTER(obj)
00036 
00037     # Convert None to a real NULL pointer to work around bugs
00038     # in how ctypes handles None on 64-bit platforms
00039     if not isinstance(p.from_param, classmethod):
00040         def from_param(cls, x):
00041             if x is None:
00042                 return cls()
00043             else:
00044                 return x
00045         p.from_param = classmethod(from_param)
00046 
00047     return p
00048 
00049 class UserString:
00050     def __init__(self, seq):
00051         if isinstance(seq, basestring):
00052             self.data = seq
00053         elif isinstance(seq, UserString):
00054             self.data = seq.data[:]
00055         else:
00056             self.data = str(seq)
00057     def __str__(self): return str(self.data)
00058     def __repr__(self): return repr(self.data)
00059     def __int__(self): return int(self.data)
00060     def __long__(self): return long(self.data)
00061     def __float__(self): return float(self.data)
00062     def __complex__(self): return complex(self.data)
00063     def __hash__(self): return hash(self.data)
00064 
00065     def __cmp__(self, string):
00066         if isinstance(string, UserString):
00067             return cmp(self.data, string.data)
00068         else:
00069             return cmp(self.data, string)
00070     def __contains__(self, char):
00071         return char in self.data
00072 
00073     def __len__(self): return len(self.data)
00074     def __getitem__(self, index): return self.__class__(self.data[index])
00075     def __getslice__(self, start, end):
00076         start = max(start, 0); end = max(end, 0)
00077         return self.__class__(self.data[start:end])
00078 
00079     def __add__(self, other):
00080         if isinstance(other, UserString):
00081             return self.__class__(self.data + other.data)
00082         elif isinstance(other, basestring):
00083             return self.__class__(self.data + other)
00084         else:
00085             return self.__class__(self.data + str(other))
00086     def __radd__(self, other):
00087         if isinstance(other, basestring):
00088             return self.__class__(other + self.data)
00089         else:
00090             return self.__class__(str(other) + self.data)
00091     def __mul__(self, n):
00092         return self.__class__(self.data*n)
00093     __rmul__ = __mul__
00094     def __mod__(self, args):
00095         return self.__class__(self.data % args)
00096 
00097     # the following methods are defined in alphabetical order:
00098     def capitalize(self): return self.__class__(self.data.capitalize())
00099     def center(self, width, *args):
00100         return self.__class__(self.data.center(width, *args))
00101     def count(self, sub, start=0, end=sys.maxint):
00102         return self.data.count(sub, start, end)
00103     def decode(self, encoding=None, errors=None): # XXX improve this?
00104         if encoding:
00105             if errors:
00106                 return self.__class__(self.data.decode(encoding, errors))
00107             else:
00108                 return self.__class__(self.data.decode(encoding))
00109         else:
00110             return self.__class__(self.data.decode())
00111     def encode(self, encoding=None, errors=None): # XXX improve this?
00112         if encoding:
00113             if errors:
00114                 return self.__class__(self.data.encode(encoding, errors))
00115             else:
00116                 return self.__class__(self.data.encode(encoding))
00117         else:
00118             return self.__class__(self.data.encode())
00119     def endswith(self, suffix, start=0, end=sys.maxint):
00120         return self.data.endswith(suffix, start, end)
00121     def expandtabs(self, tabsize=8):
00122         return self.__class__(self.data.expandtabs(tabsize))
00123     def find(self, sub, start=0, end=sys.maxint):
00124         return self.data.find(sub, start, end)
00125     def index(self, sub, start=0, end=sys.maxint):
00126         return self.data.index(sub, start, end)
00127     def isalpha(self): return self.data.isalpha()
00128     def isalnum(self): return self.data.isalnum()
00129     def isdecimal(self): return self.data.isdecimal()
00130     def isdigit(self): return self.data.isdigit()
00131     def islower(self): return self.data.islower()
00132     def isnumeric(self): return self.data.isnumeric()
00133     def isspace(self): return self.data.isspace()
00134     def istitle(self): return self.data.istitle()
00135     def isupper(self): return self.data.isupper()
00136     def join(self, seq): return self.data.join(seq)
00137     def ljust(self, width, *args):
00138         return self.__class__(self.data.ljust(width, *args))
00139     def lower(self): return self.__class__(self.data.lower())
00140     def lstrip(self, chars=None): return self.__class__(self.data.lstrip(chars))
00141     def partition(self, sep):
00142         return self.data.partition(sep)
00143     def replace(self, old, new, maxsplit=-1):
00144         return self.__class__(self.data.replace(old, new, maxsplit))
00145     def rfind(self, sub, start=0, end=sys.maxint):
00146         return self.data.rfind(sub, start, end)
00147     def rindex(self, sub, start=0, end=sys.maxint):
00148         return self.data.rindex(sub, start, end)
00149     def rjust(self, width, *args):
00150         return self.__class__(self.data.rjust(width, *args))
00151     def rpartition(self, sep):
00152         return self.data.rpartition(sep)
00153     def rstrip(self, chars=None): return self.__class__(self.data.rstrip(chars))
00154     def split(self, sep=None, maxsplit=-1):
00155         return self.data.split(sep, maxsplit)
00156     def rsplit(self, sep=None, maxsplit=-1):
00157         return self.data.rsplit(sep, maxsplit)
00158     def splitlines(self, keepends=0): return self.data.splitlines(keepends)
00159     def startswith(self, prefix, start=0, end=sys.maxint):
00160         return self.data.startswith(prefix, start, end)
00161     def strip(self, chars=None): return self.__class__(self.data.strip(chars))
00162     def swapcase(self): return self.__class__(self.data.swapcase())
00163     def title(self): return self.__class__(self.data.title())
00164     def translate(self, *args):
00165         return self.__class__(self.data.translate(*args))
00166     def upper(self): return self.__class__(self.data.upper())
00167     def zfill(self, width): return self.__class__(self.data.zfill(width))
00168 
00169 class MutableString(UserString):
00170     """mutable string objects
00171 
00172     Python strings are immutable objects.  This has the advantage, that
00173     strings may be used as dictionary keys.  If this property isn't needed
00174     and you insist on changing string values in place instead, you may cheat
00175     and use MutableString.
00176 
00177     But the purpose of this class is an educational one: to prevent
00178     people from inventing their own mutable string class derived
00179     from UserString and than forget thereby to remove (override) the
00180     __hash__ method inherited from UserString.  This would lead to
00181     errors that would be very hard to track down.
00182 
00183     A faster and better solution is to rewrite your program using lists."""
00184     def __init__(self, string=""):
00185         self.data = string
00186     def __hash__(self):
00187         raise TypeError("unhashable type (it is mutable)")
00188     def __setitem__(self, index, sub):
00189         if index < 0:
00190             index += len(self.data)
00191         if index < 0 or index >= len(self.data): raise IndexError
00192         self.data = self.data[:index] + sub + self.data[index+1:]
00193     def __delitem__(self, index):
00194         if index < 0:
00195             index += len(self.data)
00196         if index < 0 or index >= len(self.data): raise IndexError
00197         self.data = self.data[:index] + self.data[index+1:]
00198     def __setslice__(self, start, end, sub):
00199         start = max(start, 0); end = max(end, 0)
00200         if isinstance(sub, UserString):
00201             self.data = self.data[:start]+sub.data+self.data[end:]
00202         elif isinstance(sub, basestring):
00203             self.data = self.data[:start]+sub+self.data[end:]
00204         else:
00205             self.data =  self.data[:start]+str(sub)+self.data[end:]
00206     def __delslice__(self, start, end):
00207         start = max(start, 0); end = max(end, 0)
00208         self.data = self.data[:start] + self.data[end:]
00209     def immutable(self):
00210         return UserString(self.data)
00211     def __iadd__(self, other):
00212         if isinstance(other, UserString):
00213             self.data += other.data
00214         elif isinstance(other, basestring):
00215             self.data += other
00216         else:
00217             self.data += str(other)
00218         return self
00219     def __imul__(self, n):
00220         self.data *= n
00221         return self
00222 
00223 class String(MutableString, Union):
00224 
00225     _fields_ = [('raw', POINTER(c_char)),
00226                 ('data', c_char_p)]
00227 
00228     def __init__(self, obj=""):
00229         if isinstance(obj, (str, unicode, UserString)):
00230             self.data = str(obj)
00231         else:
00232             self.raw = obj
00233 
00234     def __len__(self):
00235         return self.data and len(self.data) or 0
00236 
00237     def from_param(cls, obj):
00238         # Convert None or 0
00239         if obj is None or obj == 0:
00240             return cls(POINTER(c_char)())
00241 
00242         # Convert from String
00243         elif isinstance(obj, String):
00244             return obj
00245 
00246         # Convert from str
00247         elif isinstance(obj, str):
00248             return cls(obj)
00249 
00250         # Convert from c_char_p
00251         elif isinstance(obj, c_char_p):
00252             return obj
00253 
00254         # Convert from POINTER(c_char)
00255         elif isinstance(obj, POINTER(c_char)):
00256             return obj
00257 
00258         # Convert from raw pointer
00259         elif isinstance(obj, int):
00260             return cls(cast(obj, POINTER(c_char)))
00261 
00262         # Convert from object
00263         else:
00264             return String.from_param(obj._as_parameter_)
00265     from_param = classmethod(from_param)
00266 
00267 def ReturnString(obj, func=None, arguments=None):
00268     return String.from_param(obj)
00269 
00270 # As of ctypes 1.0, ctypes does not support custom error-checking
00271 # functions on callbacks, nor does it support custom datatypes on
00272 # callbacks, so we must ensure that all callbacks return
00273 # primitive datatypes.
00274 #
00275 # Non-primitive return values wrapped with UNCHECKED won't be
00276 # typechecked, and will be converted to c_void_p.
00277 def UNCHECKED(type):
00278     if (hasattr(type, "_type_") and isinstance(type._type_, str)
00279         and type._type_ != "P"):
00280         return type
00281     else:
00282         return c_void_p
00283 
00284 # ctypes doesn't have direct support for variadic functions, so we have to write
00285 # our own wrapper class
00286 class _variadic_function(object):
00287     def __init__(self,func,restype,argtypes):
00288         self.func=func
00289         self.func.restype=restype
00290         self.argtypes=argtypes
00291     def _as_parameter_(self):
00292         # So we can pass this variadic function as a function pointer
00293         return self.func
00294     def __call__(self,*args):
00295         fixed_args=[]
00296         i=0
00297         for argtype in self.argtypes:
00298             # Typecheck what we can
00299             fixed_args.append(argtype.from_param(args[i]))
00300             i+=1
00301         return self.func(*fixed_args+list(args[i:]))
00302 
00303 # End preamble
00304 
00305 _libs = {}
00306 _libdirs = ['../../bin/clientlib', '/home/alanr/monitor/bin/clientlib', '/usr/lib/i386-linux-gnu']
00307 
00308 # Begin loader
00309 
00310 # ----------------------------------------------------------------------------
00311 # Copyright (c) 2008 David James
00312 # Copyright (c) 2006-2008 Alex Holkner
00313 # All rights reserved.
00314 #
00315 # Redistribution and use in source and binary forms, with or without
00316 # modification, are permitted provided that the following conditions
00317 # are met:
00318 #
00319 #  * Redistributions of source code must retain the above copyright
00320 #    notice, this list of conditions and the following disclaimer.
00321 #  * Redistributions in binary form must reproduce the above copyright
00322 #    notice, this list of conditions and the following disclaimer in
00323 #    the documentation and/or other materials provided with the
00324 #    distribution.
00325 #  * Neither the name of pyglet nor the names of its
00326 #    contributors may be used to endorse or promote products
00327 #    derived from this software without specific prior written
00328 #    permission.
00329 #
00330 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
00331 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
00332 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
00333 # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
00334 # COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
00335 # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
00336 # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00337 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
00338 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
00339 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
00340 # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00341 # POSSIBILITY OF SUCH DAMAGE.
00342 # ----------------------------------------------------------------------------
00343 
00344 import os.path, re, sys, glob
00345 import ctypes
00346 import ctypes.util
00347 
00348 def _environ_path(name):
00349     if name in os.environ:
00350         return os.environ[name].split(":")
00351     else:
00352         return []
00353 
00354 class LibraryLoader(object):
00355     def __init__(self):
00356         self.other_dirs=[]
00357 
00358     def load_library(self,libname):
00359         """Given the name of a library, load it."""
00360         paths = self.getpaths(libname)
00361 
00362         for path in paths:
00363             if os.path.exists(path):
00364                 return self.load(path)
00365 
00366         raise ImportError("%s not found." % libname)
00367 
00368     def load(self,path):
00369         """Given a path to a library, load it."""
00370         try:
00371             # Darwin requires dlopen to be called with mode RTLD_GLOBAL instead
00372             # of the default RTLD_LOCAL.  Without this, you end up with
00373             # libraries not being loadable, resulting in "Symbol not found"
00374             # errors
00375             if sys.platform == 'darwin':
00376                 return ctypes.CDLL(path, ctypes.RTLD_GLOBAL)
00377             else:
00378                 return ctypes.cdll.LoadLibrary(path)
00379         except OSError,e:
00380             raise ImportError(e)
00381 
00382     def getpaths(self,libname):
00383         """Return a list of paths where the library might be found."""
00384         if os.path.isabs(libname):
00385             yield libname
00386         else:
00387             # FIXME / TODO return '.' and os.path.dirname(__file__)
00388             for path in self.getplatformpaths(libname):
00389                 yield path
00390 
00391             path = ctypes.util.find_library(libname)
00392             if path: yield path
00393 
00394     def getplatformpaths(self, libname):
00395         return []
00396 
00397 # Darwin (Mac OS X)
00398 
00399 class DarwinLibraryLoader(LibraryLoader):
00400     name_formats = ["lib%s.dylib", "lib%s.so", "lib%s.bundle", "%s.dylib",
00401                 "%s.so", "%s.bundle", "%s"]
00402 
00403     def getplatformpaths(self,libname):
00404         if os.path.pathsep in libname:
00405             names = [libname]
00406         else:
00407             names = [format % libname for format in self.name_formats]
00408 
00409         for dir in self.getdirs(libname):
00410             for name in names:
00411                 yield os.path.join(dir,name)
00412 
00413     def getdirs(self,libname):
00414         '''Implements the dylib search as specified in Apple documentation:
00415 
00416         http://developer.apple.com/documentation/DeveloperTools/Conceptual/
00417             DynamicLibraries/Articles/DynamicLibraryUsageGuidelines.html
00418 
00419         Before commencing the standard search, the method first checks
00420         the bundle's ``Frameworks`` directory if the application is running
00421         within a bundle (OS X .app).
00422         '''
00423 
00424         dyld_fallback_library_path = _environ_path("DYLD_FALLBACK_LIBRARY_PATH")
00425         if not dyld_fallback_library_path:
00426             dyld_fallback_library_path = [os.path.expanduser('~/lib'),
00427                                           '/usr/local/lib', '/usr/lib']
00428 
00429         dirs = []
00430 
00431         if '/' in libname:
00432             dirs.extend(_environ_path("DYLD_LIBRARY_PATH"))
00433         else:
00434             dirs.extend(_environ_path("LD_LIBRARY_PATH"))
00435             dirs.extend(_environ_path("DYLD_LIBRARY_PATH"))
00436 
00437         dirs.extend(self.other_dirs)
00438         dirs.append(".")
00439         dirs.append(os.path.dirname(__file__))
00440 
00441         if hasattr(sys, 'frozen') and sys.frozen == 'macosx_app':
00442             dirs.append(os.path.join(
00443                 os.environ['RESOURCEPATH'],
00444                 '..',
00445                 'Frameworks'))
00446 
00447         dirs.extend(dyld_fallback_library_path)
00448 
00449         return dirs
00450 
00451 # Posix
00452 
00453 class PosixLibraryLoader(LibraryLoader):
00454     _ld_so_cache = None
00455 
00456     def _create_ld_so_cache(self):
00457         # Recreate search path followed by ld.so.  This is going to be
00458         # slow to build, and incorrect (ld.so uses ld.so.cache, which may
00459         # not be up-to-date).  Used only as fallback for distros without
00460         # /sbin/ldconfig.
00461         #
00462         # We assume the DT_RPATH and DT_RUNPATH binary sections are omitted.
00463 
00464         directories = []
00465         for name in ("LD_LIBRARY_PATH",
00466                      "SHLIB_PATH", # HPUX
00467                      "LIBPATH", # OS/2, AIX
00468                      "LIBRARY_PATH", # BE/OS
00469                     ):
00470             if name in os.environ:
00471                 directories.extend(os.environ[name].split(os.pathsep))
00472         directories.extend(self.other_dirs)
00473         directories.append(".")
00474         directories.append(os.path.dirname(__file__))
00475 
00476         try: directories.extend([dir.strip() for dir in open('/etc/ld.so.conf')])
00477         except IOError: pass
00478 
00479         directories.extend(['/lib', '/usr/lib', '/lib64', '/usr/lib64'])
00480 
00481         cache = {}
00482         lib_re = re.compile(r'lib(.*)\.s[ol]')
00483         ext_re = re.compile(r'\.s[ol]$')
00484         for dir in directories:
00485             try:
00486                 for path in glob.glob("%s/*.s[ol]*" % dir):
00487                     file = os.path.basename(path)
00488 
00489                     # Index by filename
00490                     if file not in cache:
00491                         cache[file] = path
00492 
00493                     # Index by library name
00494                     match = lib_re.match(file)
00495                     if match:
00496                         library = match.group(1)
00497                         if library not in cache:
00498                             cache[library] = path
00499             except OSError:
00500                 pass
00501 
00502         self._ld_so_cache = cache
00503 
00504     def getplatformpaths(self, libname):
00505         if self._ld_so_cache is None:
00506             self._create_ld_so_cache()
00507 
00508         result = self._ld_so_cache.get(libname)
00509         if result: yield result
00510 
00511         path = ctypes.util.find_library(libname)
00512         if path: yield os.path.join("/lib",path)
00513 
00514 # Windows
00515 
00516 class _WindowsLibrary(object):
00517     def __init__(self, path):
00518         self.cdll = ctypes.cdll.LoadLibrary(path)
00519         self.windll = ctypes.windll.LoadLibrary(path)
00520 
00521     def __getattr__(self, name):
00522         try: return getattr(self.cdll,name)
00523         except AttributeError:
00524             try: return getattr(self.windll,name)
00525             except AttributeError:
00526                 raise
00527 
00528 class WindowsLibraryLoader(LibraryLoader):
00529     name_formats = ["%s.dll", "lib%s.dll", "%slib.dll"]
00530 
00531     def load_library(self, libname):
00532         try:
00533             result = LibraryLoader.load_library(self, libname)
00534         except ImportError:
00535             result = None
00536             if os.path.sep not in libname:
00537                 for name in self.name_formats:
00538                     try:
00539                         result = getattr(ctypes.cdll, name % libname)
00540                         if result:
00541                             break
00542                     except WindowsError:
00543                         result = None
00544             if result is None:
00545                 try:
00546                     result = getattr(ctypes.cdll, libname)
00547                 except WindowsError:
00548                     result = None
00549             if result is None:
00550                 raise ImportError("%s not found." % libname)
00551         return result
00552 
00553     def load(self, path):
00554         return _WindowsLibrary(path)
00555 
00556     def getplatformpaths(self, libname):
00557         if os.path.sep not in libname:
00558             for name in self.name_formats:
00559                 dll_in_current_dir = os.path.abspath(name % libname)
00560                 if os.path.exists(dll_in_current_dir):
00561                     yield dll_in_current_dir
00562                 path = ctypes.util.find_library(name % libname)
00563                 if path:
00564                     yield path
00565 
00566 # Platform switching
00567 
00568 # If your value of sys.platform does not appear in this dict, please contact
00569 # the Ctypesgen maintainers.
00570 
00571 loaderclass = {
00572     "darwin":   DarwinLibraryLoader,
00573     "cygwin":   WindowsLibraryLoader,
00574     "win32":    WindowsLibraryLoader
00575 }
00576 
00577 loader = loaderclass.get(sys.platform, PosixLibraryLoader)()
00578 
00579 def add_library_search_dirs(other_dirs):
00580     loader.other_dirs = other_dirs
00581 
00582 load_library = loader.load_library
00583 
00584 del loaderclass
00585 
00586 # End loader
00587 
00588 add_library_search_dirs(['../../bin/clientlib', '/home/alanr/monitor/bin/clientlib', '/usr/lib/i386-linux-gnu'])
00589 
00590 # Begin libraries
00591 
00592 _libs["libassimilationclientlib.so"] = load_library("libassimilationclientlib.so")
00593 _libs["glib-2.0"] = load_library("glib-2.0")
00594 
00595 # 2 libraries
00596 # End libraries
00597 
00598 # No modules
00599 
00600 NULL = None # <built-in>
00601 
00602 guint8 = c_ubyte # /usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h: 39
00603 
00604 guint16 = c_ushort # /usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h: 41
00605 
00606 guint32 = c_uint # /usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h: 46
00607 
00608 gint64 = c_longlong # /usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h: 52
00609 
00610 guint64 = c_ulonglong # /usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h: 53
00611 
00612 gssize = c_int # /usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h: 65
00613 
00614 gsize = c_uint # /usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h: 66
00615 
00616 GPid = c_int # /usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h: 231
00617 
00618 __u_char = c_ubyte # /usr/include/i386-linux-gnu/bits/types.h: 31
00619 
00620 __u_short = c_uint # /usr/include/i386-linux-gnu/bits/types.h: 32
00621 
00622 __u_int = c_uint # /usr/include/i386-linux-gnu/bits/types.h: 33
00623 
00624 __time_t = c_long # /usr/include/i386-linux-gnu/bits/types.h: 149
00625 
00626 __suseconds_t = c_long # /usr/include/i386-linux-gnu/bits/types.h: 151
00627 
00628 __socklen_t = c_uint # /usr/include/i386-linux-gnu/bits/types.h: 192
00629 
00630 gchar = c_char # /usr/include/glib-2.0/glib/gtypes.h: 47
00631 
00632 gint = c_int # /usr/include/glib-2.0/glib/gtypes.h: 50
00633 
00634 gboolean = gint # /usr/include/glib-2.0/glib/gtypes.h: 51
00635 
00636 gushort = c_ushort # /usr/include/glib-2.0/glib/gtypes.h: 54
00637 
00638 guint = c_uint # /usr/include/glib-2.0/glib/gtypes.h: 56
00639 
00640 gpointer = POINTER(None) # /usr/include/glib-2.0/glib/gtypes.h: 78
00641 
00642 gconstpointer = POINTER(None) # /usr/include/glib-2.0/glib/gtypes.h: 79
00643 
00644 GCompareFunc = CFUNCTYPE(UNCHECKED(gint), gconstpointer, gconstpointer) # /usr/include/glib-2.0/glib/gtypes.h: 81
00645 
00646 GCompareDataFunc = CFUNCTYPE(UNCHECKED(gint), gconstpointer, gconstpointer, gpointer) # /usr/include/glib-2.0/glib/gtypes.h: 83
00647 
00648 GDestroyNotify = CFUNCTYPE(UNCHECKED(None), gpointer) # /usr/include/glib-2.0/glib/gtypes.h: 88
00649 
00650 GFunc = CFUNCTYPE(UNCHECKED(None), gpointer, gpointer) # /usr/include/glib-2.0/glib/gtypes.h: 89
00651 
00652 GQuark = guint32 # /usr/include/glib-2.0/glib/gquark.h: 38
00653 
00654 # /usr/include/glib-2.0/glib/gerror.h: 45
00655 class struct__GError(Structure):
00656     pass
00657 
00658 GError = struct__GError # /usr/include/glib-2.0/glib/gerror.h: 43
00659 
00660 struct__GError.__slots__ = [
00661     'domain',
00662     'code',
00663     'message',
00664 ]
00665 struct__GError._fields_ = [
00666     ('domain', GQuark),
00667     ('code', gint),
00668     ('message', POINTER(gchar)),
00669 ]
00670 
00671 # /usr/include/glib-2.0/glib/gmem.h: 71
00672 if hasattr(_libs['libassimilationclientlib.so'], 'g_free'):
00673     g_free = _libs['libassimilationclientlib.so'].g_free
00674     g_free.argtypes = [gpointer]
00675     g_free.restype = None
00676 
00677 # /usr/include/glib-2.0/glib/gmem.h: 77
00678 if hasattr(_libs['libassimilationclientlib.so'], 'g_try_malloc'):
00679     g_try_malloc = _libs['libassimilationclientlib.so'].g_try_malloc
00680     g_try_malloc.argtypes = [gsize]
00681     g_try_malloc.restype = gpointer
00682 
00683 # /usr/include/glib-2.0/glib/gmem.h: 78
00684 if hasattr(_libs['libassimilationclientlib.so'], 'g_try_malloc0'):
00685     g_try_malloc0 = _libs['libassimilationclientlib.so'].g_try_malloc0
00686     g_try_malloc0.argtypes = [gsize]
00687     g_try_malloc0.restype = gpointer
00688 
00689 # /usr/include/glib-2.0/glib/glist.h: 40
00690 class struct__GList(Structure):
00691     pass
00692 
00693 GList = struct__GList # /usr/include/glib-2.0/glib/glist.h: 38
00694 
00695 struct__GList.__slots__ = [
00696     'data',
00697     'next',
00698     'prev',
00699 ]
00700 struct__GList._fields_ = [
00701     ('data', gpointer),
00702     ('next', POINTER(GList)),
00703     ('prev', POINTER(GList)),
00704 ]
00705 
00706 enum_anon_48 = c_int # /usr/include/glib-2.0/glib/gchecksum.h: 50
00707 
00708 G_CHECKSUM_MD5 = 0 # /usr/include/glib-2.0/glib/gchecksum.h: 50
00709 
00710 G_CHECKSUM_SHA1 = (G_CHECKSUM_MD5 + 1) # /usr/include/glib-2.0/glib/gchecksum.h: 50
00711 
00712 G_CHECKSUM_SHA256 = (G_CHECKSUM_SHA1 + 1) # /usr/include/glib-2.0/glib/gchecksum.h: 50
00713 
00714 GChecksumType = enum_anon_48 # /usr/include/glib-2.0/glib/gchecksum.h: 50
00715 
00716 # /usr/include/glib-2.0/glib/gconvert.h: 77
00717 class struct__GIConv(Structure):
00718     pass
00719 
00720 GIConv = POINTER(struct__GIConv) # /usr/include/glib-2.0/glib/gconvert.h: 77
00721 
00722 # /usr/include/glib-2.0/glib/ghash.h: 39
00723 class struct__GHashTable(Structure):
00724     pass
00725 
00726 GHashTable = struct__GHashTable # /usr/include/glib-2.0/glib/ghash.h: 39
00727 
00728 # /usr/include/glib-2.0/glib/gpoll.h: 90
00729 class struct__GPollFD(Structure):
00730     pass
00731 
00732 GPollFD = struct__GPollFD # /usr/include/glib-2.0/glib/gpoll.h: 61
00733 
00734 struct__GPollFD.__slots__ = [
00735     'fd',
00736     'events',
00737     'revents',
00738 ]
00739 struct__GPollFD._fields_ = [
00740     ('fd', gint),
00741     ('events', gushort),
00742     ('revents', gushort),
00743 ]
00744 
00745 # /usr/include/glib-2.0/glib/gslist.h: 40
00746 class struct__GSList(Structure):
00747     pass
00748 
00749 GSList = struct__GSList # /usr/include/glib-2.0/glib/gslist.h: 38
00750 
00751 struct__GSList.__slots__ = [
00752     'data',
00753     'next',
00754 ]
00755 struct__GSList._fields_ = [
00756     ('data', gpointer),
00757     ('next', POINTER(GSList)),
00758 ]
00759 
00760 # /usr/include/glib-2.0/glib/gslist.h: 48
00761 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_alloc'):
00762     g_slist_alloc = _libs['libassimilationclientlib.so'].g_slist_alloc
00763     g_slist_alloc.argtypes = []
00764     g_slist_alloc.restype = POINTER(GSList)
00765 
00766 # /usr/include/glib-2.0/glib/gslist.h: 49
00767 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_free'):
00768     g_slist_free = _libs['libassimilationclientlib.so'].g_slist_free
00769     g_slist_free.argtypes = [POINTER(GSList)]
00770     g_slist_free.restype = None
00771 
00772 # /usr/include/glib-2.0/glib/gslist.h: 50
00773 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_free_1'):
00774     g_slist_free_1 = _libs['libassimilationclientlib.so'].g_slist_free_1
00775     g_slist_free_1.argtypes = [POINTER(GSList)]
00776     g_slist_free_1.restype = None
00777 
00778 # /usr/include/glib-2.0/glib/gslist.h: 52
00779 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_free_full'):
00780     g_slist_free_full = _libs['libassimilationclientlib.so'].g_slist_free_full
00781     g_slist_free_full.argtypes = [POINTER(GSList), GDestroyNotify]
00782     g_slist_free_full.restype = None
00783 
00784 # /usr/include/glib-2.0/glib/gslist.h: 54
00785 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_append'):
00786     g_slist_append = _libs['libassimilationclientlib.so'].g_slist_append
00787     g_slist_append.argtypes = [POINTER(GSList), gpointer]
00788     g_slist_append.restype = POINTER(GSList)
00789 
00790 # /usr/include/glib-2.0/glib/gslist.h: 56
00791 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_prepend'):
00792     g_slist_prepend = _libs['libassimilationclientlib.so'].g_slist_prepend
00793     g_slist_prepend.argtypes = [POINTER(GSList), gpointer]
00794     g_slist_prepend.restype = POINTER(GSList)
00795 
00796 # /usr/include/glib-2.0/glib/gslist.h: 58
00797 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_insert'):
00798     g_slist_insert = _libs['libassimilationclientlib.so'].g_slist_insert
00799     g_slist_insert.argtypes = [POINTER(GSList), gpointer, gint]
00800     g_slist_insert.restype = POINTER(GSList)
00801 
00802 # /usr/include/glib-2.0/glib/gslist.h: 61
00803 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_insert_sorted'):
00804     g_slist_insert_sorted = _libs['libassimilationclientlib.so'].g_slist_insert_sorted
00805     g_slist_insert_sorted.argtypes = [POINTER(GSList), gpointer, GCompareFunc]
00806     g_slist_insert_sorted.restype = POINTER(GSList)
00807 
00808 # /usr/include/glib-2.0/glib/gslist.h: 64
00809 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_insert_sorted_with_data'):
00810     g_slist_insert_sorted_with_data = _libs['libassimilationclientlib.so'].g_slist_insert_sorted_with_data
00811     g_slist_insert_sorted_with_data.argtypes = [POINTER(GSList), gpointer, GCompareDataFunc, gpointer]
00812     g_slist_insert_sorted_with_data.restype = POINTER(GSList)
00813 
00814 # /usr/include/glib-2.0/glib/gslist.h: 68
00815 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_insert_before'):
00816     g_slist_insert_before = _libs['libassimilationclientlib.so'].g_slist_insert_before
00817     g_slist_insert_before.argtypes = [POINTER(GSList), POINTER(GSList), gpointer]
00818     g_slist_insert_before.restype = POINTER(GSList)
00819 
00820 # /usr/include/glib-2.0/glib/gslist.h: 71
00821 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_concat'):
00822     g_slist_concat = _libs['libassimilationclientlib.so'].g_slist_concat
00823     g_slist_concat.argtypes = [POINTER(GSList), POINTER(GSList)]
00824     g_slist_concat.restype = POINTER(GSList)
00825 
00826 # /usr/include/glib-2.0/glib/gslist.h: 73
00827 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_remove'):
00828     g_slist_remove = _libs['libassimilationclientlib.so'].g_slist_remove
00829     g_slist_remove.argtypes = [POINTER(GSList), gconstpointer]
00830     g_slist_remove.restype = POINTER(GSList)
00831 
00832 # /usr/include/glib-2.0/glib/gslist.h: 75
00833 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_remove_all'):
00834     g_slist_remove_all = _libs['libassimilationclientlib.so'].g_slist_remove_all
00835     g_slist_remove_all.argtypes = [POINTER(GSList), gconstpointer]
00836     g_slist_remove_all.restype = POINTER(GSList)
00837 
00838 # /usr/include/glib-2.0/glib/gslist.h: 77
00839 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_remove_link'):
00840     g_slist_remove_link = _libs['libassimilationclientlib.so'].g_slist_remove_link
00841     g_slist_remove_link.argtypes = [POINTER(GSList), POINTER(GSList)]
00842     g_slist_remove_link.restype = POINTER(GSList)
00843 
00844 # /usr/include/glib-2.0/glib/gslist.h: 79
00845 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_delete_link'):
00846     g_slist_delete_link = _libs['libassimilationclientlib.so'].g_slist_delete_link
00847     g_slist_delete_link.argtypes = [POINTER(GSList), POINTER(GSList)]
00848     g_slist_delete_link.restype = POINTER(GSList)
00849 
00850 # /usr/include/glib-2.0/glib/gslist.h: 81
00851 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_reverse'):
00852     g_slist_reverse = _libs['libassimilationclientlib.so'].g_slist_reverse
00853     g_slist_reverse.argtypes = [POINTER(GSList)]
00854     g_slist_reverse.restype = POINTER(GSList)
00855 
00856 # /usr/include/glib-2.0/glib/gslist.h: 82
00857 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_copy'):
00858     g_slist_copy = _libs['libassimilationclientlib.so'].g_slist_copy
00859     g_slist_copy.argtypes = [POINTER(GSList)]
00860     g_slist_copy.restype = POINTER(GSList)
00861 
00862 # /usr/include/glib-2.0/glib/gslist.h: 83
00863 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_nth'):
00864     g_slist_nth = _libs['libassimilationclientlib.so'].g_slist_nth
00865     g_slist_nth.argtypes = [POINTER(GSList), guint]
00866     g_slist_nth.restype = POINTER(GSList)
00867 
00868 # /usr/include/glib-2.0/glib/gslist.h: 85
00869 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_find'):
00870     g_slist_find = _libs['libassimilationclientlib.so'].g_slist_find
00871     g_slist_find.argtypes = [POINTER(GSList), gconstpointer]
00872     g_slist_find.restype = POINTER(GSList)
00873 
00874 # /usr/include/glib-2.0/glib/gslist.h: 87
00875 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_find_custom'):
00876     g_slist_find_custom = _libs['libassimilationclientlib.so'].g_slist_find_custom
00877     g_slist_find_custom.argtypes = [POINTER(GSList), gconstpointer, GCompareFunc]
00878     g_slist_find_custom.restype = POINTER(GSList)
00879 
00880 # /usr/include/glib-2.0/glib/gslist.h: 90
00881 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_position'):
00882     g_slist_position = _libs['libassimilationclientlib.so'].g_slist_position
00883     g_slist_position.argtypes = [POINTER(GSList), POINTER(GSList)]
00884     g_slist_position.restype = gint
00885 
00886 # /usr/include/glib-2.0/glib/gslist.h: 92
00887 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_index'):
00888     g_slist_index = _libs['libassimilationclientlib.so'].g_slist_index
00889     g_slist_index.argtypes = [POINTER(GSList), gconstpointer]
00890     g_slist_index.restype = gint
00891 
00892 # /usr/include/glib-2.0/glib/gslist.h: 94
00893 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_last'):
00894     g_slist_last = _libs['libassimilationclientlib.so'].g_slist_last
00895     g_slist_last.argtypes = [POINTER(GSList)]
00896     g_slist_last.restype = POINTER(GSList)
00897 
00898 # /usr/include/glib-2.0/glib/gslist.h: 95
00899 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_length'):
00900     g_slist_length = _libs['libassimilationclientlib.so'].g_slist_length
00901     g_slist_length.argtypes = [POINTER(GSList)]
00902     g_slist_length.restype = guint
00903 
00904 # /usr/include/glib-2.0/glib/gslist.h: 96
00905 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_foreach'):
00906     g_slist_foreach = _libs['libassimilationclientlib.so'].g_slist_foreach
00907     g_slist_foreach.argtypes = [POINTER(GSList), GFunc, gpointer]
00908     g_slist_foreach.restype = None
00909 
00910 # /usr/include/glib-2.0/glib/gslist.h: 99
00911 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_sort'):
00912     g_slist_sort = _libs['libassimilationclientlib.so'].g_slist_sort
00913     g_slist_sort.argtypes = [POINTER(GSList), GCompareFunc]
00914     g_slist_sort.restype = POINTER(GSList)
00915 
00916 # /usr/include/glib-2.0/glib/gslist.h: 101
00917 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_sort_with_data'):
00918     g_slist_sort_with_data = _libs['libassimilationclientlib.so'].g_slist_sort_with_data
00919     g_slist_sort_with_data.argtypes = [POINTER(GSList), GCompareDataFunc, gpointer]
00920     g_slist_sort_with_data.restype = POINTER(GSList)
00921 
00922 # /usr/include/glib-2.0/glib/gslist.h: 104
00923 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_nth_data'):
00924     g_slist_nth_data = _libs['libassimilationclientlib.so'].g_slist_nth_data
00925     g_slist_nth_data.argtypes = [POINTER(GSList), guint]
00926     g_slist_nth_data.restype = gpointer
00927 
00928 # /usr/include/glib-2.0/glib/gslist.h: 110
00929 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_push_allocator'):
00930     g_slist_push_allocator = _libs['libassimilationclientlib.so'].g_slist_push_allocator
00931     g_slist_push_allocator.argtypes = [gpointer]
00932     g_slist_push_allocator.restype = None
00933 
00934 # /usr/include/glib-2.0/glib/gslist.h: 111
00935 if hasattr(_libs['libassimilationclientlib.so'], 'g_slist_pop_allocator'):
00936     g_slist_pop_allocator = _libs['libassimilationclientlib.so'].g_slist_pop_allocator
00937     g_slist_pop_allocator.argtypes = []
00938     g_slist_pop_allocator.restype = None
00939 
00940 # /usr/include/glib-2.0/glib/gmain.h: 39
00941 class struct__GMainContext(Structure):
00942     pass
00943 
00944 GMainContext = struct__GMainContext # /usr/include/glib-2.0/glib/gmain.h: 39
00945 
00946 # /usr/include/glib-2.0/glib/gmain.h: 150
00947 class struct__GSource(Structure):
00948     pass
00949 
00950 GSource = struct__GSource # /usr/include/glib-2.0/glib/gmain.h: 55
00951 
00952 # /usr/include/glib-2.0/glib/gmain.h: 56
00953 class struct__GSourcePrivate(Structure):
00954     pass
00955 
00956 GSourcePrivate = struct__GSourcePrivate # /usr/include/glib-2.0/glib/gmain.h: 56
00957 
00958 # /usr/include/glib-2.0/glib/gmain.h: 175
00959 class struct__GSourceCallbackFuncs(Structure):
00960     pass
00961 
00962 GSourceCallbackFuncs = struct__GSourceCallbackFuncs # /usr/include/glib-2.0/glib/gmain.h: 68
00963 
00964 # /usr/include/glib-2.0/glib/gmain.h: 193
00965 class struct__GSourceFuncs(Structure):
00966     pass
00967 
00968 GSourceFuncs = struct__GSourceFuncs # /usr/include/glib-2.0/glib/gmain.h: 115
00969 
00970 GSourceFunc = CFUNCTYPE(UNCHECKED(gboolean), gpointer) # /usr/include/glib-2.0/glib/gmain.h: 136
00971 
00972 struct__GSource.__slots__ = [
00973     'callback_data',
00974     'callback_funcs',
00975     'source_funcs',
00976     'ref_count',
00977     'context',
00978     'priority',
00979     'flags',
00980     'source_id',
00981     'poll_fds',
00982     'prev',
00983     'next',
00984     'name',
00985     'priv',
00986 ]
00987 struct__GSource._fields_ = [
00988     ('callback_data', gpointer),
00989     ('callback_funcs', POINTER(GSourceCallbackFuncs)),
00990     ('source_funcs', POINTER(GSourceFuncs)),
00991     ('ref_count', guint),
00992     ('context', POINTER(GMainContext)),
00993     ('priority', gint),
00994     ('flags', guint),
00995     ('source_id', guint),
00996     ('poll_fds', POINTER(GSList)),
00997     ('prev', POINTER(GSource)),
00998     ('next', POINTER(GSource)),
00999     ('name', String),
01000     ('priv', POINTER(GSourcePrivate)),
01001 ]
01002 
01003 struct__GSourceCallbackFuncs.__slots__ = [
01004     'ref',
01005     'unref',
01006     'get',
01007 ]
01008 struct__GSourceCallbackFuncs._fields_ = [
01009     ('ref', CFUNCTYPE(UNCHECKED(None), gpointer)),
01010     ('unref', CFUNCTYPE(UNCHECKED(None), gpointer)),
01011     ('get', CFUNCTYPE(UNCHECKED(None), gpointer, POINTER(GSource), POINTER(GSourceFunc), POINTER(gpointer))),
01012 ]
01013 
01014 GSourceDummyMarshal = CFUNCTYPE(UNCHECKED(None), ) # /usr/include/glib-2.0/glib/gmain.h: 191
01015 
01016 struct__GSourceFuncs.__slots__ = [
01017     'prepare',
01018     'check',
01019     'dispatch',
01020     'finalize',
01021     'closure_callback',
01022     'closure_marshal',
01023 ]
01024 struct__GSourceFuncs._fields_ = [
01025     ('prepare', CFUNCTYPE(UNCHECKED(gboolean), POINTER(GSource), POINTER(gint))),
01026     ('check', CFUNCTYPE(UNCHECKED(gboolean), POINTER(GSource))),
01027     ('dispatch', CFUNCTYPE(UNCHECKED(gboolean), POINTER(GSource), GSourceFunc, gpointer)),
01028     ('finalize', CFUNCTYPE(UNCHECKED(None), POINTER(GSource))),
01029     ('closure_callback', GSourceFunc),
01030     ('closure_marshal', GSourceDummyMarshal),
01031 ]
01032 
01033 # /usr/include/glib-2.0/glib/gstring.h: 55
01034 class struct__GString(Structure):
01035     pass
01036 
01037 GString = struct__GString # /usr/include/glib-2.0/glib/gstring.h: 40
01038 
01039 struct__GString.__slots__ = [
01040     'str',
01041     'len',
01042     'allocated_len',
01043 ]
01044 struct__GString._fields_ = [
01045     ('str', POINTER(gchar)),
01046     ('len', gsize),
01047     ('allocated_len', gsize),
01048 ]
01049 
01050 # /usr/include/glib-2.0/glib/giochannel.h: 108
01051 class struct__GIOChannel(Structure):
01052     pass
01053 
01054 GIOChannel = struct__GIOChannel # /usr/include/glib-2.0/glib/giochannel.h: 43
01055 
01056 # /usr/include/glib-2.0/glib/giochannel.h: 142
01057 class struct__GIOFuncs(Structure):
01058     pass
01059 
01060 GIOFuncs = struct__GIOFuncs # /usr/include/glib-2.0/glib/giochannel.h: 44
01061 
01062 enum_anon_64 = c_int # /usr/include/glib-2.0/glib/giochannel.h: 77
01063 
01064 GIOStatus = enum_anon_64 # /usr/include/glib-2.0/glib/giochannel.h: 77
01065 
01066 enum_anon_65 = c_int # /usr/include/glib-2.0/glib/giochannel.h: 84
01067 
01068 GSeekType = enum_anon_65 # /usr/include/glib-2.0/glib/giochannel.h: 84
01069 
01070 enum_anon_66 = c_int # /usr/include/glib-2.0/glib/giochannel.h: 94
01071 
01072 GIOCondition = enum_anon_66 # /usr/include/glib-2.0/glib/giochannel.h: 94
01073 
01074 enum_anon_67 = c_int # /usr/include/glib-2.0/glib/giochannel.h: 106
01075 
01076 GIOFlags = enum_anon_67 # /usr/include/glib-2.0/glib/giochannel.h: 106
01077 
01078 struct__GIOChannel.__slots__ = [
01079     'ref_count',
01080     'funcs',
01081     'encoding',
01082     'read_cd',
01083     'write_cd',
01084     'line_term',
01085     'line_term_len',
01086     'buf_size',
01087     'read_buf',
01088     'encoded_read_buf',
01089     'write_buf',
01090     'partial_write_buf',
01091     'use_buffer',
01092     'do_encode',
01093     'close_on_unref',
01094     'is_readable',
01095     'is_writeable',
01096     'is_seekable',
01097     'reserved1',
01098     'reserved2',
01099 ]
01100 struct__GIOChannel._fields_ = [
01101     ('ref_count', gint),
01102     ('funcs', POINTER(GIOFuncs)),
01103     ('encoding', POINTER(gchar)),
01104     ('read_cd', GIConv),
01105     ('write_cd', GIConv),
01106     ('line_term', POINTER(gchar)),
01107     ('line_term_len', guint),
01108     ('buf_size', gsize),
01109     ('read_buf', POINTER(GString)),
01110     ('encoded_read_buf', POINTER(GString)),
01111     ('write_buf', POINTER(GString)),
01112     ('partial_write_buf', gchar * 6),
01113     ('use_buffer', guint, 1),
01114     ('do_encode', guint, 1),
01115     ('close_on_unref', guint, 1),
01116     ('is_readable', guint, 1),
01117     ('is_writeable', guint, 1),
01118     ('is_seekable', guint, 1),
01119     ('reserved1', gpointer),
01120     ('reserved2', gpointer),
01121 ]
01122 
01123 struct__GIOFuncs.__slots__ = [
01124     'io_read',
01125     'io_write',
01126     'io_seek',
01127     'io_close',
01128     'io_create_watch',
01129     'io_free',
01130     'io_set_flags',
01131     'io_get_flags',
01132 ]
01133 struct__GIOFuncs._fields_ = [
01134     ('io_read', CFUNCTYPE(UNCHECKED(GIOStatus), POINTER(GIOChannel), POINTER(gchar), gsize, POINTER(gsize), POINTER(POINTER(GError)))),
01135     ('io_write', CFUNCTYPE(UNCHECKED(GIOStatus), POINTER(GIOChannel), POINTER(gchar), gsize, POINTER(gsize), POINTER(POINTER(GError)))),
01136     ('io_seek', CFUNCTYPE(UNCHECKED(GIOStatus), POINTER(GIOChannel), gint64, GSeekType, POINTER(POINTER(GError)))),
01137     ('io_close', CFUNCTYPE(UNCHECKED(GIOStatus), POINTER(GIOChannel), POINTER(POINTER(GError)))),
01138     ('io_create_watch', CFUNCTYPE(UNCHECKED(POINTER(GSource)), POINTER(GIOChannel), GIOCondition)),
01139     ('io_free', CFUNCTYPE(UNCHECKED(None), POINTER(GIOChannel))),
01140     ('io_set_flags', CFUNCTYPE(UNCHECKED(GIOStatus), POINTER(GIOChannel), GIOFlags, POINTER(POINTER(GError)))),
01141     ('io_get_flags', CFUNCTYPE(UNCHECKED(GIOFlags), POINTER(GIOChannel))),
01142 ]
01143 
01144 # /usr/include/glib-2.0/glib/gqueue.h: 49
01145 class struct__GQueue(Structure):
01146     pass
01147 
01148 GQueue = struct__GQueue # /usr/include/glib-2.0/glib/gqueue.h: 38
01149 
01150 struct__GQueue.__slots__ = [
01151     'head',
01152     'tail',
01153     'length',
01154 ]
01155 struct__GQueue._fields_ = [
01156     ('head', POINTER(GList)),
01157     ('tail', POINTER(GList)),
01158     ('length', guint),
01159 ]
01160 
01161 # ../include/proj_classes.h: 27
01162 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_new'):
01163     proj_class_new = _libs['libassimilationclientlib.so'].proj_class_new
01164     proj_class_new.argtypes = [gsize, String]
01165     proj_class_new.restype = gpointer
01166 
01167 # ../include/proj_classes.h: 28
01168 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_dissociate'):
01169     proj_class_dissociate = _libs['libassimilationclientlib.so'].proj_class_dissociate
01170     proj_class_dissociate.argtypes = [gpointer]
01171     proj_class_dissociate.restype = None
01172 
01173 # ../include/proj_classes.h: 29
01174 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_free'):
01175     proj_class_free = _libs['libassimilationclientlib.so'].proj_class_free
01176     proj_class_free.argtypes = [gpointer]
01177     proj_class_free.restype = None
01178 
01179 # ../include/proj_classes.h: 30
01180 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_register_object'):
01181     proj_class_register_object = _libs['libassimilationclientlib.so'].proj_class_register_object
01182     proj_class_register_object.argtypes = [gpointer, String]
01183     proj_class_register_object.restype = None
01184 
01185 # ../include/proj_classes.h: 31
01186 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_is_a'):
01187     proj_class_is_a = _libs['libassimilationclientlib.so'].proj_class_is_a
01188     proj_class_is_a.argtypes = [gconstpointer, String]
01189     proj_class_is_a.restype = gboolean
01190 
01191 # ../include/proj_classes.h: 32
01192 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_castas'):
01193     proj_class_castas = _libs['libassimilationclientlib.so'].proj_class_castas
01194     proj_class_castas.argtypes = [gpointer, String]
01195     proj_class_castas.restype = gpointer
01196 
01197 # ../include/proj_classes.h: 33
01198 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_castasconst'):
01199     proj_class_castasconst = _libs['libassimilationclientlib.so'].proj_class_castasconst
01200     proj_class_castasconst.argtypes = [gconstpointer, String]
01201     proj_class_castasconst.restype = gconstpointer
01202 
01203 # ../include/proj_classes.h: 34
01204 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_register_subclassed'):
01205     proj_class_register_subclassed = _libs['libassimilationclientlib.so'].proj_class_register_subclassed
01206     proj_class_register_subclassed.argtypes = [gpointer, String]
01207     proj_class_register_subclassed.restype = gpointer
01208 
01209 # ../include/proj_classes.h: 35
01210 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_quark_add_superclass_relationship'):
01211     proj_class_quark_add_superclass_relationship = _libs['libassimilationclientlib.so'].proj_class_quark_add_superclass_relationship
01212     proj_class_quark_add_superclass_relationship.argtypes = [GQuark, GQuark]
01213     proj_class_quark_add_superclass_relationship.restype = None
01214 
01215 # ../include/proj_classes.h: 36
01216 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_quark_is_a'):
01217     proj_class_quark_is_a = _libs['libassimilationclientlib.so'].proj_class_quark_is_a
01218     proj_class_quark_is_a.argtypes = [GQuark, GQuark]
01219     proj_class_quark_is_a.restype = gboolean
01220 
01221 # ../include/proj_classes.h: 37
01222 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_classname'):
01223     proj_class_classname = _libs['libassimilationclientlib.so'].proj_class_classname
01224     proj_class_classname.argtypes = [gconstpointer]
01225     if sizeof(c_int) == sizeof(c_void_p):
01226         proj_class_classname.restype = ReturnString
01227     else:
01228         proj_class_classname.restype = String
01229         proj_class_classname.errcheck = ReturnString
01230 
01231 # ../include/proj_classes.h: 38
01232 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_register_debug_counter'):
01233     proj_class_register_debug_counter = _libs['libassimilationclientlib.so'].proj_class_register_debug_counter
01234     proj_class_register_debug_counter.argtypes = [String, POINTER(guint)]
01235     proj_class_register_debug_counter.restype = None
01236 
01237 # ../include/proj_classes.h: 39
01238 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_incr_debug'):
01239     proj_class_incr_debug = _libs['libassimilationclientlib.so'].proj_class_incr_debug
01240     proj_class_incr_debug.argtypes = [String]
01241     proj_class_incr_debug.restype = None
01242 
01243 # ../include/proj_classes.h: 40
01244 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_decr_debug'):
01245     proj_class_decr_debug = _libs['libassimilationclientlib.so'].proj_class_decr_debug
01246     proj_class_decr_debug.argtypes = [String]
01247     proj_class_decr_debug.restype = None
01248 
01249 # ../include/proj_classes.h: 42
01250 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_dump_live_objects'):
01251     proj_class_dump_live_objects = _libs['libassimilationclientlib.so'].proj_class_dump_live_objects
01252     proj_class_dump_live_objects.argtypes = []
01253     proj_class_dump_live_objects.restype = None
01254 
01255 # ../include/proj_classes.h: 43
01256 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_live_object_count'):
01257     proj_class_live_object_count = _libs['libassimilationclientlib.so'].proj_class_live_object_count
01258     proj_class_live_object_count.argtypes = []
01259     proj_class_live_object_count.restype = guint32
01260 
01261 # ../include/proj_classes.h: 44
01262 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_max_object_count'):
01263     proj_class_max_object_count = _libs['libassimilationclientlib.so'].proj_class_max_object_count
01264     proj_class_max_object_count.argtypes = []
01265     proj_class_max_object_count.restype = guint32
01266 
01267 # ../include/proj_classes.h: 45
01268 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_finalize_sys'):
01269     proj_class_finalize_sys = _libs['libassimilationclientlib.so'].proj_class_finalize_sys
01270     proj_class_finalize_sys.argtypes = []
01271     proj_class_finalize_sys.restype = None
01272 
01273 # ../include/assimobj.h: 32
01274 class struct__AssimObj(Structure):
01275     pass
01276 
01277 AssimObj = struct__AssimObj # ../include/assimobj.h: 30
01278 
01279 struct__AssimObj.__slots__ = [
01280     '_refcount',
01281     '_finalize',
01282     'ref',
01283     'unref',
01284     'toString',
01285 ]
01286 struct__AssimObj._fields_ = [
01287     ('_refcount', c_int),
01288     ('_finalize', CFUNCTYPE(UNCHECKED(None), POINTER(AssimObj))),
01289     ('ref', CFUNCTYPE(UNCHECKED(None), gpointer)),
01290     ('unref', CFUNCTYPE(UNCHECKED(None), gpointer)),
01291     ('toString', CFUNCTYPE(UNCHECKED(POINTER(gchar)), gconstpointer)),
01292 ]
01293 
01294 # ../include/assimobj.h: 39
01295 if hasattr(_libs['libassimilationclientlib.so'], 'assimobj_new'):
01296     assimobj_new = _libs['libassimilationclientlib.so'].assimobj_new
01297     assimobj_new.argtypes = [guint]
01298     assimobj_new.restype = POINTER(AssimObj)
01299 
01300 # ../include/assimobj.h: 40
01301 if hasattr(_libs['libassimilationclientlib.so'], '_assimobj_finalize'):
01302     _assimobj_finalize = _libs['libassimilationclientlib.so']._assimobj_finalize
01303     _assimobj_finalize.argtypes = [POINTER(AssimObj)]
01304     _assimobj_finalize.restype = None
01305 
01306 # ../include/assimobj.h: 41
01307 try:
01308     badfree = (gboolean).in_dll(_libs['libassimilationclientlib.so'], 'badfree')
01309 except:
01310     pass
01311 
01312 # ../include/frameset.h: 43
01313 class struct__FrameSet(Structure):
01314     pass
01315 
01316 FrameSet = struct__FrameSet # ../include/frame.h: 31
01317 
01318 # ../include/frame.h: 42
01319 class struct__Frame(Structure):
01320     pass
01321 
01322 Frame = struct__Frame # ../include/frame.h: 32
01323 
01324 struct__Frame.__slots__ = [
01325     'baseclass',
01326     'type',
01327     'length',
01328     'value',
01329     'dataspace',
01330     'updatedata',
01331     'isvalid',
01332     'setvalue',
01333     'dump',
01334     'valuefinalize',
01335 ]
01336 struct__Frame._fields_ = [
01337     ('baseclass', AssimObj),
01338     ('type', guint16),
01339     ('length', guint16),
01340     ('value', gpointer),
01341     ('dataspace', CFUNCTYPE(UNCHECKED(gsize), POINTER(Frame))),
01342     ('updatedata', CFUNCTYPE(UNCHECKED(None), POINTER(Frame), gpointer, gconstpointer, POINTER(FrameSet))),
01343     ('isvalid', CFUNCTYPE(UNCHECKED(gboolean), POINTER(Frame), gconstpointer, gconstpointer)),
01344     ('setvalue', CFUNCTYPE(UNCHECKED(None), POINTER(Frame), gpointer, guint16, GDestroyNotify)),
01345     ('dump', CFUNCTYPE(UNCHECKED(None), POINTER(Frame), String)),
01346     ('valuefinalize', GDestroyNotify),
01347 ]
01348 
01349 # ../include/frame.h: 59
01350 if hasattr(_libs['libassimilationclientlib.so'], 'frame_new'):
01351     frame_new = _libs['libassimilationclientlib.so'].frame_new
01352     frame_new.argtypes = [guint16, gsize]
01353     frame_new.restype = POINTER(Frame)
01354 
01355 # ../include/frame.h: 60
01356 if hasattr(_libs['libassimilationclientlib.so'], 'frame_tlvconstructor'):
01357     frame_tlvconstructor = _libs['libassimilationclientlib.so'].frame_tlvconstructor
01358     frame_tlvconstructor.argtypes = [gconstpointer, gconstpointer]
01359     frame_tlvconstructor.restype = POINTER(Frame)
01360 
01361 # ../include/frame.h: 61
01362 if hasattr(_libs['libassimilationclientlib.so'], 'frame_default_valuefinalize'):
01363     frame_default_valuefinalize = _libs['libassimilationclientlib.so'].frame_default_valuefinalize
01364     frame_default_valuefinalize.argtypes = [gpointer]
01365     frame_default_valuefinalize.restype = None
01366 
01367 u_char = __u_char # /usr/include/i386-linux-gnu/sys/types.h: 34
01368 
01369 u_short = __u_short # /usr/include/i386-linux-gnu/sys/types.h: 35
01370 
01371 u_int = __u_int # /usr/include/i386-linux-gnu/sys/types.h: 36
01372 
01373 # /usr/include/i386-linux-gnu/bits/time.h: 75
01374 class struct_timeval(Structure):
01375     pass
01376 
01377 struct_timeval.__slots__ = [
01378     'tv_sec',
01379     'tv_usec',
01380 ]
01381 struct_timeval._fields_ = [
01382     ('tv_sec', __time_t),
01383     ('tv_usec', __suseconds_t),
01384 ]
01385 
01386 socklen_t = __socklen_t # /usr/include/i386-linux-gnu/bits/socket.h: 35
01387 
01388 sa_family_t = c_uint # /usr/include/i386-linux-gnu/bits/sockaddr.h: 29
01389 
01390 # /usr/include/i386-linux-gnu/bits/socket.h: 178
01391 class struct_sockaddr(Structure):
01392     pass
01393 
01394 struct_sockaddr.__slots__ = [
01395     'sa_family',
01396     'sa_data',
01397 ]
01398 struct_sockaddr._fields_ = [
01399     ('sa_family', sa_family_t),
01400     ('sa_data', c_char * 14),
01401 ]
01402 
01403 in_port_t = c_uint16 # /usr/include/netinet/in.h: 97
01404 
01405 in_addr_t = c_uint32 # /usr/include/netinet/in.h: 141
01406 
01407 # /usr/include/netinet/in.h: 142
01408 class struct_in_addr(Structure):
01409     pass
01410 
01411 struct_in_addr.__slots__ = [
01412     's_addr',
01413 ]
01414 struct_in_addr._fields_ = [
01415     ('s_addr', in_addr_t),
01416 ]
01417 
01418 # /usr/include/netinet/in.h: 200
01419 class union_anon_101(Union):
01420     pass
01421 
01422 union_anon_101.__slots__ = [
01423     '__u6_addr8',
01424     '__u6_addr16',
01425     '__u6_addr32',
01426 ]
01427 union_anon_101._fields_ = [
01428     ('__u6_addr8', c_uint8 * 16),
01429     ('__u6_addr16', c_uint16 * 8),
01430     ('__u6_addr32', c_uint32 * 4),
01431 ]
01432 
01433 # /usr/include/netinet/in.h: 198
01434 class struct_in6_addr(Structure):
01435     pass
01436 
01437 struct_in6_addr.__slots__ = [
01438     '__in6_u',
01439 ]
01440 struct_in6_addr._fields_ = [
01441     ('__in6_u', union_anon_101),
01442 ]
01443 
01444 # /usr/include/netinet/in.h: 225
01445 class struct_sockaddr_in(Structure):
01446     pass
01447 
01448 struct_sockaddr_in.__slots__ = [
01449     'sin_family',
01450     'sin_port',
01451     'sin_addr',
01452     'sin_zero',
01453 ]
01454 struct_sockaddr_in._fields_ = [
01455     ('sin_family', sa_family_t),
01456     ('sin_port', in_port_t),
01457     ('sin_addr', struct_in_addr),
01458     ('sin_zero', c_ubyte * (((sizeof(struct_sockaddr) - sizeof(c_uint)) - sizeof(in_port_t)) - sizeof(struct_in_addr))),
01459 ]
01460 
01461 # /usr/include/netinet/in.h: 239
01462 class struct_sockaddr_in6(Structure):
01463     pass
01464 
01465 struct_sockaddr_in6.__slots__ = [
01466     'sin6_family',
01467     'sin6_port',
01468     'sin6_flowinfo',
01469     'sin6_addr',
01470     'sin6_scope_id',
01471 ]
01472 struct_sockaddr_in6._fields_ = [
01473     ('sin6_family', sa_family_t),
01474     ('sin6_port', in_port_t),
01475     ('sin6_flowinfo', c_uint32),
01476     ('sin6_addr', struct_in6_addr),
01477     ('sin6_scope_id', c_uint32),
01478 ]
01479 
01480 # ../include/netaddr.h: 43
01481 class struct__NetAddr(Structure):
01482     pass
01483 
01484 NetAddr = struct__NetAddr # ../include/netaddr.h: 36
01485 
01486 struct__NetAddr.__slots__ = [
01487     'baseclass',
01488     'setport',
01489     'port',
01490     'addrtype',
01491     'ismcast',
01492     'ipv6sockaddr',
01493     'ipv4sockaddr',
01494     'equal',
01495     'hash',
01496     'canonStr',
01497     '_addrbody',
01498     '_addrtype',
01499     '_addrlen',
01500     '_addrport',
01501 ]
01502 struct__NetAddr._fields_ = [
01503     ('baseclass', AssimObj),
01504     ('setport', CFUNCTYPE(UNCHECKED(None), POINTER(NetAddr), guint16)),
01505     ('port', CFUNCTYPE(UNCHECKED(guint16), POINTER(NetAddr))),
01506     ('addrtype', CFUNCTYPE(UNCHECKED(guint16), POINTER(NetAddr))),
01507     ('ismcast', CFUNCTYPE(UNCHECKED(gboolean), POINTER(NetAddr))),
01508     ('ipv6sockaddr', CFUNCTYPE(UNCHECKED(struct_sockaddr_in6), POINTER(NetAddr))),
01509     ('ipv4sockaddr', CFUNCTYPE(UNCHECKED(struct_sockaddr_in), POINTER(NetAddr))),
01510     ('equal', CFUNCTYPE(UNCHECKED(gboolean), POINTER(NetAddr), POINTER(NetAddr))),
01511     ('hash', CFUNCTYPE(UNCHECKED(guint), POINTER(NetAddr))),
01512     ('canonStr', CFUNCTYPE(UNCHECKED(String), POINTER(NetAddr))),
01513     ('_addrbody', gpointer),
01514     ('_addrtype', guint16),
01515     ('_addrlen', guint16),
01516     ('_addrport', guint16),
01517 ]
01518 
01519 # ../include/netaddr.h: 59
01520 if hasattr(_libs['libassimilationclientlib.so'], 'netaddr_new'):
01521     netaddr_new = _libs['libassimilationclientlib.so'].netaddr_new
01522     netaddr_new.argtypes = [gsize, guint16, guint16, gconstpointer, guint16]
01523     netaddr_new.restype = POINTER(NetAddr)
01524 
01525 # ../include/netaddr.h: 60
01526 if hasattr(_libs['libassimilationclientlib.so'], 'netaddr_sockaddr_new'):
01527     netaddr_sockaddr_new = _libs['libassimilationclientlib.so'].netaddr_sockaddr_new
01528     netaddr_sockaddr_new.argtypes = [POINTER(struct_sockaddr_in6), socklen_t]
01529     netaddr_sockaddr_new.restype = POINTER(NetAddr)
01530 
01531 # ../include/netaddr.h: 61
01532 if hasattr(_libs['libassimilationclientlib.so'], 'netaddr_macaddr_new'):
01533     netaddr_macaddr_new = _libs['libassimilationclientlib.so'].netaddr_macaddr_new
01534     netaddr_macaddr_new.argtypes = [gconstpointer, guint16]
01535     netaddr_macaddr_new.restype = POINTER(NetAddr)
01536 
01537 # ../include/netaddr.h: 62
01538 if hasattr(_libs['libassimilationclientlib.so'], 'netaddr_mac48_new'):
01539     netaddr_mac48_new = _libs['libassimilationclientlib.so'].netaddr_mac48_new
01540     netaddr_mac48_new.argtypes = [gconstpointer]
01541     netaddr_mac48_new.restype = POINTER(NetAddr)
01542 
01543 # ../include/netaddr.h: 63
01544 if hasattr(_libs['libassimilationclientlib.so'], 'netaddr_mac64_new'):
01545     netaddr_mac64_new = _libs['libassimilationclientlib.so'].netaddr_mac64_new
01546     netaddr_mac64_new.argtypes = [gconstpointer]
01547     netaddr_mac64_new.restype = POINTER(NetAddr)
01548 
01549 # ../include/netaddr.h: 64
01550 if hasattr(_libs['libassimilationclientlib.so'], 'netaddr_ipv4_new'):
01551     netaddr_ipv4_new = _libs['libassimilationclientlib.so'].netaddr_ipv4_new
01552     netaddr_ipv4_new.argtypes = [gconstpointer, guint16]
01553     netaddr_ipv4_new.restype = POINTER(NetAddr)
01554 
01555 # ../include/netaddr.h: 65
01556 if hasattr(_libs['libassimilationclientlib.so'], 'netaddr_ipv6_new'):
01557     netaddr_ipv6_new = _libs['libassimilationclientlib.so'].netaddr_ipv6_new
01558     netaddr_ipv6_new.argtypes = [gconstpointer, guint16]
01559     netaddr_ipv6_new.restype = POINTER(NetAddr)
01560 
01561 # ../include/netaddr.h: 66
01562 if hasattr(_libs['libassimilationclientlib.so'], 'netaddr_string_new'):
01563     netaddr_string_new = _libs['libassimilationclientlib.so'].netaddr_string_new
01564     netaddr_string_new.argtypes = [String]
01565     netaddr_string_new.restype = POINTER(NetAddr)
01566 
01567 # /home/alanr/monitor/src/include/addrframe.h: 38
01568 class struct__AddrFrame(Structure):
01569     pass
01570 
01571 AddrFrame = struct__AddrFrame # /home/alanr/monitor/src/include/addrframe.h: 31
01572 
01573 struct__AddrFrame.__slots__ = [
01574     'baseclass',
01575     '_addr',
01576     '_basefinal',
01577     'setaddr',
01578     'setnetaddr',
01579     'getnetaddr',
01580     'setport',
01581 ]
01582 struct__AddrFrame._fields_ = [
01583     ('baseclass', Frame),
01584     ('_addr', POINTER(NetAddr)),
01585     ('_basefinal', CFUNCTYPE(UNCHECKED(None), POINTER(AssimObj))),
01586     ('setaddr', CFUNCTYPE(UNCHECKED(None), POINTER(AddrFrame), guint16, gconstpointer, gsize)),
01587     ('setnetaddr', CFUNCTYPE(UNCHECKED(None), POINTER(AddrFrame), POINTER(NetAddr))),
01588     ('getnetaddr', CFUNCTYPE(UNCHECKED(POINTER(NetAddr)), POINTER(AddrFrame))),
01589     ('setport', CFUNCTYPE(UNCHECKED(None), POINTER(AddrFrame), guint16)),
01590 ]
01591 
01592 # /home/alanr/monitor/src/include/addrframe.h: 48
01593 if hasattr(_libs['libassimilationclientlib.so'], 'addrframe_new'):
01594     addrframe_new = _libs['libassimilationclientlib.so'].addrframe_new
01595     addrframe_new.argtypes = [guint16, gsize]
01596     addrframe_new.restype = POINTER(AddrFrame)
01597 
01598 # /home/alanr/monitor/src/include/addrframe.h: 49
01599 if hasattr(_libs['libassimilationclientlib.so'], 'addrframe_ipv4_new'):
01600     addrframe_ipv4_new = _libs['libassimilationclientlib.so'].addrframe_ipv4_new
01601     addrframe_ipv4_new.argtypes = [guint16, gconstpointer]
01602     addrframe_ipv4_new.restype = POINTER(AddrFrame)
01603 
01604 # /home/alanr/monitor/src/include/addrframe.h: 50
01605 if hasattr(_libs['libassimilationclientlib.so'], 'addrframe_ipv6_new'):
01606     addrframe_ipv6_new = _libs['libassimilationclientlib.so'].addrframe_ipv6_new
01607     addrframe_ipv6_new.argtypes = [guint16, gconstpointer]
01608     addrframe_ipv6_new.restype = POINTER(AddrFrame)
01609 
01610 # /home/alanr/monitor/src/include/addrframe.h: 51
01611 if hasattr(_libs['libassimilationclientlib.so'], 'addrframe_mac48_new'):
01612     addrframe_mac48_new = _libs['libassimilationclientlib.so'].addrframe_mac48_new
01613     addrframe_mac48_new.argtypes = [guint16, gconstpointer]
01614     addrframe_mac48_new.restype = POINTER(AddrFrame)
01615 
01616 # /home/alanr/monitor/src/include/addrframe.h: 52
01617 if hasattr(_libs['libassimilationclientlib.so'], 'addrframe_mac64_new'):
01618     addrframe_mac64_new = _libs['libassimilationclientlib.so'].addrframe_mac64_new
01619     addrframe_mac64_new.argtypes = [guint16, gconstpointer]
01620     addrframe_mac64_new.restype = POINTER(AddrFrame)
01621 
01622 # /home/alanr/monitor/src/include/addrframe.h: 53
01623 if hasattr(_libs['libassimilationclientlib.so'], 'addrframe_tlvconstructor'):
01624     addrframe_tlvconstructor = _libs['libassimilationclientlib.so'].addrframe_tlvconstructor
01625     addrframe_tlvconstructor.argtypes = [gconstpointer, gconstpointer]
01626     addrframe_tlvconstructor.restype = POINTER(Frame)
01627 
01628 # ../include/signframe.h: 40
01629 class struct__SignFrame(Structure):
01630     pass
01631 
01632 SignFrame = struct__SignFrame # ../include/signframe.h: 33
01633 
01634 struct__SignFrame.__slots__ = [
01635     'baseclass',
01636     'signaturetype',
01637 ]
01638 struct__SignFrame._fields_ = [
01639     ('baseclass', Frame),
01640     ('signaturetype', GChecksumType),
01641 ]
01642 
01643 # ../include/signframe.h: 45
01644 if hasattr(_libs['libassimilationclientlib.so'], 'signframe_new'):
01645     signframe_new = _libs['libassimilationclientlib.so'].signframe_new
01646     signframe_new.argtypes = [GChecksumType, gsize]
01647     signframe_new.restype = POINTER(SignFrame)
01648 
01649 # ../include/signframe.h: 46
01650 if hasattr(_libs['libassimilationclientlib.so'], 'signframe_tlvconstructor'):
01651     signframe_tlvconstructor = _libs['libassimilationclientlib.so'].signframe_tlvconstructor
01652     signframe_tlvconstructor.argtypes = [gconstpointer, gconstpointer]
01653     signframe_tlvconstructor.restype = POINTER(Frame)
01654 
01655 # ../include/seqnoframe.h: 42
01656 class struct__SeqnoFrame(Structure):
01657     pass
01658 
01659 SeqnoFrame = struct__SeqnoFrame # ../include/seqnoframe.h: 34
01660 
01661 struct__SeqnoFrame.__slots__ = [
01662     'baseclass',
01663     'getreqid',
01664     'setreqid',
01665     'getqid',
01666     'setqid',
01667     'getsessionid',
01668     'equal',
01669     'compare',
01670     '_reqid',
01671     '_sessionid',
01672     '_qid',
01673 ]
01674 struct__SeqnoFrame._fields_ = [
01675     ('baseclass', Frame),
01676     ('getreqid', CFUNCTYPE(UNCHECKED(guint64), POINTER(SeqnoFrame))),
01677     ('setreqid', CFUNCTYPE(UNCHECKED(None), POINTER(SeqnoFrame), guint64)),
01678     ('getqid', CFUNCTYPE(UNCHECKED(guint16), POINTER(SeqnoFrame))),
01679     ('setqid', CFUNCTYPE(UNCHECKED(None), POINTER(SeqnoFrame), guint16)),
01680     ('getsessionid', CFUNCTYPE(UNCHECKED(guint32), POINTER(SeqnoFrame))),
01681     ('equal', CFUNCTYPE(UNCHECKED(c_int), POINTER(SeqnoFrame), POINTER(SeqnoFrame))),
01682     ('compare', CFUNCTYPE(UNCHECKED(c_int), POINTER(SeqnoFrame), POINTER(SeqnoFrame))),
01683     ('_reqid', guint64),
01684     ('_sessionid', guint32),
01685     ('_qid', guint16),
01686 ]
01687 
01688 # ../include/seqnoframe.h: 55
01689 if hasattr(_libs['libassimilationclientlib.so'], 'seqnoframe_new'):
01690     seqnoframe_new = _libs['libassimilationclientlib.so'].seqnoframe_new
01691     seqnoframe_new.argtypes = [guint16, c_int]
01692     seqnoframe_new.restype = POINTER(SeqnoFrame)
01693 
01694 # ../include/seqnoframe.h: 56
01695 if hasattr(_libs['libassimilationclientlib.so'], 'seqnoframe_new_init'):
01696     seqnoframe_new_init = _libs['libassimilationclientlib.so'].seqnoframe_new_init
01697     seqnoframe_new_init.argtypes = [guint16, guint64, guint16]
01698     seqnoframe_new_init.restype = POINTER(SeqnoFrame)
01699 
01700 # ../include/seqnoframe.h: 57
01701 if hasattr(_libs['libassimilationclientlib.so'], 'seqnoframe_tlvconstructor'):
01702     seqnoframe_tlvconstructor = _libs['libassimilationclientlib.so'].seqnoframe_tlvconstructor
01703     seqnoframe_tlvconstructor.argtypes = [gconstpointer, gconstpointer]
01704     seqnoframe_tlvconstructor.restype = POINTER(Frame)
01705 
01706 struct__FrameSet.__slots__ = [
01707     'baseclass',
01708     'framelist',
01709     'packet',
01710     'pktend',
01711     'fstype',
01712     'fsflags',
01713     '_seqframe',
01714     'getseqno',
01715 ]
01716 struct__FrameSet._fields_ = [
01717     ('baseclass', AssimObj),
01718     ('framelist', POINTER(GSList)),
01719     ('packet', gpointer),
01720     ('pktend', gpointer),
01721     ('fstype', guint16),
01722     ('fsflags', guint16),
01723     ('_seqframe', POINTER(SeqnoFrame)),
01724     ('getseqno', CFUNCTYPE(UNCHECKED(POINTER(SeqnoFrame)), POINTER(FrameSet))),
01725 ]
01726 
01727 # ../include/frameset.h: 56
01728 if hasattr(_libs['libassimilationclientlib.so'], 'frameset_new'):
01729     frameset_new = _libs['libassimilationclientlib.so'].frameset_new
01730     frameset_new.argtypes = [guint16]
01731     frameset_new.restype = POINTER(FrameSet)
01732 
01733 # ../include/frameset.h: 57
01734 if hasattr(_libs['libassimilationclientlib.so'], 'frameset_prepend_frame'):
01735     frameset_prepend_frame = _libs['libassimilationclientlib.so'].frameset_prepend_frame
01736     frameset_prepend_frame.argtypes = [POINTER(FrameSet), POINTER(Frame)]
01737     frameset_prepend_frame.restype = None
01738 
01739 # ../include/frameset.h: 58
01740 if hasattr(_libs['libassimilationclientlib.so'], 'frameset_append_frame'):
01741     frameset_append_frame = _libs['libassimilationclientlib.so'].frameset_append_frame
01742     frameset_append_frame.argtypes = [POINTER(FrameSet), POINTER(Frame)]
01743     frameset_append_frame.restype = None
01744 
01745 # ../include/frameset.h: 59
01746 if hasattr(_libs['libassimilationclientlib.so'], 'frameset_construct_packet'):
01747     frameset_construct_packet = _libs['libassimilationclientlib.so'].frameset_construct_packet
01748     frameset_construct_packet.argtypes = [POINTER(FrameSet), POINTER(SignFrame), POINTER(Frame), POINTER(Frame)]
01749     frameset_construct_packet.restype = None
01750 
01751 # ../include/frameset.h: 60
01752 if hasattr(_libs['libassimilationclientlib.so'], 'frame_new'):
01753     frame_new = _libs['libassimilationclientlib.so'].frame_new
01754     frame_new.argtypes = [guint16, gsize]
01755     frame_new.restype = POINTER(Frame)
01756 
01757 # ../include/frameset.h: 61
01758 if hasattr(_libs['libassimilationclientlib.so'], 'frameset_get_flags'):
01759     frameset_get_flags = _libs['libassimilationclientlib.so'].frameset_get_flags
01760     frameset_get_flags.argtypes = [POINTER(FrameSet)]
01761     frameset_get_flags.restype = guint16
01762 
01763 # ../include/frameset.h: 62
01764 if hasattr(_libs['libassimilationclientlib.so'], 'frameset_set_flags'):
01765     frameset_set_flags = _libs['libassimilationclientlib.so'].frameset_set_flags
01766     frameset_set_flags.argtypes = [POINTER(FrameSet), guint16]
01767     frameset_set_flags.restype = guint16
01768 
01769 # ../include/frameset.h: 63
01770 if hasattr(_libs['libassimilationclientlib.so'], 'frameset_clear_flags'):
01771     frameset_clear_flags = _libs['libassimilationclientlib.so'].frameset_clear_flags
01772     frameset_clear_flags.argtypes = [POINTER(FrameSet), guint16]
01773     frameset_clear_flags.restype = guint16
01774 
01775 # ../include/frameset.h: 64
01776 if hasattr(_libs['libassimilationclientlib.so'], 'frame_append_to_frameset_packet'):
01777     frame_append_to_frameset_packet = _libs['libassimilationclientlib.so'].frame_append_to_frameset_packet
01778     frame_append_to_frameset_packet.argtypes = [POINTER(FrameSet), POINTER(Frame), gpointer]
01779     frame_append_to_frameset_packet.restype = gpointer
01780 
01781 # ../include/frameset.h: 65
01782 if hasattr(_libs['libassimilationclientlib.so'], 'frameset_dump'):
01783     frameset_dump = _libs['libassimilationclientlib.so'].frameset_dump
01784     frameset_dump.argtypes = [POINTER(FrameSet)]
01785     frameset_dump.restype = None
01786 
01787 # ../include/configcontext.h: 70
01788 class struct__ConfigContext(Structure):
01789     pass
01790 
01791 ConfigContext = struct__ConfigContext # ../include/configcontext.h: 42
01792 
01793 enum_ConfigValType = c_int # ../include/configcontext.h: 44
01794 
01795 CFG_EEXIST = 0 # ../include/configcontext.h: 44
01796 
01797 CFG_NULL = (CFG_EEXIST + 1) # ../include/configcontext.h: 44
01798 
01799 CFG_BOOL = (CFG_NULL + 1) # ../include/configcontext.h: 44
01800 
01801 CFG_INT64 = (CFG_BOOL + 1) # ../include/configcontext.h: 44
01802 
01803 CFG_STRING = (CFG_INT64 + 1) # ../include/configcontext.h: 44
01804 
01805 CFG_FLOAT = (CFG_STRING + 1) # ../include/configcontext.h: 44
01806 
01807 CFG_ARRAY = (CFG_FLOAT + 1) # ../include/configcontext.h: 44
01808 
01809 CFG_CFGCTX = (CFG_ARRAY + 1) # ../include/configcontext.h: 44
01810 
01811 CFG_NETADDR = (CFG_CFGCTX + 1) # ../include/configcontext.h: 44
01812 
01813 CFG_FRAME = (CFG_NETADDR + 1) # ../include/configcontext.h: 44
01814 
01815 # ../include/configcontext.h: 57
01816 class struct__ConfigValue(Structure):
01817     pass
01818 
01819 ConfigValue = struct__ConfigValue # ../include/configcontext.h: 56
01820 
01821 # ../include/configcontext.h: 59
01822 class union_anon_102(Union):
01823     pass
01824 
01825 union_anon_102.__slots__ = [
01826     'intvalue',
01827     'floatvalue',
01828     'arrayvalue',
01829     'strvalue',
01830     'cfgctxvalue',
01831     'addrvalue',
01832     'framevalue',
01833 ]
01834 union_anon_102._fields_ = [
01835     ('intvalue', gint64),
01836     ('floatvalue', c_double),
01837     ('arrayvalue', POINTER(GSList)),
01838     ('strvalue', String),
01839     ('cfgctxvalue', POINTER(ConfigContext)),
01840     ('addrvalue', POINTER(NetAddr)),
01841     ('framevalue', POINTER(Frame)),
01842 ]
01843 
01844 struct__ConfigValue.__slots__ = [
01845     'valtype',
01846     'u',
01847 ]
01848 struct__ConfigValue._fields_ = [
01849     ('valtype', enum_ConfigValType),
01850     ('u', union_anon_102),
01851 ]
01852 
01853 struct__ConfigContext.__slots__ = [
01854     'baseclass',
01855     '_values',
01856     'getint',
01857     'setint',
01858     'getbool',
01859     'setbool',
01860     'getdouble',
01861     'setdouble',
01862     'getarray',
01863     'setarray',
01864     'getstring',
01865     'setstring',
01866     'getframe',
01867     'setframe',
01868     'getaddr',
01869     'setaddr',
01870     'getconfig',
01871     'setconfig',
01872     'gettype',
01873     'keys',
01874 ]
01875 struct__ConfigContext._fields_ = [
01876     ('baseclass', AssimObj),
01877     ('_values', POINTER(GHashTable)),
01878     ('getint', CFUNCTYPE(UNCHECKED(gint), POINTER(ConfigContext), String)),
01879     ('setint', CFUNCTYPE(UNCHECKED(None), POINTER(ConfigContext), String, gint)),
01880     ('getbool', CFUNCTYPE(UNCHECKED(gboolean), POINTER(ConfigContext), String)),
01881     ('setbool', CFUNCTYPE(UNCHECKED(None), POINTER(ConfigContext), String, gboolean)),
01882     ('getdouble', CFUNCTYPE(UNCHECKED(c_double), POINTER(ConfigContext), String)),
01883     ('setdouble', CFUNCTYPE(UNCHECKED(None), POINTER(ConfigContext), String, c_double)),
01884     ('getarray', CFUNCTYPE(UNCHECKED(POINTER(GSList)), POINTER(ConfigContext), String)),
01885     ('setarray', CFUNCTYPE(UNCHECKED(None), POINTER(ConfigContext), String, POINTER(GSList))),
01886     ('getstring', CFUNCTYPE(UNCHECKED(String), POINTER(ConfigContext), String)),
01887     ('setstring', CFUNCTYPE(UNCHECKED(None), POINTER(ConfigContext), String, String)),
01888     ('getframe', CFUNCTYPE(UNCHECKED(POINTER(Frame)), POINTER(ConfigContext), String)),
01889     ('setframe', CFUNCTYPE(UNCHECKED(None), POINTER(ConfigContext), String, POINTER(Frame))),
01890     ('getaddr', CFUNCTYPE(UNCHECKED(POINTER(NetAddr)), POINTER(ConfigContext), String)),
01891     ('setaddr', CFUNCTYPE(UNCHECKED(None), POINTER(ConfigContext), String, POINTER(NetAddr))),
01892     ('getconfig', CFUNCTYPE(UNCHECKED(POINTER(ConfigContext)), POINTER(ConfigContext), String)),
01893     ('setconfig', CFUNCTYPE(UNCHECKED(None), POINTER(ConfigContext), String, POINTER(ConfigContext))),
01894     ('gettype', CFUNCTYPE(UNCHECKED(enum_ConfigValType), POINTER(ConfigContext), String)),
01895     ('keys', CFUNCTYPE(UNCHECKED(POINTER(GSList)), POINTER(ConfigContext))),
01896 ]
01897 
01898 # ../include/configcontext.h: 93
01899 if hasattr(_libs['libassimilationclientlib.so'], 'configcontext_new'):
01900     configcontext_new = _libs['libassimilationclientlib.so'].configcontext_new
01901     configcontext_new.argtypes = [gsize]
01902     configcontext_new.restype = POINTER(ConfigContext)
01903 
01904 # ../include/configcontext.h: 94
01905 if hasattr(_libs['libassimilationclientlib.so'], 'configcontext_new_JSON_string'):
01906     configcontext_new_JSON_string = _libs['libassimilationclientlib.so'].configcontext_new_JSON_string
01907     configcontext_new_JSON_string.argtypes = [String]
01908     configcontext_new_JSON_string.restype = POINTER(ConfigContext)
01909 
01910 # ../include/listener.h: 41
01911 class struct__Listener(Structure):
01912     pass
01913 
01914 Listener = struct__Listener # ../include/listener.h: 33
01915 
01916 # ../include/packetdecoder.h: 37
01917 class struct__FrameTypeToFrame(Structure):
01918     pass
01919 
01920 FrameTypeToFrame = struct__FrameTypeToFrame # ../include/packetdecoder.h: 32
01921 
01922 FramePktConstructor = CFUNCTYPE(UNCHECKED(POINTER(Frame)), gconstpointer, gconstpointer) # ../include/packetdecoder.h: 34
01923 
01924 struct__FrameTypeToFrame.__slots__ = [
01925     'frametype',
01926     'constructor',
01927 ]
01928 struct__FrameTypeToFrame._fields_ = [
01929     ('frametype', c_int),
01930     ('constructor', FramePktConstructor),
01931 ]
01932 
01933 # ../include/packetdecoder.h: 44
01934 class struct__PacketDecoder(Structure):
01935     pass
01936 
01937 PacketDecoder = struct__PacketDecoder # ../include/packetdecoder.h: 43
01938 
01939 struct__PacketDecoder.__slots__ = [
01940     'baseclass',
01941     '_pfinalize',
01942     '_framemaplen',
01943     '_framemap',
01944     '_maxframetype',
01945     '_frametypemap',
01946     'pktdata_to_framesetlist',
01947 ]
01948 struct__PacketDecoder._fields_ = [
01949     ('baseclass', AssimObj),
01950     ('_pfinalize', CFUNCTYPE(UNCHECKED(None), POINTER(AssimObj))),
01951     ('_framemaplen', c_int),
01952     ('_framemap', POINTER(FrameTypeToFrame)),
01953     ('_maxframetype', c_int),
01954     ('_frametypemap', POINTER(FramePktConstructor)),
01955     ('pktdata_to_framesetlist', CFUNCTYPE(UNCHECKED(POINTER(GSList)), POINTER(PacketDecoder), gconstpointer, gconstpointer)),
01956 ]
01957 
01958 # ../include/packetdecoder.h: 54
01959 if hasattr(_libs['libassimilationclientlib.so'], 'packetdecoder_new'):
01960     packetdecoder_new = _libs['libassimilationclientlib.so'].packetdecoder_new
01961     packetdecoder_new.argtypes = [guint, POINTER(FrameTypeToFrame), gint]
01962     packetdecoder_new.restype = POINTER(PacketDecoder)
01963 
01964 # ../include/netio.h: 44
01965 class struct__NetIO(Structure):
01966     pass
01967 
01968 NetIO = struct__NetIO # ../include/netio.h: 39
01969 
01970 struct__NetIO.__slots__ = [
01971     'baseclass',
01972     'giosock',
01973     '_maxpktsize',
01974     '_configinfo',
01975     '_decoder',
01976     '_signframe',
01977     '_cryptframe',
01978     '_compressframe',
01979     'bindaddr',
01980     'boundaddr',
01981     'mcastjoin',
01982     'setmcast_ttl',
01983     'getfd',
01984     'setblockio',
01985     'getmaxpktsize',
01986     'setmaxpktsize',
01987     'sendaframeset',
01988     'sendframesets',
01989     'sendamessage',
01990     'sendmessages',
01991     'ackamessage',
01992     'nackamessage',
01993     'recvframesets',
01994     'signframe',
01995     'cryptframe',
01996     'compressframe',
01997 ]
01998 struct__NetIO._fields_ = [
01999     ('baseclass', AssimObj),
02000     ('giosock', POINTER(GIOChannel)),
02001     ('_maxpktsize', gint),
02002     ('_configinfo', POINTER(ConfigContext)),
02003     ('_decoder', POINTER(PacketDecoder)),
02004     ('_signframe', POINTER(SignFrame)),
02005     ('_cryptframe', POINTER(Frame)),
02006     ('_compressframe', POINTER(Frame)),
02007     ('bindaddr', CFUNCTYPE(UNCHECKED(gboolean), POINTER(NetIO), POINTER(NetAddr), gboolean)),
02008     ('boundaddr', CFUNCTYPE(UNCHECKED(POINTER(NetAddr)), POINTER(NetIO))),
02009     ('mcastjoin', CFUNCTYPE(UNCHECKED(gboolean), POINTER(NetIO), POINTER(NetAddr), POINTER(NetAddr))),
02010     ('setmcast_ttl', CFUNCTYPE(UNCHECKED(gboolean), POINTER(NetIO), guint8)),
02011     ('getfd', CFUNCTYPE(UNCHECKED(gint), POINTER(NetIO))),
02012     ('setblockio', CFUNCTYPE(UNCHECKED(None), POINTER(NetIO), gboolean)),
02013     ('getmaxpktsize', CFUNCTYPE(UNCHECKED(gsize), POINTER(NetIO))),
02014     ('setmaxpktsize', CFUNCTYPE(UNCHECKED(gsize), POINTER(NetIO), gsize)),
02015     ('sendaframeset', CFUNCTYPE(UNCHECKED(None), POINTER(NetIO), POINTER(NetAddr), POINTER(FrameSet))),
02016     ('sendframesets', CFUNCTYPE(UNCHECKED(None), POINTER(NetIO), POINTER(NetAddr), POINTER(GSList))),
02017     ('sendamessage', CFUNCTYPE(UNCHECKED(None), POINTER(NetIO), POINTER(NetAddr), POINTER(FrameSet))),
02018     ('sendmessages', CFUNCTYPE(UNCHECKED(None), POINTER(NetIO), POINTER(NetAddr), POINTER(GSList))),
02019     ('ackamessage', CFUNCTYPE(UNCHECKED(None), POINTER(NetIO), POINTER(NetAddr), POINTER(FrameSet))),
02020     ('nackamessage', CFUNCTYPE(UNCHECKED(None), POINTER(NetIO), POINTER(NetAddr), POINTER(FrameSet))),
02021     ('recvframesets', CFUNCTYPE(UNCHECKED(POINTER(GSList)), POINTER(NetIO), POINTER(POINTER(NetAddr)))),
02022     ('signframe', CFUNCTYPE(UNCHECKED(POINTER(SignFrame)), POINTER(NetIO))),
02023     ('cryptframe', CFUNCTYPE(UNCHECKED(POINTER(Frame)), POINTER(NetIO))),
02024     ('compressframe', CFUNCTYPE(UNCHECKED(POINTER(Frame)), POINTER(NetIO))),
02025 ]
02026 
02027 # ../include/netio.h: 124
02028 if hasattr(_libs['libassimilationclientlib.so'], 'netio_new'):
02029     netio_new = _libs['libassimilationclientlib.so'].netio_new
02030     netio_new.argtypes = [gsize, POINTER(ConfigContext), POINTER(PacketDecoder)]
02031     netio_new.restype = POINTER(NetIO)
02032 
02033 # ../include/netio.h: 126
02034 if hasattr(_libs['libassimilationclientlib.so'], 'netio_is_dual_ipv4v6_stack'):
02035     netio_is_dual_ipv4v6_stack = _libs['libassimilationclientlib.so'].netio_is_dual_ipv4v6_stack
02036     netio_is_dual_ipv4v6_stack.argtypes = []
02037     netio_is_dual_ipv4v6_stack.restype = gboolean
02038 
02039 # ../include/netgsource.h: 43
02040 class struct__NetGSource(Structure):
02041     pass
02042 
02043 NetGSource = struct__NetGSource # ../include/netgsource.h: 34
02044 
02045 struct__NetGSource.__slots__ = [
02046     'baseclass',
02047     '_gfd',
02048     '_socket',
02049     '_gsourceid',
02050     '_userdata',
02051     '_gsfuncs',
02052     '_netio',
02053     '_dispatchers',
02054     '_finalize',
02055     'sendaframeset',
02056     'sendframesets',
02057     'addListener',
02058 ]
02059 struct__NetGSource._fields_ = [
02060     ('baseclass', GSource),
02061     ('_gfd', GPollFD),
02062     ('_socket', c_int),
02063     ('_gsourceid', gint),
02064     ('_userdata', gpointer),
02065     ('_gsfuncs', POINTER(GSourceFuncs)),
02066     ('_netio', POINTER(NetIO)),
02067     ('_dispatchers', POINTER(GHashTable)),
02068     ('_finalize', GDestroyNotify),
02069     ('sendaframeset', CFUNCTYPE(UNCHECKED(None), POINTER(NetGSource), POINTER(NetAddr), POINTER(FrameSet))),
02070     ('sendframesets', CFUNCTYPE(UNCHECKED(None), POINTER(NetGSource), POINTER(NetAddr), POINTER(GSList))),
02071     ('addListener', CFUNCTYPE(UNCHECKED(None), POINTER(NetGSource), guint16, POINTER(Listener))),
02072 ]
02073 
02074 # ../include/netgsource.h: 57
02075 if hasattr(_libs['libassimilationclientlib.so'], 'netgsource_new'):
02076     netgsource_new = _libs['libassimilationclientlib.so'].netgsource_new
02077     netgsource_new.argtypes = [POINTER(NetIO), GDestroyNotify, gint, gboolean, POINTER(GMainContext), gsize, gpointer]
02078     netgsource_new.restype = POINTER(NetGSource)
02079 
02080 struct__Listener.__slots__ = [
02081     'baseclass',
02082     'config',
02083     'transport',
02084     'got_frameset',
02085     'associate',
02086     'dissociate',
02087 ]
02088 struct__Listener._fields_ = [
02089     ('baseclass', AssimObj),
02090     ('config', POINTER(ConfigContext)),
02091     ('transport', POINTER(NetGSource)),
02092     ('got_frameset', CFUNCTYPE(UNCHECKED(gboolean), POINTER(Listener), POINTER(FrameSet), POINTER(NetAddr))),
02093     ('associate', CFUNCTYPE(UNCHECKED(None), POINTER(Listener), POINTER(NetGSource))),
02094     ('dissociate', CFUNCTYPE(UNCHECKED(None), POINTER(Listener))),
02095 ]
02096 
02097 # ../include/listener.h: 54
02098 if hasattr(_libs['libassimilationclientlib.so'], 'listener_new'):
02099     listener_new = _libs['libassimilationclientlib.so'].listener_new
02100     listener_new.argtypes = [POINTER(ConfigContext), gsize]
02101     listener_new.restype = POINTER(Listener)
02102 
02103 # /home/alanr/monitor/src/include/authlistener.h: 41
02104 class struct__AuthListener(Structure):
02105     pass
02106 
02107 AuthListener = struct__AuthListener # /home/alanr/monitor/src/include/authlistener.h: 31
02108 
02109 # /home/alanr/monitor/src/include/authlistener.h: 49
02110 class struct__ObeyFrameSetTypeMap(Structure):
02111     pass
02112 
02113 ObeyFrameSetTypeMap = struct__ObeyFrameSetTypeMap # /home/alanr/monitor/src/include/authlistener.h: 36
02114 
02115 struct__AuthListener.__slots__ = [
02116     'baseclass',
02117     'actionmap',
02118 ]
02119 struct__AuthListener._fields_ = [
02120     ('baseclass', Listener),
02121     ('actionmap', POINTER(GHashTable)),
02122 ]
02123 
02124 AuthListenerAction = CFUNCTYPE(UNCHECKED(None), POINTER(AuthListener), POINTER(FrameSet), POINTER(NetAddr)) # /home/alanr/monitor/src/include/authlistener.h: 47
02125 
02126 struct__ObeyFrameSetTypeMap.__slots__ = [
02127     'framesettype',
02128     'action',
02129 ]
02130 struct__ObeyFrameSetTypeMap._fields_ = [
02131     ('framesettype', c_int),
02132     ('action', AuthListenerAction),
02133 ]
02134 
02135 # /home/alanr/monitor/src/include/authlistener.h: 56
02136 if hasattr(_libs['libassimilationclientlib.so'], 'authlistener_new'):
02137     authlistener_new = _libs['libassimilationclientlib.so'].authlistener_new
02138     authlistener_new.argtypes = [POINTER(ObeyFrameSetTypeMap), POINTER(ConfigContext), gsize]
02139     authlistener_new.restype = POINTER(AuthListener)
02140 
02141 # /home/alanr/monitor/src/include/cdp.h: 68
02142 if hasattr(_libs['libassimilationclientlib.so'], 'get_cdp_vers'):
02143     get_cdp_vers = _libs['libassimilationclientlib.so'].get_cdp_vers
02144     get_cdp_vers.argtypes = [gconstpointer, gconstpointer]
02145     get_cdp_vers.restype = guint8
02146 
02147 # /home/alanr/monitor/src/include/cdp.h: 69
02148 if hasattr(_libs['libassimilationclientlib.so'], 'get_cdp_ttl'):
02149     get_cdp_ttl = _libs['libassimilationclientlib.so'].get_cdp_ttl
02150     get_cdp_ttl.argtypes = [gconstpointer, gconstpointer]
02151     get_cdp_ttl.restype = guint8
02152 
02153 # /home/alanr/monitor/src/include/cdp.h: 70
02154 if hasattr(_libs['libassimilationclientlib.so'], 'get_cdp_cksum'):
02155     get_cdp_cksum = _libs['libassimilationclientlib.so'].get_cdp_cksum
02156     get_cdp_cksum.argtypes = [gconstpointer, gconstpointer]
02157     get_cdp_cksum.restype = guint16
02158 
02159 # /home/alanr/monitor/src/include/cdp.h: 71
02160 if hasattr(_libs['libassimilationclientlib.so'], 'get_cdptlv_type'):
02161     get_cdptlv_type = _libs['libassimilationclientlib.so'].get_cdptlv_type
02162     get_cdptlv_type.argtypes = [gconstpointer, gconstpointer]
02163     get_cdptlv_type.restype = guint16
02164 
02165 # /home/alanr/monitor/src/include/cdp.h: 72
02166 if hasattr(_libs['libassimilationclientlib.so'], 'get_cdptlv_len'):
02167     get_cdptlv_len = _libs['libassimilationclientlib.so'].get_cdptlv_len
02168     get_cdptlv_len.argtypes = [gconstpointer, gconstpointer]
02169     get_cdptlv_len.restype = gsize
02170 
02171 # /home/alanr/monitor/src/include/cdp.h: 73
02172 if hasattr(_libs['libassimilationclientlib.so'], 'get_cdptlv_vlen'):
02173     get_cdptlv_vlen = _libs['libassimilationclientlib.so'].get_cdptlv_vlen
02174     get_cdptlv_vlen.argtypes = [gconstpointer, gconstpointer]
02175     get_cdptlv_vlen.restype = gsize
02176 
02177 # /home/alanr/monitor/src/include/cdp.h: 74
02178 if hasattr(_libs['libassimilationclientlib.so'], 'get_cdptlv_body'):
02179     get_cdptlv_body = _libs['libassimilationclientlib.so'].get_cdptlv_body
02180     get_cdptlv_body.argtypes = [gconstpointer, gconstpointer]
02181     get_cdptlv_body.restype = gconstpointer
02182 
02183 # /home/alanr/monitor/src/include/cdp.h: 75
02184 if hasattr(_libs['libassimilationclientlib.so'], 'get_cdptlv_first'):
02185     get_cdptlv_first = _libs['libassimilationclientlib.so'].get_cdptlv_first
02186     get_cdptlv_first.argtypes = [gconstpointer, gconstpointer]
02187     get_cdptlv_first.restype = gconstpointer
02188 
02189 # /home/alanr/monitor/src/include/cdp.h: 76
02190 if hasattr(_libs['libassimilationclientlib.so'], 'get_cdptlv_next'):
02191     get_cdptlv_next = _libs['libassimilationclientlib.so'].get_cdptlv_next
02192     get_cdptlv_next.argtypes = [gconstpointer, gconstpointer]
02193     get_cdptlv_next.restype = gconstpointer
02194 
02195 # /home/alanr/monitor/src/include/cdp.h: 77
02196 if hasattr(_libs['libassimilationclientlib.so'], 'get_cdp_chassis_id'):
02197     get_cdp_chassis_id = _libs['libassimilationclientlib.so'].get_cdp_chassis_id
02198     get_cdp_chassis_id.argtypes = [gconstpointer, POINTER(gssize), gconstpointer]
02199     get_cdp_chassis_id.restype = gconstpointer
02200 
02201 # /home/alanr/monitor/src/include/cdp.h: 78
02202 if hasattr(_libs['libassimilationclientlib.so'], 'get_cdp_port_id'):
02203     get_cdp_port_id = _libs['libassimilationclientlib.so'].get_cdp_port_id
02204     get_cdp_port_id.argtypes = [gconstpointer, POINTER(gssize), gconstpointer]
02205     get_cdp_port_id.restype = gconstpointer
02206 
02207 # /home/alanr/monitor/src/include/cdp.h: 79
02208 if hasattr(_libs['libassimilationclientlib.so'], 'is_valid_cdp_packet'):
02209     is_valid_cdp_packet = _libs['libassimilationclientlib.so'].is_valid_cdp_packet
02210     is_valid_cdp_packet.argtypes = [gconstpointer, gconstpointer]
02211     is_valid_cdp_packet.restype = gboolean
02212 
02213 # /home/alanr/monitor/src/include/cdp.h: 80
02214 for _lib in _libs.itervalues():
02215     if not hasattr(_lib, 'enable_cdp_packets'):
02216         continue
02217     enable_cdp_packets = _lib.enable_cdp_packets
02218     enable_cdp_packets.argtypes = [gboolean]
02219     enable_cdp_packets.restype = gboolean
02220     break
02221 
02222 # /home/alanr/monitor/src/include/cmalib.h: 31
02223 if hasattr(_libs['libassimilationclientlib.so'], 'create_sendexpecthb'):
02224     create_sendexpecthb = _libs['libassimilationclientlib.so'].create_sendexpecthb
02225     create_sendexpecthb.argtypes = [POINTER(ConfigContext), guint16, POINTER(NetAddr), c_int]
02226     create_sendexpecthb.restype = POINTER(FrameSet)
02227 
02228 # /home/alanr/monitor/src/include/cmalib.h: 32
02229 if hasattr(_libs['libassimilationclientlib.so'], 'create_setconfig'):
02230     create_setconfig = _libs['libassimilationclientlib.so'].create_setconfig
02231     create_setconfig.argtypes = [POINTER(ConfigContext)]
02232     create_setconfig.restype = POINTER(FrameSet)
02233 
02234 # /home/alanr/monitor/src/include/compressframe.h: 33
02235 class struct__CompressFrame(Structure):
02236     pass
02237 
02238 CompressFrame = struct__CompressFrame # /home/alanr/monitor/src/include/compressframe.h: 30
02239 
02240 struct__CompressFrame.__slots__ = [
02241     'baseclass',
02242     'compression_method',
02243 ]
02244 struct__CompressFrame._fields_ = [
02245     ('baseclass', Frame),
02246     ('compression_method', guint16),
02247 ]
02248 
02249 # /home/alanr/monitor/src/include/compressframe.h: 38
02250 if hasattr(_libs['libassimilationclientlib.so'], 'compressframe_new'):
02251     compressframe_new = _libs['libassimilationclientlib.so'].compressframe_new
02252     compressframe_new.argtypes = [guint16, guint16]
02253     compressframe_new.restype = POINTER(CompressFrame)
02254 
02255 # /home/alanr/monitor/src/include/compressframe.h: 39
02256 if hasattr(_libs['libassimilationclientlib.so'], 'compressframe_tlvconstructor'):
02257     compressframe_tlvconstructor = _libs['libassimilationclientlib.so'].compressframe_tlvconstructor
02258     compressframe_tlvconstructor.argtypes = [gconstpointer, gconstpointer]
02259     compressframe_tlvconstructor.restype = POINTER(Frame)
02260 
02261 # /home/alanr/monitor/src/include/cryptframe.h: 33
02262 class struct__CryptFrame(Structure):
02263     pass
02264 
02265 CryptFrame = struct__CryptFrame # /home/alanr/monitor/src/include/cryptframe.h: 30
02266 
02267 struct__CryptFrame.__slots__ = [
02268     'baseclass',
02269     'encryption_method',
02270     'encryption_key_info',
02271 ]
02272 struct__CryptFrame._fields_ = [
02273     ('baseclass', Frame),
02274     ('encryption_method', c_int),
02275     ('encryption_key_info', POINTER(None)),
02276 ]
02277 
02278 # /home/alanr/monitor/src/include/cryptframe.h: 39
02279 if hasattr(_libs['libassimilationclientlib.so'], 'cryptframe_new'):
02280     cryptframe_new = _libs['libassimilationclientlib.so'].cryptframe_new
02281     cryptframe_new.argtypes = [guint16, guint16, POINTER(None)]
02282     cryptframe_new.restype = POINTER(CryptFrame)
02283 
02284 # /home/alanr/monitor/src/include/cryptframe.h: 40
02285 if hasattr(_libs['libassimilationclientlib.so'], 'cryptframe_tlvconstructor'):
02286     cryptframe_tlvconstructor = _libs['libassimilationclientlib.so'].cryptframe_tlvconstructor
02287     cryptframe_tlvconstructor.argtypes = [gconstpointer, gconstpointer]
02288     cryptframe_tlvconstructor.restype = POINTER(Frame)
02289 
02290 # /home/alanr/monitor/src/include/cstringframe.h: 35
02291 class struct__CstringFrame(Structure):
02292     pass
02293 
02294 CstringFrame = struct__CstringFrame # /home/alanr/monitor/src/include/cstringframe.h: 30
02295 
02296 struct__CstringFrame.__slots__ = [
02297     'baseclass',
02298 ]
02299 struct__CstringFrame._fields_ = [
02300     ('baseclass', Frame),
02301 ]
02302 
02303 # /home/alanr/monitor/src/include/cstringframe.h: 39
02304 if hasattr(_libs['libassimilationclientlib.so'], 'cstringframe_new'):
02305     cstringframe_new = _libs['libassimilationclientlib.so'].cstringframe_new
02306     cstringframe_new.argtypes = [guint16, gsize]
02307     cstringframe_new.restype = POINTER(CstringFrame)
02308 
02309 # /home/alanr/monitor/src/include/cstringframe.h: 40
02310 if hasattr(_libs['libassimilationclientlib.so'], 'cstringframe_tlvconstructor'):
02311     cstringframe_tlvconstructor = _libs['libassimilationclientlib.so'].cstringframe_tlvconstructor
02312     cstringframe_tlvconstructor.argtypes = [gconstpointer, gconstpointer]
02313     cstringframe_tlvconstructor.restype = POINTER(Frame)
02314 
02315 # /home/alanr/monitor/src/include/discovery.h: 47
02316 class struct__Discovery(Structure):
02317     pass
02318 
02319 Discovery = struct__Discovery # /home/alanr/monitor/src/include/discovery.h: 45
02320 
02321 struct__Discovery.__slots__ = [
02322     'baseclass',
02323     'instancename',
02324     'flushcache',
02325     'discover',
02326     'discoverintervalsecs',
02327     'reportcount',
02328     'discovercount',
02329     '_instancename',
02330     '_timerid',
02331     '_iosource',
02332     '_config',
02333     '_sentyet',
02334 ]
02335 struct__Discovery._fields_ = [
02336     ('baseclass', AssimObj),
02337     ('instancename', CFUNCTYPE(UNCHECKED(String), POINTER(Discovery))),
02338     ('flushcache', CFUNCTYPE(UNCHECKED(None), POINTER(Discovery))),
02339     ('discover', CFUNCTYPE(UNCHECKED(gboolean), POINTER(Discovery))),
02340     ('discoverintervalsecs', CFUNCTYPE(UNCHECKED(guint), POINTER(Discovery))),
02341     ('reportcount', guint64),
02342     ('discovercount', guint64),
02343     ('_instancename', String),
02344     ('_timerid', guint),
02345     ('_iosource', POINTER(NetGSource)),
02346     ('_config', POINTER(ConfigContext)),
02347     ('_sentyet', gboolean),
02348 ]
02349 
02350 # /home/alanr/monitor/src/include/discovery.h: 66
02351 if hasattr(_libs['libassimilationclientlib.so'], 'discovery_new'):
02352     discovery_new = _libs['libassimilationclientlib.so'].discovery_new
02353     discovery_new.argtypes = [String, POINTER(NetGSource), POINTER(ConfigContext), gsize]
02354     discovery_new.restype = POINTER(Discovery)
02355 
02356 # /home/alanr/monitor/src/include/discovery.h: 67
02357 if hasattr(_libs['libassimilationclientlib.so'], 'discovery_register'):
02358     discovery_register = _libs['libassimilationclientlib.so'].discovery_register
02359     discovery_register.argtypes = [POINTER(Discovery)]
02360     discovery_register.restype = None
02361 
02362 # /home/alanr/monitor/src/include/discovery.h: 68
02363 if hasattr(_libs['libassimilationclientlib.so'], 'discovery_unregister_all'):
02364     discovery_unregister_all = _libs['libassimilationclientlib.so'].discovery_unregister_all
02365     discovery_unregister_all.argtypes = []
02366     discovery_unregister_all.restype = None
02367 
02368 # /home/alanr/monitor/src/include/discovery.h: 69
02369 if hasattr(_libs['libassimilationclientlib.so'], 'discovery_unregister'):
02370     discovery_unregister = _libs['libassimilationclientlib.so'].discovery_unregister
02371     discovery_unregister.argtypes = [String]
02372     discovery_unregister.restype = None
02373 
02374 # ../include/fsqueue.h: 42
02375 class struct__FsQueue(Structure):
02376     pass
02377 
02378 FsQueue = struct__FsQueue # ../include/fsqueue.h: 37
02379 
02380 struct__FsQueue.__slots__ = [
02381     'baseclass',
02382     '_nextseqno',
02383     '_maxqlen',
02384     '_curqlen',
02385     '_q',
02386     '_destaddr',
02387     '_qid',
02388     'isready',
02389     'enq',
02390     'inqsorted',
02391     'qhead',
02392     'deq',
02393     'ackthrough',
02394     'flush',
02395     'flush1',
02396     'qlen',
02397     'setmaxqlen',
02398     'getmaxqlen',
02399     'hasqspace1',
02400     'hasqspace',
02401 ]
02402 struct__FsQueue._fields_ = [
02403     ('baseclass', AssimObj),
02404     ('_nextseqno', guint64),
02405     ('_maxqlen', guint),
02406     ('_curqlen', guint),
02407     ('_q', POINTER(GQueue)),
02408     ('_destaddr', POINTER(NetAddr)),
02409     ('_qid', guint16),
02410     ('isready', gboolean),
02411     ('enq', CFUNCTYPE(UNCHECKED(gboolean), POINTER(FsQueue), POINTER(FrameSet))),
02412     ('inqsorted', CFUNCTYPE(UNCHECKED(gboolean), POINTER(FsQueue), POINTER(FrameSet))),
02413     ('qhead', CFUNCTYPE(UNCHECKED(POINTER(FrameSet)), POINTER(FsQueue))),
02414     ('deq', CFUNCTYPE(UNCHECKED(POINTER(FrameSet)), POINTER(FsQueue))),
02415     ('ackthrough', CFUNCTYPE(UNCHECKED(guint), POINTER(FsQueue), POINTER(SeqnoFrame))),
02416     ('flush', CFUNCTYPE(UNCHECKED(None), POINTER(FsQueue))),
02417     ('flush1', CFUNCTYPE(UNCHECKED(None), POINTER(FsQueue))),
02418     ('qlen', CFUNCTYPE(UNCHECKED(guint), POINTER(FsQueue))),
02419     ('setmaxqlen', CFUNCTYPE(UNCHECKED(None), POINTER(FsQueue), guint)),
02420     ('getmaxqlen', CFUNCTYPE(UNCHECKED(guint), POINTER(FsQueue))),
02421     ('hasqspace1', CFUNCTYPE(UNCHECKED(gboolean), POINTER(FsQueue))),
02422     ('hasqspace', CFUNCTYPE(UNCHECKED(gboolean), POINTER(FsQueue), guint)),
02423 ]
02424 
02425 # ../include/fsqueue.h: 65
02426 if hasattr(_libs['libassimilationclientlib.so'], 'fsqueue_new'):
02427     fsqueue_new = _libs['libassimilationclientlib.so'].fsqueue_new
02428     fsqueue_new.argtypes = [guint, POINTER(NetAddr), guint16]
02429     fsqueue_new.restype = POINTER(FsQueue)
02430 
02431 # /home/alanr/monitor/src/include/fsprotocol.h: 59
02432 class struct__FsProtocol(Structure):
02433     pass
02434 
02435 FsProtocol = struct__FsProtocol # /home/alanr/monitor/src/include/fsprotocol.h: 45
02436 
02437 # /home/alanr/monitor/src/include/fsprotocol.h: 49
02438 class struct__FsProtoElem(Structure):
02439     pass
02440 
02441 FsProtoElem = struct__FsProtoElem # /home/alanr/monitor/src/include/fsprotocol.h: 46
02442 
02443 struct__FsProtoElem.__slots__ = [
02444     'endpoint',
02445     '_qid',
02446     'outq',
02447     'inq',
02448     'parent',
02449 ]
02450 struct__FsProtoElem._fields_ = [
02451     ('endpoint', POINTER(NetAddr)),
02452     ('_qid', guint16),
02453     ('outq', POINTER(FsQueue)),
02454     ('inq', POINTER(FsQueue)),
02455     ('parent', POINTER(FsProtocol)),
02456 ]
02457 
02458 struct__FsProtocol.__slots__ = [
02459     'baseclass',
02460     'io',
02461     'endpoints',
02462     'unacked',
02463     'ipend',
02464     'find',
02465     'findbypkt',
02466     'addconn',
02467     'iready',
02468     'read',
02469     'receive',
02470     'send1',
02471     'send',
02472 ]
02473 struct__FsProtocol._fields_ = [
02474     ('baseclass', AssimObj),
02475     ('io', POINTER(NetIO)),
02476     ('endpoints', POINTER(GHashTable)),
02477     ('unacked', POINTER(GList)),
02478     ('ipend', POINTER(GList)),
02479     ('find', CFUNCTYPE(UNCHECKED(POINTER(FsProtoElem)), POINTER(FsProtocol), guint16, POINTER(NetAddr))),
02480     ('findbypkt', CFUNCTYPE(UNCHECKED(POINTER(FsProtoElem)), POINTER(FsProtocol), POINTER(NetAddr), POINTER(FrameSet))),
02481     ('addconn', CFUNCTYPE(UNCHECKED(POINTER(FsProtoElem)), POINTER(FsProtocol), guint16, POINTER(NetAddr))),
02482     ('iready', CFUNCTYPE(UNCHECKED(gboolean), POINTER(FsProtocol))),
02483     ('read', CFUNCTYPE(UNCHECKED(POINTER(FrameSet)), POINTER(FsProtocol), POINTER(POINTER(NetAddr)))),
02484     ('receive', CFUNCTYPE(UNCHECKED(None), POINTER(FsProtocol), POINTER(NetAddr), POINTER(FrameSet))),
02485     ('send1', CFUNCTYPE(UNCHECKED(gboolean), POINTER(FsProtocol), POINTER(FrameSet), guint16, POINTER(NetAddr))),
02486     ('send', CFUNCTYPE(UNCHECKED(gboolean), POINTER(FsProtocol), POINTER(GSList), guint16, POINTER(NetAddr))),
02487 ]
02488 
02489 # /home/alanr/monitor/src/include/fsprotocol.h: 74
02490 if hasattr(_libs['libassimilationclientlib.so'], 'fsprotocol_new'):
02491     fsprotocol_new = _libs['libassimilationclientlib.so'].fsprotocol_new
02492     fsprotocol_new.argtypes = [guint, POINTER(NetIO)]
02493     fsprotocol_new.restype = POINTER(FsProtocol)
02494 
02495 # /home/alanr/monitor/src/include/generic_tlv_min.h: 27
02496 if hasattr(_libs['libassimilationclientlib.so'], 'get_generic_tlv_type'):
02497     get_generic_tlv_type = _libs['libassimilationclientlib.so'].get_generic_tlv_type
02498     get_generic_tlv_type.argtypes = [gconstpointer, gconstpointer]
02499     get_generic_tlv_type.restype = guint16
02500 
02501 # /home/alanr/monitor/src/include/generic_tlv_min.h: 28
02502 if hasattr(_libs['libassimilationclientlib.so'], 'get_generic_tlv_len'):
02503     get_generic_tlv_len = _libs['libassimilationclientlib.so'].get_generic_tlv_len
02504     get_generic_tlv_len.argtypes = [gconstpointer, gconstpointer]
02505     get_generic_tlv_len.restype = guint16
02506 
02507 # /home/alanr/monitor/src/include/generic_tlv_min.h: 29
02508 if hasattr(_libs['libassimilationclientlib.so'], 'get_generic_tlv_value'):
02509     get_generic_tlv_value = _libs['libassimilationclientlib.so'].get_generic_tlv_value
02510     get_generic_tlv_value.argtypes = [gconstpointer, gconstpointer]
02511     get_generic_tlv_value.restype = gconstpointer
02512 
02513 # /home/alanr/monitor/src/include/generic_tlv_min.h: 30
02514 if hasattr(_libs['libassimilationclientlib.so'], 'get_generic_tlv_nonconst_value'):
02515     get_generic_tlv_nonconst_value = _libs['libassimilationclientlib.so'].get_generic_tlv_nonconst_value
02516     get_generic_tlv_nonconst_value.argtypes = [gpointer, gconstpointer]
02517     get_generic_tlv_nonconst_value.restype = gpointer
02518 
02519 # /home/alanr/monitor/src/include/generic_tlv_min.h: 31
02520 for _lib in _libs.itervalues():
02521     if not hasattr(_lib, 'get_generic_tlv_totalsize'):
02522         continue
02523     get_generic_tlv_totalsize = _lib.get_generic_tlv_totalsize
02524     get_generic_tlv_totalsize.argtypes = [gsize]
02525     get_generic_tlv_totalsize.restype = guint16
02526     break
02527 
02528 # /home/alanr/monitor/src/include/generic_tlv_min.h: 32
02529 if hasattr(_libs['libassimilationclientlib.so'], 'is_valid_generic_tlv_packet'):
02530     is_valid_generic_tlv_packet = _libs['libassimilationclientlib.so'].is_valid_generic_tlv_packet
02531     is_valid_generic_tlv_packet.argtypes = [gconstpointer, gconstpointer]
02532     is_valid_generic_tlv_packet.restype = gboolean
02533 
02534 # /home/alanr/monitor/src/include/generic_tlv_min.h: 33
02535 if hasattr(_libs['libassimilationclientlib.so'], 'get_generic_tlv_first'):
02536     get_generic_tlv_first = _libs['libassimilationclientlib.so'].get_generic_tlv_first
02537     get_generic_tlv_first.argtypes = [gconstpointer, gconstpointer]
02538     get_generic_tlv_first.restype = gconstpointer
02539 
02540 # /home/alanr/monitor/src/include/generic_tlv_min.h: 34
02541 if hasattr(_libs['libassimilationclientlib.so'], 'get_generic_tlv_next'):
02542     get_generic_tlv_next = _libs['libassimilationclientlib.so'].get_generic_tlv_next
02543     get_generic_tlv_next.argtypes = [gconstpointer, gconstpointer]
02544     get_generic_tlv_next.restype = gconstpointer
02545 
02546 # /home/alanr/monitor/src/include/generic_tlv_min.h: 35
02547 if hasattr(_libs['libassimilationclientlib.so'], 'find_next_generic_tlv_type'):
02548     find_next_generic_tlv_type = _libs['libassimilationclientlib.so'].find_next_generic_tlv_type
02549     find_next_generic_tlv_type.argtypes = [gconstpointer, guint16, gconstpointer]
02550     find_next_generic_tlv_type.restype = gconstpointer
02551 
02552 # /home/alanr/monitor/src/include/generic_tlv_min.h: 36
02553 if hasattr(_libs['libassimilationclientlib.so'], 'set_generic_tlv_type'):
02554     set_generic_tlv_type = _libs['libassimilationclientlib.so'].set_generic_tlv_type
02555     set_generic_tlv_type.argtypes = [gpointer, guint16, gconstpointer]
02556     set_generic_tlv_type.restype = None
02557 
02558 # /home/alanr/monitor/src/include/generic_tlv_min.h: 37
02559 if hasattr(_libs['libassimilationclientlib.so'], 'set_generic_tlv_len'):
02560     set_generic_tlv_len = _libs['libassimilationclientlib.so'].set_generic_tlv_len
02561     set_generic_tlv_len.argtypes = [gpointer, guint16, gconstpointer]
02562     set_generic_tlv_len.restype = None
02563 
02564 # /home/alanr/monitor/src/include/generic_tlv_min.h: 38
02565 if hasattr(_libs['libassimilationclientlib.so'], 'set_generic_tlv_value'):
02566     set_generic_tlv_value = _libs['libassimilationclientlib.so'].set_generic_tlv_value
02567     set_generic_tlv_value.argtypes = [gpointer, POINTER(None), guint16, gconstpointer]
02568     set_generic_tlv_value.restype = None
02569 
02570 # /home/alanr/monitor/src/include/hblistener.h: 44
02571 class struct__HbListener(Structure):
02572     pass
02573 
02574 HbListener = struct__HbListener # /home/alanr/monitor/src/include/hblistener.h: 32
02575 
02576 enum_anon_103 = c_int # /home/alanr/monitor/src/include/hblistener.h: 37
02577 
02578 HbPacketsBeingReceived = 1 # /home/alanr/monitor/src/include/hblistener.h: 37
02579 
02580 HbPacketsTimedOut = 2 # /home/alanr/monitor/src/include/hblistener.h: 37
02581 
02582 HbNodeStatus = enum_anon_103 # /home/alanr/monitor/src/include/hblistener.h: 37
02583 
02584 struct__HbListener.__slots__ = [
02585     'baseclass',
02586     'get_deadtime',
02587     'set_deadtime',
02588     'get_warntime',
02589     'set_warntime',
02590     'set_heartbeat_callback',
02591     'set_deadtime_callback',
02592     'set_warntime_callback',
02593     'set_comealive_callback',
02594     '_expected_interval',
02595     '_warn_interval',
02596     'nexttime',
02597     'warntime',
02598     '_refcount',
02599     'listenaddr',
02600     'status',
02601     '_heartbeat_callback',
02602     '_deadtime_callback',
02603     '_warntime_callback',
02604     '_comealive_callback',
02605 ]
02606 struct__HbListener._fields_ = [
02607     ('baseclass', Listener),
02608     ('get_deadtime', CFUNCTYPE(UNCHECKED(guint64), POINTER(HbListener))),
02609     ('set_deadtime', CFUNCTYPE(UNCHECKED(None), POINTER(HbListener), guint64)),
02610     ('get_warntime', CFUNCTYPE(UNCHECKED(guint64), POINTER(HbListener))),
02611     ('set_warntime', CFUNCTYPE(UNCHECKED(None), POINTER(HbListener), guint64)),
02612     ('set_heartbeat_callback', CFUNCTYPE(UNCHECKED(None), POINTER(HbListener), CFUNCTYPE(UNCHECKED(None), POINTER(HbListener)))),
02613     ('set_deadtime_callback', CFUNCTYPE(UNCHECKED(None), POINTER(HbListener), CFUNCTYPE(UNCHECKED(None), POINTER(HbListener)))),
02614     ('set_warntime_callback', CFUNCTYPE(UNCHECKED(None), POINTER(HbListener), CFUNCTYPE(UNCHECKED(None), POINTER(HbListener), guint64))),
02615     ('set_comealive_callback', CFUNCTYPE(UNCHECKED(None), POINTER(HbListener), CFUNCTYPE(UNCHECKED(None), POINTER(HbListener), guint64))),
02616     ('_expected_interval', guint64),
02617     ('_warn_interval', guint64),
02618     ('nexttime', guint64),
02619     ('warntime', guint64),
02620     ('_refcount', c_int),
02621     ('listenaddr', POINTER(NetAddr)),
02622     ('status', HbNodeStatus),
02623     ('_heartbeat_callback', CFUNCTYPE(UNCHECKED(None), POINTER(HbListener))),
02624     ('_deadtime_callback', CFUNCTYPE(UNCHECKED(None), POINTER(HbListener))),
02625     ('_warntime_callback', CFUNCTYPE(UNCHECKED(None), POINTER(HbListener), guint64)),
02626     ('_comealive_callback', CFUNCTYPE(UNCHECKED(None), POINTER(HbListener), guint64)),
02627 ]
02628 
02629 # /home/alanr/monitor/src/include/hblistener.h: 68
02630 if hasattr(_libs['libassimilationclientlib.so'], 'hblistener_new'):
02631     hblistener_new = _libs['libassimilationclientlib.so'].hblistener_new
02632     hblistener_new.argtypes = [POINTER(NetAddr), POINTER(ConfigContext), gsize]
02633     hblistener_new.restype = POINTER(HbListener)
02634 
02635 # /home/alanr/monitor/src/include/hblistener.h: 69
02636 if hasattr(_libs['libassimilationclientlib.so'], 'hblistener_unlisten'):
02637     hblistener_unlisten = _libs['libassimilationclientlib.so'].hblistener_unlisten
02638     hblistener_unlisten.argtypes = [POINTER(NetAddr)]
02639     hblistener_unlisten.restype = None
02640 
02641 # /home/alanr/monitor/src/include/hblistener.h: 70
02642 if hasattr(_libs['libassimilationclientlib.so'], 'hblistener_set_martian_callback'):
02643     hblistener_set_martian_callback = _libs['libassimilationclientlib.so'].hblistener_set_martian_callback
02644     hblistener_set_martian_callback.argtypes = [CFUNCTYPE(UNCHECKED(None), POINTER(NetAddr))]
02645     hblistener_set_martian_callback.restype = None
02646 
02647 # /home/alanr/monitor/src/include/hblistener.h: 71
02648 if hasattr(_libs['libassimilationclientlib.so'], 'hblistener_find_by_address'):
02649     hblistener_find_by_address = _libs['libassimilationclientlib.so'].hblistener_find_by_address
02650     hblistener_find_by_address.argtypes = [POINTER(NetAddr)]
02651     hblistener_find_by_address.restype = POINTER(HbListener)
02652 
02653 # /home/alanr/monitor/src/include/hbsender.h: 39
02654 class struct__HbSender(Structure):
02655     pass
02656 
02657 HbSender = struct__HbSender # /home/alanr/monitor/src/include/hbsender.h: 32
02658 
02659 struct__HbSender.__slots__ = [
02660     'ref',
02661     'unref',
02662     '_finalize',
02663     '_expected_interval',
02664     '_outmethod',
02665     '_sendaddr',
02666     '_refcount',
02667     'timeout_source',
02668 ]
02669 struct__HbSender._fields_ = [
02670     ('ref', CFUNCTYPE(UNCHECKED(None), POINTER(HbSender))),
02671     ('unref', CFUNCTYPE(UNCHECKED(None), POINTER(HbSender))),
02672     ('_finalize', CFUNCTYPE(UNCHECKED(None), POINTER(HbSender))),
02673     ('_expected_interval', guint64),
02674     ('_outmethod', POINTER(NetGSource)),
02675     ('_sendaddr', POINTER(NetAddr)),
02676     ('_refcount', c_int),
02677     ('timeout_source', guint),
02678 ]
02679 
02680 # /home/alanr/monitor/src/include/hbsender.h: 51
02681 if hasattr(_libs['libassimilationclientlib.so'], 'hbsender_new'):
02682     hbsender_new = _libs['libassimilationclientlib.so'].hbsender_new
02683     hbsender_new.argtypes = [POINTER(NetAddr), POINTER(NetGSource), guint, gsize]
02684     hbsender_new.restype = POINTER(HbSender)
02685 
02686 # /home/alanr/monitor/src/include/hbsender.h: 52
02687 if hasattr(_libs['libassimilationclientlib.so'], 'hbsender_stopsend'):
02688     hbsender_stopsend = _libs['libassimilationclientlib.so'].hbsender_stopsend
02689     hbsender_stopsend.argtypes = [POINTER(NetAddr)]
02690     hbsender_stopsend.restype = None
02691 
02692 # /home/alanr/monitor/src/include/hbsender.h: 53
02693 if hasattr(_libs['libassimilationclientlib.so'], 'hbsender_stopallsenders'):
02694     hbsender_stopallsenders = _libs['libassimilationclientlib.so'].hbsender_stopallsenders
02695     hbsender_stopallsenders.argtypes = []
02696     hbsender_stopallsenders.restype = None
02697 
02698 # /home/alanr/monitor/src/include/intframe.h: 39
02699 class struct__IntFrame(Structure):
02700     pass
02701 
02702 IntFrame = struct__IntFrame # /home/alanr/monitor/src/include/intframe.h: 35
02703 
02704 struct__IntFrame.__slots__ = [
02705     'baseclass',
02706     'intlength',
02707     'getint',
02708     'setint',
02709     '_value',
02710 ]
02711 struct__IntFrame._fields_ = [
02712     ('baseclass', Frame),
02713     ('intlength', CFUNCTYPE(UNCHECKED(c_int), POINTER(IntFrame))),
02714     ('getint', CFUNCTYPE(UNCHECKED(guint64), POINTER(IntFrame))),
02715     ('setint', CFUNCTYPE(UNCHECKED(None), POINTER(IntFrame), guint64)),
02716     ('_value', guint64),
02717 ]
02718 
02719 # /home/alanr/monitor/src/include/intframe.h: 47
02720 if hasattr(_libs['libassimilationclientlib.so'], 'intframe_new'):
02721     intframe_new = _libs['libassimilationclientlib.so'].intframe_new
02722     intframe_new.argtypes = [guint16, c_int]
02723     intframe_new.restype = POINTER(IntFrame)
02724 
02725 # /home/alanr/monitor/src/include/intframe.h: 48
02726 if hasattr(_libs['libassimilationclientlib.so'], 'intframe_tlvconstructor'):
02727     intframe_tlvconstructor = _libs['libassimilationclientlib.so'].intframe_tlvconstructor
02728     intframe_tlvconstructor.argtypes = [gconstpointer, gconstpointer]
02729     intframe_tlvconstructor.restype = POINTER(Frame)
02730 
02731 # /home/alanr/monitor/src/include/ipportframe.h: 40
02732 class struct__IpPortFrame(Structure):
02733     pass
02734 
02735 IpPortFrame = struct__IpPortFrame # /home/alanr/monitor/src/include/ipportframe.h: 32
02736 
02737 struct__IpPortFrame.__slots__ = [
02738     'baseclass',
02739     '_addr',
02740     'port',
02741     '_basefinal',
02742     'getnetaddr',
02743 ]
02744 struct__IpPortFrame._fields_ = [
02745     ('baseclass', Frame),
02746     ('_addr', POINTER(NetAddr)),
02747     ('port', guint16),
02748     ('_basefinal', CFUNCTYPE(UNCHECKED(None), POINTER(AssimObj))),
02749     ('getnetaddr', CFUNCTYPE(UNCHECKED(POINTER(NetAddr)), POINTER(IpPortFrame))),
02750 ]
02751 
02752 # /home/alanr/monitor/src/include/ipportframe.h: 48
02753 if hasattr(_libs['libassimilationclientlib.so'], 'ipportframe_netaddr_new'):
02754     ipportframe_netaddr_new = _libs['libassimilationclientlib.so'].ipportframe_netaddr_new
02755     ipportframe_netaddr_new.argtypes = [guint16, POINTER(NetAddr)]
02756     ipportframe_netaddr_new.restype = POINTER(IpPortFrame)
02757 
02758 # /home/alanr/monitor/src/include/ipportframe.h: 49
02759 if hasattr(_libs['libassimilationclientlib.so'], 'ipportframe_ipv4_new'):
02760     ipportframe_ipv4_new = _libs['libassimilationclientlib.so'].ipportframe_ipv4_new
02761     ipportframe_ipv4_new.argtypes = [guint16, guint16, gconstpointer]
02762     ipportframe_ipv4_new.restype = POINTER(IpPortFrame)
02763 
02764 # /home/alanr/monitor/src/include/ipportframe.h: 50
02765 if hasattr(_libs['libassimilationclientlib.so'], 'ipportframe_ipv6_new'):
02766     ipportframe_ipv6_new = _libs['libassimilationclientlib.so'].ipportframe_ipv6_new
02767     ipportframe_ipv6_new.argtypes = [guint16, guint16, gconstpointer]
02768     ipportframe_ipv6_new.restype = POINTER(IpPortFrame)
02769 
02770 # /home/alanr/monitor/src/include/ipportframe.h: 51
02771 if hasattr(_libs['libassimilationclientlib.so'], 'ipportframe_tlvconstructor'):
02772     ipportframe_tlvconstructor = _libs['libassimilationclientlib.so'].ipportframe_tlvconstructor
02773     ipportframe_tlvconstructor.argtypes = [gconstpointer, gconstpointer]
02774     ipportframe_tlvconstructor.restype = POINTER(Frame)
02775 
02776 # /home/alanr/monitor/src/include/jsondiscovery.h: 36
02777 class struct__JsonDiscovery(Structure):
02778     pass
02779 
02780 JsonDiscovery = struct__JsonDiscovery # /home/alanr/monitor/src/include/jsondiscovery.h: 34
02781 
02782 struct__JsonDiscovery.__slots__ = [
02783     'baseclass',
02784     'instancename',
02785     '_fullpath',
02786     '_tmpfilename',
02787     '_child_pid',
02788     '_sourceid',
02789     '_intervalsecs',
02790     'jsonparams',
02791     'fullpath',
02792 ]
02793 struct__JsonDiscovery._fields_ = [
02794     ('baseclass', Discovery),
02795     ('instancename', String),
02796     ('_fullpath', String),
02797     ('_tmpfilename', String),
02798     ('_child_pid', GPid),
02799     ('_sourceid', guint),
02800     ('_intervalsecs', guint),
02801     ('jsonparams', POINTER(ConfigContext)),
02802     ('fullpath', CFUNCTYPE(UNCHECKED(String), POINTER(JsonDiscovery))),
02803 ]
02804 
02805 # /home/alanr/monitor/src/include/jsondiscovery.h: 47
02806 if hasattr(_libs['libassimilationclientlib.so'], 'jsondiscovery_new'):
02807     jsondiscovery_new = _libs['libassimilationclientlib.so'].jsondiscovery_new
02808     jsondiscovery_new.argtypes = [String, String, c_int, POINTER(ConfigContext), POINTER(NetGSource), POINTER(ConfigContext), gsize]
02809     jsondiscovery_new.restype = POINTER(JsonDiscovery)
02810 
02811 # /home/alanr/monitor/src/include/lldp.h: 121
02812 for _lib in _libs.itervalues():
02813     if not hasattr(_lib, 'get_lldp_chassis_id_type'):
02814         continue
02815     get_lldp_chassis_id_type = _lib.get_lldp_chassis_id_type
02816     get_lldp_chassis_id_type.argtypes = [gconstpointer, gconstpointer]
02817     get_lldp_chassis_id_type.restype = c_uint
02818     break
02819 
02820 # /home/alanr/monitor/src/include/lldp.h: 122
02821 if hasattr(_libs['libassimilationclientlib.so'], 'get_lldp_chassis_id'):
02822     get_lldp_chassis_id = _libs['libassimilationclientlib.so'].get_lldp_chassis_id
02823     get_lldp_chassis_id.argtypes = [gconstpointer, POINTER(gssize), gconstpointer]
02824     get_lldp_chassis_id.restype = gconstpointer
02825 
02826 # /home/alanr/monitor/src/include/lldp.h: 123
02827 if hasattr(_libs['libassimilationclientlib.so'], 'get_lldp_port_id'):
02828     get_lldp_port_id = _libs['libassimilationclientlib.so'].get_lldp_port_id
02829     get_lldp_port_id.argtypes = [gconstpointer, POINTER(gssize), gconstpointer]
02830     get_lldp_port_id.restype = gconstpointer
02831 
02832 # /home/alanr/monitor/src/include/lldp.h: 124
02833 for _lib in _libs.itervalues():
02834     if not hasattr(_lib, 'get_lldp_port_id_type'):
02835         continue
02836     get_lldp_port_id_type = _lib.get_lldp_port_id_type
02837     get_lldp_port_id_type.argtypes = [gconstpointer, gconstpointer]
02838     get_lldp_port_id_type.restype = c_uint
02839     break
02840 
02841 # /home/alanr/monitor/src/include/lldp.h: 126
02842 if hasattr(_libs['libassimilationclientlib.so'], 'get_lldptlv_type'):
02843     get_lldptlv_type = _libs['libassimilationclientlib.so'].get_lldptlv_type
02844     get_lldptlv_type.argtypes = [gconstpointer, gconstpointer]
02845     get_lldptlv_type.restype = guint8
02846 
02847 # /home/alanr/monitor/src/include/lldp.h: 127
02848 if hasattr(_libs['libassimilationclientlib.so'], 'get_lldptlv_len'):
02849     get_lldptlv_len = _libs['libassimilationclientlib.so'].get_lldptlv_len
02850     get_lldptlv_len.argtypes = [gconstpointer, gconstpointer]
02851     get_lldptlv_len.restype = gsize
02852 
02853 # /home/alanr/monitor/src/include/lldp.h: 128
02854 if hasattr(_libs['libassimilationclientlib.so'], 'get_lldptlv_first'):
02855     get_lldptlv_first = _libs['libassimilationclientlib.so'].get_lldptlv_first
02856     get_lldptlv_first.argtypes = [gconstpointer, gconstpointer]
02857     get_lldptlv_first.restype = gconstpointer
02858 
02859 # /home/alanr/monitor/src/include/lldp.h: 129
02860 if hasattr(_libs['libassimilationclientlib.so'], 'get_lldptlv_next'):
02861     get_lldptlv_next = _libs['libassimilationclientlib.so'].get_lldptlv_next
02862     get_lldptlv_next.argtypes = [gconstpointer, gconstpointer]
02863     get_lldptlv_next.restype = gconstpointer
02864 
02865 # /home/alanr/monitor/src/include/lldp.h: 130
02866 if hasattr(_libs['libassimilationclientlib.so'], 'get_lldptlv_body'):
02867     get_lldptlv_body = _libs['libassimilationclientlib.so'].get_lldptlv_body
02868     get_lldptlv_body.argtypes = [gconstpointer, gconstpointer]
02869     get_lldptlv_body.restype = gconstpointer
02870 
02871 # /home/alanr/monitor/src/include/lldp.h: 131
02872 if hasattr(_libs['libassimilationclientlib.so'], 'find_next_lldptlv_type'):
02873     find_next_lldptlv_type = _libs['libassimilationclientlib.so'].find_next_lldptlv_type
02874     find_next_lldptlv_type.argtypes = [gconstpointer, c_uint, gconstpointer]
02875     find_next_lldptlv_type.restype = gconstpointer
02876 
02877 # /home/alanr/monitor/src/include/lldp.h: 132
02878 if hasattr(_libs['libassimilationclientlib.so'], 'is_valid_lldp_packet'):
02879     is_valid_lldp_packet = _libs['libassimilationclientlib.so'].is_valid_lldp_packet
02880     is_valid_lldp_packet.argtypes = [gconstpointer, gconstpointer]
02881     is_valid_lldp_packet.restype = gboolean
02882 
02883 # /home/alanr/monitor/src/include/lldp.h: 133
02884 for _lib in _libs.itervalues():
02885     if not hasattr(_lib, 'enable_lldp_packets'):
02886         continue
02887     enable_lldp_packets = _lib.enable_lldp_packets
02888     enable_lldp_packets.argtypes = [gboolean]
02889     enable_lldp_packets.restype = gboolean
02890     break
02891 
02892 # /home/alanr/monitor/src/include/misc.h: 27
02893 if hasattr(_libs['libassimilationclientlib.so'], 'daemonize_me'):
02894     daemonize_me = _libs['libassimilationclientlib.so'].daemonize_me
02895     daemonize_me.argtypes = [gboolean, String]
02896     daemonize_me.restype = None
02897 
02898 # /home/alanr/monitor/src/include/nanoprobe.h: 32
02899 class struct__NanoHbStats(Structure):
02900     pass
02901 
02902 NanoHbStats = struct__NanoHbStats # /home/alanr/monitor/src/include/nanoprobe.h: 31
02903 
02904 struct__NanoHbStats.__slots__ = [
02905     'heartbeat_count',
02906     'dead_count',
02907     'warntime_count',
02908     'comealive_count',
02909     'martian_count',
02910 ]
02911 struct__NanoHbStats._fields_ = [
02912     ('heartbeat_count', guint64),
02913     ('dead_count', guint),
02914     ('warntime_count', guint),
02915     ('comealive_count', guint),
02916     ('martian_count', guint),
02917 ]
02918 
02919 # /home/alanr/monitor/src/include/nanoprobe.h: 39
02920 try:
02921     nano_hbstats = (NanoHbStats).in_dll(_libs['libassimilationclientlib.so'], 'nano_hbstats')
02922 except:
02923     pass
02924 
02925 # /home/alanr/monitor/src/include/nanoprobe.h: 41
02926 if hasattr(_libs['libassimilationclientlib.so'], 'nano_start_full'):
02927     nano_start_full = _libs['libassimilationclientlib.so'].nano_start_full
02928     nano_start_full.argtypes = [String, guint, POINTER(NetGSource), POINTER(ConfigContext)]
02929     nano_start_full.restype = None
02930 
02931 # /home/alanr/monitor/src/include/nanoprobe.h: 43
02932 if hasattr(_libs['libassimilationclientlib.so'], 'nano_shutdown'):
02933     nano_shutdown = _libs['libassimilationclientlib.so'].nano_shutdown
02934     nano_shutdown.argtypes = [gboolean]
02935     nano_shutdown.restype = None
02936 
02937 # /home/alanr/monitor/src/include/nanoprobe.h: 44
02938 if hasattr(_libs['libassimilationclientlib.so'], 'nano_packet_decoder'):
02939     nano_packet_decoder = _libs['libassimilationclientlib.so'].nano_packet_decoder
02940     nano_packet_decoder.argtypes = []
02941     nano_packet_decoder.restype = POINTER(PacketDecoder)
02942 
02943 # /home/alanr/monitor/src/include/nanoprobe.h: 45
02944 if hasattr(_libs['libassimilationclientlib.so'], 'nanoprobe_report_upstream'):
02945     nanoprobe_report_upstream = _libs['libassimilationclientlib.so'].nanoprobe_report_upstream
02946     nanoprobe_report_upstream.argtypes = [guint16, POINTER(NetAddr), String, guint64]
02947     nanoprobe_report_upstream.restype = None
02948 
02949 # /home/alanr/monitor/src/include/nanoprobe.h: 48
02950 try:
02951     nanoprobe_deadtime_agent = (POINTER(CFUNCTYPE(UNCHECKED(None), POINTER(HbListener)))).in_dll(_libs['libassimilationclientlib.so'], 'nanoprobe_deadtime_agent')
02952 except:
02953     pass
02954 
02955 # /home/alanr/monitor/src/include/nanoprobe.h: 50
02956 try:
02957     nanoprobe_heartbeat_agent = (POINTER(CFUNCTYPE(UNCHECKED(None), POINTER(HbListener)))).in_dll(_libs['libassimilationclientlib.so'], 'nanoprobe_heartbeat_agent')
02958 except:
02959     pass
02960 
02961 # /home/alanr/monitor/src/include/nanoprobe.h: 52
02962 try:
02963     nanoprobe_warntime_agent = (POINTER(CFUNCTYPE(UNCHECKED(None), POINTER(HbListener), guint64))).in_dll(_libs['libassimilationclientlib.so'], 'nanoprobe_warntime_agent')
02964 except:
02965     pass
02966 
02967 # /home/alanr/monitor/src/include/nanoprobe.h: 54
02968 try:
02969     nanoprobe_comealive_agent = (POINTER(CFUNCTYPE(UNCHECKED(None), POINTER(HbListener), guint64))).in_dll(_libs['libassimilationclientlib.so'], 'nanoprobe_comealive_agent')
02970 except:
02971     pass
02972 
02973 # /home/alanr/monitor/src/include/nanoprobe.h: 56
02974 try:
02975     nanoprobe_hblistener_new = (POINTER(CFUNCTYPE(UNCHECKED(POINTER(HbListener)), POINTER(NetAddr), POINTER(ConfigContext)))).in_dll(_libs['libassimilationclientlib.so'], 'nanoprobe_hblistener_new')
02976 except:
02977     pass
02978 
02979 # /home/alanr/monitor/src/include/netioudp.h: 39
02980 class struct__NetIOudp(Structure):
02981     pass
02982 
02983 NetIOudp = struct__NetIOudp # /home/alanr/monitor/src/include/netioudp.h: 34
02984 
02985 struct__NetIOudp.__slots__ = [
02986     'baseclass',
02987     '_finalize',
02988 ]
02989 struct__NetIOudp._fields_ = [
02990     ('baseclass', NetIO),
02991     ('_finalize', GDestroyNotify),
02992 ]
02993 
02994 # /home/alanr/monitor/src/include/netioudp.h: 43
02995 if hasattr(_libs['libassimilationclientlib.so'], 'netioudp_new'):
02996     netioudp_new = _libs['libassimilationclientlib.so'].netioudp_new
02997     netioudp_new.argtypes = [gsize, POINTER(ConfigContext), POINTER(PacketDecoder)]
02998     netioudp_new.restype = POINTER(NetIOudp)
02999 
03000 # /home/alanr/monitor/src/include/nvpairframe.h: 33
03001 class struct__NVpairFrame(Structure):
03002     pass
03003 
03004 NVpairFrame = struct__NVpairFrame # /home/alanr/monitor/src/include/nvpairframe.h: 30
03005 
03006 struct__NVpairFrame.__slots__ = [
03007     'baseclass',
03008     'name',
03009     'value',
03010 ]
03011 struct__NVpairFrame._fields_ = [
03012     ('baseclass', Frame),
03013     ('name', POINTER(gchar)),
03014     ('value', POINTER(gchar)),
03015 ]
03016 
03017 # /home/alanr/monitor/src/include/nvpairframe.h: 39
03018 if hasattr(_libs['libassimilationclientlib.so'], 'nvpairframe_new'):
03019     nvpairframe_new = _libs['libassimilationclientlib.so'].nvpairframe_new
03020     nvpairframe_new.argtypes = [guint16, POINTER(gchar), POINTER(gchar), gsize]
03021     nvpairframe_new.restype = POINTER(NVpairFrame)
03022 
03023 # /home/alanr/monitor/src/include/nvpairframe.h: 40
03024 if hasattr(_libs['libassimilationclientlib.so'], 'nvpairframe_tlvconstructor'):
03025     nvpairframe_tlvconstructor = _libs['libassimilationclientlib.so'].nvpairframe_tlvconstructor
03026     nvpairframe_tlvconstructor.argtypes = [gconstpointer, gconstpointer]
03027     nvpairframe_tlvconstructor.restype = POINTER(Frame)
03028 
03029 bpf_u_int32 = u_int # /usr/include/pcap/bpf.h: 68
03030 
03031 # /usr/include/pcap/bpf.h: 1042
03032 class struct_bpf_insn(Structure):
03033     pass
03034 
03035 # /usr/include/pcap/bpf.h: 88
03036 class struct_bpf_program(Structure):
03037     pass
03038 
03039 struct_bpf_program.__slots__ = [
03040     'bf_len',
03041     'bf_insns',
03042 ]
03043 struct_bpf_program._fields_ = [
03044     ('bf_len', u_int),
03045     ('bf_insns', POINTER(struct_bpf_insn)),
03046 ]
03047 
03048 struct_bpf_insn.__slots__ = [
03049     'code',
03050     'jt',
03051     'jf',
03052     'k',
03053 ]
03054 struct_bpf_insn._fields_ = [
03055     ('code', u_short),
03056     ('jt', u_char),
03057     ('jf', u_char),
03058     ('k', bpf_u_int32),
03059 ]
03060 
03061 # /usr/include/pcap/pcap.h: 81
03062 class struct_pcap(Structure):
03063     pass
03064 
03065 pcap_t = struct_pcap # /usr/include/pcap/pcap.h: 81
03066 
03067 # /usr/include/pcap/pcap.h: 161
03068 class struct_pcap_pkthdr(Structure):
03069     pass
03070 
03071 struct_pcap_pkthdr.__slots__ = [
03072     'ts',
03073     'caplen',
03074     'len',
03075 ]
03076 struct_pcap_pkthdr._fields_ = [
03077     ('ts', struct_timeval),
03078     ('caplen', bpf_u_int32),
03079     ('len', bpf_u_int32),
03080 ]
03081 
03082 # ../include/pcap_min.h: 44
03083 if hasattr(_libs['libassimilationclientlib.so'], 'create_pcap_listener'):
03084     create_pcap_listener = _libs['libassimilationclientlib.so'].create_pcap_listener
03085     create_pcap_listener.argtypes = [String, gboolean, c_uint, POINTER(struct_bpf_program)]
03086     create_pcap_listener.restype = POINTER(pcap_t)
03087 
03088 # ../include/pcap_min.h: 45
03089 if hasattr(_libs['libassimilationclientlib.so'], 'close_pcap_listener'):
03090     close_pcap_listener = _libs['libassimilationclientlib.so'].close_pcap_listener
03091     close_pcap_listener.argtypes = [POINTER(pcap_t), String, c_uint]
03092     close_pcap_listener.restype = None
03093 
03094 # /home/alanr/monitor/src/include/pcap_GSource.h: 38
03095 class struct__GSource_pcap(Structure):
03096     pass
03097 
03098 GSource_pcap_t = struct__GSource_pcap # /home/alanr/monitor/src/include/pcap_GSource.h: 33
03099 
03100 struct__GSource_pcap.__slots__ = [
03101     'gs',
03102     'gfd',
03103     'capture',
03104     'pcprog',
03105     'capturefd',
03106     'capturedev',
03107     'listenmask',
03108     'gsourceid',
03109     'userdata',
03110     'dispatch',
03111     'destroynote',
03112 ]
03113 struct__GSource_pcap._fields_ = [
03114     ('gs', GSource),
03115     ('gfd', GPollFD),
03116     ('capture', POINTER(pcap_t)),
03117     ('pcprog', struct_bpf_program),
03118     ('capturefd', c_int),
03119     ('capturedev', String),
03120     ('listenmask', c_uint),
03121     ('gsourceid', gint),
03122     ('userdata', gpointer),
03123     ('dispatch', CFUNCTYPE(UNCHECKED(gboolean), POINTER(GSource_pcap_t), POINTER(pcap_t), gconstpointer, gconstpointer, POINTER(struct_pcap_pkthdr), String, gpointer)),
03124     ('destroynote', GDestroyNotify),
03125 ]
03126 
03127 # /home/alanr/monitor/src/include/pcap_GSource.h: 60
03128 if hasattr(_libs['libassimilationclientlib.so'], 'g_source_pcap_new'):
03129     g_source_pcap_new = _libs['libassimilationclientlib.so'].g_source_pcap_new
03130     g_source_pcap_new.argtypes = [String, c_uint, CFUNCTYPE(UNCHECKED(gboolean), POINTER(GSource_pcap_t), POINTER(pcap_t), gconstpointer, gconstpointer, POINTER(struct_pcap_pkthdr), String, gpointer), GDestroyNotify, gint, gboolean, POINTER(GMainContext), gsize, gpointer]
03131     g_source_pcap_new.restype = POINTER(GSource)
03132 
03133 # /home/alanr/monitor/src/include/pcap_GSource.h: 78
03134 if hasattr(_libs['libassimilationclientlib.so'], 'g_source_pcap_finalize'):
03135     g_source_pcap_finalize = _libs['libassimilationclientlib.so'].g_source_pcap_finalize
03136     g_source_pcap_finalize.argtypes = [POINTER(GSource)]
03137     g_source_pcap_finalize.restype = None
03138 
03139 # /home/alanr/monitor/src/include/pcap_GSource.h: 79
03140 if hasattr(_libs['libassimilationclientlib.so'], 'construct_pcap_frameset'):
03141     construct_pcap_frameset = _libs['libassimilationclientlib.so'].construct_pcap_frameset
03142     construct_pcap_frameset.argtypes = [guint16, gconstpointer, gconstpointer, POINTER(struct_pcap_pkthdr), String]
03143     construct_pcap_frameset.restype = POINTER(FrameSet)
03144 
03145 # /home/alanr/monitor/src/include/pcap_min.h: 44
03146 if hasattr(_libs['libassimilationclientlib.so'], 'create_pcap_listener'):
03147     create_pcap_listener = _libs['libassimilationclientlib.so'].create_pcap_listener
03148     create_pcap_listener.argtypes = [String, gboolean, c_uint, POINTER(struct_bpf_program)]
03149     create_pcap_listener.restype = POINTER(pcap_t)
03150 
03151 # /home/alanr/monitor/src/include/pcap_min.h: 45
03152 if hasattr(_libs['libassimilationclientlib.so'], 'close_pcap_listener'):
03153     close_pcap_listener = _libs['libassimilationclientlib.so'].close_pcap_listener
03154     close_pcap_listener.argtypes = [POINTER(pcap_t), String, c_uint]
03155     close_pcap_listener.restype = None
03156 
03157 # /home/alanr/monitor/src/include/proj_classes.h: 27
03158 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_new'):
03159     proj_class_new = _libs['libassimilationclientlib.so'].proj_class_new
03160     proj_class_new.argtypes = [gsize, String]
03161     proj_class_new.restype = gpointer
03162 
03163 # /home/alanr/monitor/src/include/proj_classes.h: 28
03164 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_dissociate'):
03165     proj_class_dissociate = _libs['libassimilationclientlib.so'].proj_class_dissociate
03166     proj_class_dissociate.argtypes = [gpointer]
03167     proj_class_dissociate.restype = None
03168 
03169 # /home/alanr/monitor/src/include/proj_classes.h: 29
03170 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_free'):
03171     proj_class_free = _libs['libassimilationclientlib.so'].proj_class_free
03172     proj_class_free.argtypes = [gpointer]
03173     proj_class_free.restype = None
03174 
03175 # /home/alanr/monitor/src/include/proj_classes.h: 30
03176 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_register_object'):
03177     proj_class_register_object = _libs['libassimilationclientlib.so'].proj_class_register_object
03178     proj_class_register_object.argtypes = [gpointer, String]
03179     proj_class_register_object.restype = None
03180 
03181 # /home/alanr/monitor/src/include/proj_classes.h: 31
03182 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_is_a'):
03183     proj_class_is_a = _libs['libassimilationclientlib.so'].proj_class_is_a
03184     proj_class_is_a.argtypes = [gconstpointer, String]
03185     proj_class_is_a.restype = gboolean
03186 
03187 # /home/alanr/monitor/src/include/proj_classes.h: 32
03188 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_castas'):
03189     proj_class_castas = _libs['libassimilationclientlib.so'].proj_class_castas
03190     proj_class_castas.argtypes = [gpointer, String]
03191     proj_class_castas.restype = gpointer
03192 
03193 # /home/alanr/monitor/src/include/proj_classes.h: 33
03194 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_castasconst'):
03195     proj_class_castasconst = _libs['libassimilationclientlib.so'].proj_class_castasconst
03196     proj_class_castasconst.argtypes = [gconstpointer, String]
03197     proj_class_castasconst.restype = gconstpointer
03198 
03199 # /home/alanr/monitor/src/include/proj_classes.h: 34
03200 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_register_subclassed'):
03201     proj_class_register_subclassed = _libs['libassimilationclientlib.so'].proj_class_register_subclassed
03202     proj_class_register_subclassed.argtypes = [gpointer, String]
03203     proj_class_register_subclassed.restype = gpointer
03204 
03205 # /home/alanr/monitor/src/include/proj_classes.h: 35
03206 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_quark_add_superclass_relationship'):
03207     proj_class_quark_add_superclass_relationship = _libs['libassimilationclientlib.so'].proj_class_quark_add_superclass_relationship
03208     proj_class_quark_add_superclass_relationship.argtypes = [GQuark, GQuark]
03209     proj_class_quark_add_superclass_relationship.restype = None
03210 
03211 # /home/alanr/monitor/src/include/proj_classes.h: 36
03212 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_quark_is_a'):
03213     proj_class_quark_is_a = _libs['libassimilationclientlib.so'].proj_class_quark_is_a
03214     proj_class_quark_is_a.argtypes = [GQuark, GQuark]
03215     proj_class_quark_is_a.restype = gboolean
03216 
03217 # /home/alanr/monitor/src/include/proj_classes.h: 37
03218 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_classname'):
03219     proj_class_classname = _libs['libassimilationclientlib.so'].proj_class_classname
03220     proj_class_classname.argtypes = [gconstpointer]
03221     if sizeof(c_int) == sizeof(c_void_p):
03222         proj_class_classname.restype = ReturnString
03223     else:
03224         proj_class_classname.restype = String
03225         proj_class_classname.errcheck = ReturnString
03226 
03227 # /home/alanr/monitor/src/include/proj_classes.h: 38
03228 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_register_debug_counter'):
03229     proj_class_register_debug_counter = _libs['libassimilationclientlib.so'].proj_class_register_debug_counter
03230     proj_class_register_debug_counter.argtypes = [String, POINTER(guint)]
03231     proj_class_register_debug_counter.restype = None
03232 
03233 # /home/alanr/monitor/src/include/proj_classes.h: 39
03234 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_incr_debug'):
03235     proj_class_incr_debug = _libs['libassimilationclientlib.so'].proj_class_incr_debug
03236     proj_class_incr_debug.argtypes = [String]
03237     proj_class_incr_debug.restype = None
03238 
03239 # /home/alanr/monitor/src/include/proj_classes.h: 40
03240 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_decr_debug'):
03241     proj_class_decr_debug = _libs['libassimilationclientlib.so'].proj_class_decr_debug
03242     proj_class_decr_debug.argtypes = [String]
03243     proj_class_decr_debug.restype = None
03244 
03245 # /home/alanr/monitor/src/include/proj_classes.h: 42
03246 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_dump_live_objects'):
03247     proj_class_dump_live_objects = _libs['libassimilationclientlib.so'].proj_class_dump_live_objects
03248     proj_class_dump_live_objects.argtypes = []
03249     proj_class_dump_live_objects.restype = None
03250 
03251 # /home/alanr/monitor/src/include/proj_classes.h: 43
03252 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_live_object_count'):
03253     proj_class_live_object_count = _libs['libassimilationclientlib.so'].proj_class_live_object_count
03254     proj_class_live_object_count.argtypes = []
03255     proj_class_live_object_count.restype = guint32
03256 
03257 # /home/alanr/monitor/src/include/proj_classes.h: 44
03258 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_max_object_count'):
03259     proj_class_max_object_count = _libs['libassimilationclientlib.so'].proj_class_max_object_count
03260     proj_class_max_object_count.argtypes = []
03261     proj_class_max_object_count.restype = guint32
03262 
03263 # /home/alanr/monitor/src/include/proj_classes.h: 45
03264 if hasattr(_libs['libassimilationclientlib.so'], 'proj_class_finalize_sys'):
03265     proj_class_finalize_sys = _libs['libassimilationclientlib.so'].proj_class_finalize_sys
03266     proj_class_finalize_sys.argtypes = []
03267     proj_class_finalize_sys.restype = None
03268 
03269 # /home/alanr/monitor/src/include/server_dump.h: 22
03270 for _lib in _libs.itervalues():
03271     if not hasattr(_lib, 'dump_cdp_packet'):
03272         continue
03273     dump_cdp_packet = _lib.dump_cdp_packet
03274     dump_cdp_packet.argtypes = [POINTER(None), POINTER(None)]
03275     dump_cdp_packet.restype = None
03276     break
03277 
03278 # /home/alanr/monitor/src/include/server_dump.h: 23
03279 for _lib in _libs.itervalues():
03280     if not hasattr(_lib, 'dump_lldp_packet'):
03281         continue
03282     dump_lldp_packet = _lib.dump_lldp_packet
03283     dump_lldp_packet.argtypes = [POINTER(None), POINTER(None)]
03284     dump_lldp_packet.restype = None
03285     break
03286 
03287 # /home/alanr/monitor/src/include/server_dump.h: 24
03288 for _lib in _libs.itervalues():
03289     if not hasattr(_lib, 'is_all_ascii'):
03290         continue
03291     is_all_ascii = _lib.is_all_ascii
03292     is_all_ascii.argtypes = [POINTER(None), POINTER(None)]
03293     is_all_ascii.restype = gboolean
03294     break
03295 
03296 # /home/alanr/monitor/src/include/server_dump.h: 25
03297 for _lib in _libs.itervalues():
03298     if not hasattr(_lib, 'dump_mem'):
03299         continue
03300     dump_mem = _lib.dump_mem
03301     dump_mem.argtypes = [POINTER(None), POINTER(None)]
03302     dump_mem.restype = None
03303     break
03304 
03305 # /home/alanr/monitor/src/include/switchdiscovery.h: 34
03306 class struct__SwitchDiscovery(Structure):
03307     pass
03308 
03309 SwitchDiscovery = struct__SwitchDiscovery # /home/alanr/monitor/src/include/switchdiscovery.h: 32
03310 
03311 struct__SwitchDiscovery.__slots__ = [
03312     'baseclass',
03313     'source',
03314     'finalize',
03315     'switchid',
03316     'switchidlen',
03317     'portid',
03318     'portidlen',
03319 ]
03320 struct__SwitchDiscovery._fields_ = [
03321     ('baseclass', Discovery),
03322     ('source', POINTER(GSource)),
03323     ('finalize', CFUNCTYPE(UNCHECKED(None), POINTER(AssimObj))),
03324     ('switchid', gpointer),
03325     ('switchidlen', gssize),
03326     ('portid', gpointer),
03327     ('portidlen', gssize),
03328 ]
03329 
03330 # /home/alanr/monitor/src/include/switchdiscovery.h: 44
03331 if hasattr(_libs['libassimilationclientlib.so'], 'switchdiscovery_new'):
03332     switchdiscovery_new = _libs['libassimilationclientlib.so'].switchdiscovery_new
03333     switchdiscovery_new.argtypes = [String, String, guint, gint, POINTER(GMainContext), POINTER(NetGSource), POINTER(ConfigContext), gsize]
03334     switchdiscovery_new.restype = POINTER(SwitchDiscovery)
03335 
03336 # /home/alanr/monitor/src/include/tlvhelper.h: 27
03337 if hasattr(_libs['libassimilationclientlib.so'], 'tlv_get_guint8'):
03338     tlv_get_guint8 = _libs['libassimilationclientlib.so'].tlv_get_guint8
03339     tlv_get_guint8.argtypes = [POINTER(None), POINTER(None)]
03340     tlv_get_guint8.restype = guint8
03341 
03342 # /home/alanr/monitor/src/include/tlvhelper.h: 28
03343 if hasattr(_libs['libassimilationclientlib.so'], 'tlv_get_guint16'):
03344     tlv_get_guint16 = _libs['libassimilationclientlib.so'].tlv_get_guint16
03345     tlv_get_guint16.argtypes = [POINTER(None), POINTER(None)]
03346     tlv_get_guint16.restype = guint16
03347 
03348 # /home/alanr/monitor/src/include/tlvhelper.h: 29
03349 if hasattr(_libs['libassimilationclientlib.so'], 'tlv_get_guint24'):
03350     tlv_get_guint24 = _libs['libassimilationclientlib.so'].tlv_get_guint24
03351     tlv_get_guint24.argtypes = [POINTER(None), POINTER(None)]
03352     tlv_get_guint24.restype = guint32
03353 
03354 # /home/alanr/monitor/src/include/tlvhelper.h: 30
03355 if hasattr(_libs['libassimilationclientlib.so'], 'tlv_get_guint32'):
03356     tlv_get_guint32 = _libs['libassimilationclientlib.so'].tlv_get_guint32
03357     tlv_get_guint32.argtypes = [POINTER(None), POINTER(None)]
03358     tlv_get_guint32.restype = guint32
03359 
03360 # /home/alanr/monitor/src/include/tlvhelper.h: 31
03361 if hasattr(_libs['libassimilationclientlib.so'], 'tlv_get_guint64'):
03362     tlv_get_guint64 = _libs['libassimilationclientlib.so'].tlv_get_guint64
03363     tlv_get_guint64.argtypes = [POINTER(None), POINTER(None)]
03364     tlv_get_guint64.restype = guint64
03365 
03366 # /home/alanr/monitor/src/include/tlvhelper.h: 32
03367 if hasattr(_libs['libassimilationclientlib.so'], 'tlv_set_guint8'):
03368     tlv_set_guint8 = _libs['libassimilationclientlib.so'].tlv_set_guint8
03369     tlv_set_guint8.argtypes = [POINTER(None), guint8, POINTER(None)]
03370     tlv_set_guint8.restype = None
03371 
03372 # /home/alanr/monitor/src/include/tlvhelper.h: 33
03373 if hasattr(_libs['libassimilationclientlib.so'], 'tlv_set_guint16'):
03374     tlv_set_guint16 = _libs['libassimilationclientlib.so'].tlv_set_guint16
03375     tlv_set_guint16.argtypes = [POINTER(None), guint16, POINTER(None)]
03376     tlv_set_guint16.restype = None
03377 
03378 # /home/alanr/monitor/src/include/tlvhelper.h: 34
03379 if hasattr(_libs['libassimilationclientlib.so'], 'tlv_set_guint24'):
03380     tlv_set_guint24 = _libs['libassimilationclientlib.so'].tlv_set_guint24
03381     tlv_set_guint24.argtypes = [POINTER(None), guint32, POINTER(None)]
03382     tlv_set_guint24.restype = None
03383 
03384 # /home/alanr/monitor/src/include/tlvhelper.h: 35
03385 if hasattr(_libs['libassimilationclientlib.so'], 'tlv_set_guint32'):
03386     tlv_set_guint32 = _libs['libassimilationclientlib.so'].tlv_set_guint32
03387     tlv_set_guint32.argtypes = [POINTER(None), guint32, POINTER(None)]
03388     tlv_set_guint32.restype = None
03389 
03390 # /home/alanr/monitor/src/include/tlvhelper.h: 36
03391 if hasattr(_libs['libassimilationclientlib.so'], 'tlv_set_guint64'):
03392     tlv_set_guint64 = _libs['libassimilationclientlib.so'].tlv_set_guint64
03393     tlv_set_guint64.argtypes = [POINTER(None), guint64, POINTER(None)]
03394     tlv_set_guint64.restype = None
03395 
03396 # /home/alanr/monitor/src/include/unknownframe.h: 34
03397 class struct__UnknownFrame(Structure):
03398     pass
03399 
03400 UnknownFrame = struct__UnknownFrame # /home/alanr/monitor/src/include/unknownframe.h: 28
03401 
03402 struct__UnknownFrame.__slots__ = [
03403     'baseclass',
03404 ]
03405 struct__UnknownFrame._fields_ = [
03406     ('baseclass', Frame),
03407 ]
03408 
03409 # /home/alanr/monitor/src/include/unknownframe.h: 38
03410 if hasattr(_libs['libassimilationclientlib.so'], 'unknownframe_new'):
03411     unknownframe_new = _libs['libassimilationclientlib.so'].unknownframe_new
03412     unknownframe_new.argtypes = [guint16]
03413     unknownframe_new.restype = POINTER(UnknownFrame)
03414 
03415 # /home/alanr/monitor/src/include/unknownframe.h: 39
03416 if hasattr(_libs['libassimilationclientlib.so'], 'unknownframe_tlvconstructor'):
03417     unknownframe_tlvconstructor = _libs['libassimilationclientlib.so'].unknownframe_tlvconstructor
03418     unknownframe_tlvconstructor.argtypes = [gconstpointer, gconstpointer]
03419     unknownframe_tlvconstructor.restype = POINTER(Frame)
03420 
03421 # /home/alanr/monitor/src/include/address_family_numbers.h: 35
03422 try:
03423     ADDR_FAMILY_IPV4 = 1
03424 except:
03425     pass
03426 
03427 # /home/alanr/monitor/src/include/address_family_numbers.h: 36
03428 try:
03429     ADDR_FAMILY_IPV6 = 2
03430 except:
03431     pass
03432 
03433 # /home/alanr/monitor/src/include/address_family_numbers.h: 37
03434 try:
03435     ADDR_FAMILY_NSAP = 3
03436 except:
03437     pass
03438 
03439 # /home/alanr/monitor/src/include/address_family_numbers.h: 38
03440 try:
03441     ADDR_FAMILY_HDLC = 4
03442 except:
03443     pass
03444 
03445 # /home/alanr/monitor/src/include/address_family_numbers.h: 39
03446 try:
03447     ADDR_FAMILY_BBN1822 = 5
03448 except:
03449     pass
03450 
03451 # /home/alanr/monitor/src/include/address_family_numbers.h: 40
03452 try:
03453     ADDR_FAMILY_802 = 6
03454 except:
03455     pass
03456 
03457 # /home/alanr/monitor/src/include/address_family_numbers.h: 41
03458 try:
03459     ADDR_FAMILY_E163 = 7
03460 except:
03461     pass
03462 
03463 # /home/alanr/monitor/src/include/address_family_numbers.h: 42
03464 try:
03465     ADDR_FAMILY_E164 = 8
03466 except:
03467     pass
03468 
03469 # /home/alanr/monitor/src/include/address_family_numbers.h: 43
03470 try:
03471     ADDR_FAMILY_F69 = 9
03472 except:
03473     pass
03474 
03475 # /home/alanr/monitor/src/include/address_family_numbers.h: 44
03476 try:
03477     ADDR_FAMILY_X121 = 10
03478 except:
03479     pass
03480 
03481 # /home/alanr/monitor/src/include/address_family_numbers.h: 45
03482 try:
03483     ADDR_FAMILY_IPX = 11
03484 except:
03485     pass
03486 
03487 # /home/alanr/monitor/src/include/address_family_numbers.h: 46
03488 try:
03489     ADDR_FAMILY_APPLETALK = 12
03490 except:
03491     pass
03492 
03493 # /home/alanr/monitor/src/include/address_family_numbers.h: 47
03494 try:
03495     ADDR_FAMILY_DECNET = 13
03496 except:
03497     pass
03498 
03499 # /home/alanr/monitor/src/include/address_family_numbers.h: 48
03500 try:
03501     ADDR_FAMILY_BANYANVINES = 14
03502 except:
03503     pass
03504 
03505 # /home/alanr/monitor/src/include/address_family_numbers.h: 49
03506 try:
03507     ADDR_FAMILY_E164_NSAP = 15
03508 except:
03509     pass
03510 
03511 # /home/alanr/monitor/src/include/address_family_numbers.h: 50
03512 try:
03513     ADDR_FAMILY_DNS = 16
03514 except:
03515     pass
03516 
03517 # ../include/projectcommon.h: 13
03518 def DIMOF(a):
03519     return (sizeof(a) / sizeof((a [0])))
03520 
03521 # ../include/projectcommon.h: 14
03522 def MALLOC0(nbytes):
03523     return (g_try_malloc0 (nbytes))
03524 
03525 # ../include/projectcommon.h: 15
03526 def MALLOC(nbytes):
03527     return (g_try_malloc (nbytes))
03528 
03529 # ../include/projectcommon.h: 18
03530 def FREE(m):
03531     return (g_free (m))
03532 
03533 # ../include/projectcommon.h: 34
03534 try:
03535     HAVE_PCAP_SET_RFMON = 1
03536 except:
03537     pass
03538 
03539 # /usr/include/glib-2.0/glib/gslist.h: 51
03540 try:
03541     g_slist_free1 = g_slist_free_1
03542 except:
03543     pass
03544 
03545 # /usr/include/glib-2.0/glib/gslist.h: 107
03546 def g_slist_next(slist):
03547     return slist and (slist.contents.next) or NULL
03548 
03549 # ../include/projectcommon.h: 59
03550 try:
03551     DISCOVERY_DIR = '/usr/share/assimilation/discovery_agents'
03552 except:
03553     pass
03554 
03555 # ../include/projectcommon.h: 60
03556 try:
03557     CMAADDR = '224.0.2.5:1984'
03558 except:
03559     pass
03560 
03561 # ../include/projectcommon.h: 61
03562 try:
03563     NANOLISTENADDR = '0.0.0.0:1984'
03564 except:
03565     pass
03566 
03567 # ../include/proj_classes.h: 70
03568 def OBJ_IS_A(obj, Cclass):
03569     return (proj_class_is_a (obj, Cclass))
03570 
03571 # ../include/frame.h: 58
03572 try:
03573     FRAME_INITSIZE = 4
03574 except:
03575     pass
03576 
03577 # ../include/framesettypes.h: 32
03578 try:
03579     FRAMESETTYPE_HEARTBEAT = 1
03580 except:
03581     pass
03582 
03583 # ../include/framesettypes.h: 33
03584 try:
03585     FRAMESETTYPE_PING = 2
03586 except:
03587     pass
03588 
03589 # ../include/framesettypes.h: 34
03590 try:
03591     FRAMESETTYPE_PONG = 3
03592 except:
03593     pass
03594 
03595 # ../include/framesettypes.h: 35
03596 try:
03597     FRAMESETTYPE_ACK = 16
03598 except:
03599     pass
03600 
03601 # ../include/framesettypes.h: 36
03602 try:
03603     FRAMESETTYPE_NACK = 17
03604 except:
03605     pass
03606 
03607 # ../include/framesettypes.h: 37
03608 try:
03609     FRAMESETTYPE_STARTUP = 18
03610 except:
03611     pass
03612 
03613 # ../include/framesettypes.h: 38
03614 try:
03615     FRAMESETTYPE_HBDEAD = 19
03616 except:
03617     pass
03618 
03619 # ../include/framesettypes.h: 39
03620 try:
03621     FRAMESETTYPE_HBSHUTDOWN = 20
03622 except:
03623     pass
03624 
03625 # ../include/framesettypes.h: 40
03626 try:
03627     FRAMESETTYPE_HBLATE = 21
03628 except:
03629     pass
03630 
03631 # ../include/framesettypes.h: 41
03632 try:
03633     FRAMESETTYPE_HBBACKALIVE = 22
03634 except:
03635     pass
03636 
03637 # ../include/framesettypes.h: 42
03638 try:
03639     FRAMESETTYPE_HBMARTIAN = 23
03640 except:
03641     pass
03642 
03643 # ../include/framesettypes.h: 43
03644 try:
03645     FRAMESETTYPE_PROBEALIVE = 24
03646 except:
03647     pass
03648 
03649 # ../include/framesettypes.h: 44
03650 try:
03651     FRAMESETTYPE_SWDISCOVER = 25
03652 except:
03653     pass
03654 
03655 # ../include/framesettypes.h: 45
03656 try:
03657     FRAMESETTYPE_JSDISCOVERY = 26
03658 except:
03659     pass
03660 
03661 # ../include/framesettypes.h: 46
03662 try:
03663     FRAMESETTYPE_SENDHB = 64
03664 except:
03665     pass
03666 
03667 # ../include/framesettypes.h: 47
03668 try:
03669     FRAMESETTYPE_EXPECTHB = 65
03670 except:
03671     pass
03672 
03673 # ../include/framesettypes.h: 48
03674 try:
03675     FRAMESETTYPE_SENDEXPECTHB = 66
03676 except:
03677     pass
03678 
03679 # ../include/framesettypes.h: 49
03680 try:
03681     FRAMESETTYPE_STOPSENDHB = 67
03682 except:
03683     pass
03684 
03685 # ../include/framesettypes.h: 50
03686 try:
03687     FRAMESETTYPE_STOPEXPECTHB = 68
03688 except:
03689     pass
03690 
03691 # ../include/framesettypes.h: 51
03692 try:
03693     FRAMESETTYPE_STOPSENDEXPECTHB = 69
03694 except:
03695     pass
03696 
03697 # ../include/framesettypes.h: 52
03698 try:
03699     FRAMESETTYPE_SETCONFIG = 70
03700 except:
03701     pass
03702 
03703 # ../include/framesettypes.h: 53
03704 try:
03705     FRAMESETTYPE_INCRDEBUG = 71
03706 except:
03707     pass
03708 
03709 # ../include/framesettypes.h: 54
03710 try:
03711     FRAMESETTYPE_DECRDEBUG = 72
03712 except:
03713     pass
03714 
03715 # ../include/framesettypes.h: 55
03716 try:
03717     FRAMESETTYPE_DODISCOVER = 73
03718 except:
03719     pass
03720 
03721 # ../include/framesettypes.h: 56
03722 try:
03723     FRAMESETTYPE_STOPDISCOVER = 74
03724 except:
03725     pass
03726 
03727 # ../include/frameset.h: 54
03728 try:
03729     FRAMESET_INITSIZE = 6
03730 except:
03731     pass
03732 
03733 # ../include/configcontext.h: 96
03734 try:
03735     CONFIG_DEFAULT_DEADTIME = 30
03736 except:
03737     pass
03738 
03739 # ../include/configcontext.h: 97
03740 try:
03741     CONFIG_DEFAULT_HBTIME = 3
03742 except:
03743     pass
03744 
03745 # ../include/configcontext.h: 98
03746 try:
03747     CONFIG_DEFAULT_WARNTIME = 10
03748 except:
03749     pass
03750 
03751 # ../include/configcontext.h: 99
03752 try:
03753     CONFIG_DEFAULT_HBPORT = 1984
03754 except:
03755     pass
03756 
03757 # ../include/configcontext.h: 100
03758 try:
03759     CONFIG_DEFAULT_CMAPORT = 1984
03760 except:
03761     pass
03762 
03763 # ../include/configcontext.h: 102
03764 try:
03765     CONFIG_DEFAULT_ADDRTYPE = ADDR_FAMILY_IPV4
03766 except:
03767     pass
03768 
03769 # ../include/configcontext.h: 103
03770 try:
03771     CONFIG_DEFAULT_SIGNFRAME_TYPE = G_CHECKSUM_SHA256
03772 except:
03773     pass
03774 
03775 # ../include/configcontext.h: 105
03776 try:
03777     CONFIGNAME_DEADTIME = 'deadtime'
03778 except:
03779     pass
03780 
03781 # ../include/configcontext.h: 106
03782 try:
03783     CONFIGNAME_WARNTIME = 'warntime'
03784 except:
03785     pass
03786 
03787 # ../include/configcontext.h: 107
03788 try:
03789     CONFIGNAME_HBTIME = 'hbtime'
03790 except:
03791     pass
03792 
03793 # ../include/configcontext.h: 108
03794 try:
03795     CONFIGNAME_HBPORT = 'hbport'
03796 except:
03797     pass
03798 
03799 # ../include/configcontext.h: 109
03800 try:
03801     CONFIGNAME_CMAPORT = 'cmaport'
03802 except:
03803     pass
03804 
03805 # ../include/configcontext.h: 110
03806 try:
03807     CONFIGNAME_CMAINIT = 'cmainit'
03808 except:
03809     pass
03810 
03811 # ../include/configcontext.h: 112
03812 try:
03813     CONFIGNAME_CMAADDR = 'cmaaddr'
03814 except:
03815     pass
03816 
03817 # ../include/configcontext.h: 113
03818 try:
03819     CONFIGNAME_CMADISCOVER = 'cmadisc'
03820 except:
03821     pass
03822 
03823 # ../include/configcontext.h: 114
03824 try:
03825     CONFIGNAME_CMAFAIL = 'cmafail'
03826 except:
03827     pass
03828 
03829 # ../include/configcontext.h: 115
03830 try:
03831     CONFIGNAME_OUTSIG = 'outsig'
03832 except:
03833     pass
03834 
03835 # ../include/configcontext.h: 116
03836 try:
03837     CONFIGNAME_CRYPT = 'crypt'
03838 except:
03839     pass
03840 
03841 # ../include/configcontext.h: 117
03842 try:
03843     CONFIGNAME_COMPRESS = 'compress'
03844 except:
03845     pass
03846 
03847 # /home/alanr/monitor/src/include/cdp.h: 33
03848 try:
03849     CDP_TLV_DEVID = 1
03850 except:
03851     pass
03852 
03853 # /home/alanr/monitor/src/include/cdp.h: 35
03854 try:
03855     CDP_TLV_ADDRESS = 2
03856 except:
03857     pass
03858 
03859 # /home/alanr/monitor/src/include/cdp.h: 36
03860 try:
03861     CDP_TLV_PORTID = 3
03862 except:
03863     pass
03864 
03865 # /home/alanr/monitor/src/include/cdp.h: 38
03866 try:
03867     CDP_TLV_CAPS = 4
03868 except:
03869     pass
03870 
03871 # /home/alanr/monitor/src/include/cdp.h: 39
03872 try:
03873     CDP_TLV_VERS = 5
03874 except:
03875     pass
03876 
03877 # /home/alanr/monitor/src/include/cdp.h: 40
03878 try:
03879     CDP_TLV_PLATFORM = 6
03880 except:
03881     pass
03882 
03883 # /home/alanr/monitor/src/include/cdp.h: 41
03884 try:
03885     CDP_TLV_IPPREFIX = 7
03886 except:
03887     pass
03888 
03889 # /home/alanr/monitor/src/include/cdp.h: 42
03890 try:
03891     CDP_TLV_HELLO = 8
03892 except:
03893     pass
03894 
03895 # /home/alanr/monitor/src/include/cdp.h: 43
03896 try:
03897     CDP_TLV_VTPDOMAIN = 9
03898 except:
03899     pass
03900 
03901 # /home/alanr/monitor/src/include/cdp.h: 44
03902 try:
03903     CDP_TLV_NATIVEVLAN = 10
03904 except:
03905     pass
03906 
03907 # /home/alanr/monitor/src/include/cdp.h: 45
03908 try:
03909     CDP_TLV_DUPLEX = 11
03910 except:
03911     pass
03912 
03913 # /home/alanr/monitor/src/include/cdp.h: 46
03914 try:
03915     CDP_TLV_APPLID = 14
03916 except:
03917     pass
03918 
03919 # /home/alanr/monitor/src/include/cdp.h: 47
03920 try:
03921     CDP_TLV_POWER = 16
03922 except:
03923     pass
03924 
03925 # /home/alanr/monitor/src/include/cdp.h: 59
03926 try:
03927     CDP_CAPMASK_ROUTER = 1
03928 except:
03929     pass
03930 
03931 # /home/alanr/monitor/src/include/cdp.h: 60
03932 try:
03933     CDP_CAPMASK_TBBRIDGE = 2
03934 except:
03935     pass
03936 
03937 # /home/alanr/monitor/src/include/cdp.h: 61
03938 try:
03939     CDP_CAPMASK_SPBRIDGE = 4
03940 except:
03941     pass
03942 
03943 # /home/alanr/monitor/src/include/cdp.h: 62
03944 try:
03945     CDP_CAPMASK_SWITCH = 8
03946 except:
03947     pass
03948 
03949 # /home/alanr/monitor/src/include/cdp.h: 63
03950 try:
03951     CDP_CAPMASK_HOST = 16
03952 except:
03953     pass
03954 
03955 # /home/alanr/monitor/src/include/cdp.h: 64
03956 try:
03957     CDP_CAPMASK_IGMPFILTER = 32
03958 except:
03959     pass
03960 
03961 # /home/alanr/monitor/src/include/cdp.h: 65
03962 try:
03963     CDP_CAPMASK_REPEATER = 64
03964 except:
03965     pass
03966 
03967 # /home/alanr/monitor/src/include/frametypes.h: 62
03968 try:
03969     FRAMETYPE_END = 0
03970 except:
03971     pass
03972 
03973 # /home/alanr/monitor/src/include/frametypes.h: 80
03974 try:
03975     FRAMETYPE_SIG = 1
03976 except:
03977     pass
03978 
03979 # /home/alanr/monitor/src/include/frametypes.h: 96
03980 try:
03981     FRAMETYPE_CRYPT = 2
03982 except:
03983     pass
03984 
03985 # /home/alanr/monitor/src/include/frametypes.h: 114
03986 try:
03987     FRAMETYPE_COMPRESS = 3
03988 except:
03989     pass
03990 
03991 # /home/alanr/monitor/src/include/frametypes.h: 130
03992 try:
03993     FRAMETYPE_REQID = 4
03994 except:
03995     pass
03996 
03997 # /home/alanr/monitor/src/include/frametypes.h: 143
03998 try:
03999     FRAMETYPE_REPLYID = 5
04000 except:
04001     pass
04002 
04003 # /home/alanr/monitor/src/include/frametypes.h: 157
04004 try:
04005     FRAMETYPE_PKTDATA = 6
04006 except:
04007     pass
04008 
04009 # /home/alanr/monitor/src/include/frametypes.h: 172
04010 try:
04011     FRAMETYPE_WALLCLOCK = 7
04012 except:
04013     pass
04014 
04015 # /home/alanr/monitor/src/include/frametypes.h: 185
04016 try:
04017     FRAMETYPE_INTERFACE = 8
04018 except:
04019     pass
04020 
04021 # /home/alanr/monitor/src/include/frametypes.h: 197
04022 try:
04023     FRAMETYPE_HOSTNAME = 9
04024 except:
04025     pass
04026 
04027 # /home/alanr/monitor/src/include/frametypes.h: 210
04028 try:
04029     FRAMETYPE_IPADDR = 10
04030 except:
04031     pass
04032 
04033 # /home/alanr/monitor/src/include/frametypes.h: 223
04034 try:
04035     FRAMETYPE_MACADDR = 11
04036 except:
04037     pass
04038 
04039 # /home/alanr/monitor/src/include/frametypes.h: 236
04040 try:
04041     FRAMETYPE_PORTNUM = 12
04042 except:
04043     pass
04044 
04045 # /home/alanr/monitor/src/include/frametypes.h: 248
04046 try:
04047     FRAMETYPE_IPPORT = 13
04048 except:
04049     pass
04050 
04051 # /home/alanr/monitor/src/include/frametypes.h: 261
04052 try:
04053     FRAMETYPE_HBINTERVAL = 14
04054 except:
04055     pass
04056 
04057 # /home/alanr/monitor/src/include/frametypes.h: 274
04058 try:
04059     FRAMETYPE_HBDEADTIME = 15
04060 except:
04061     pass
04062 
04063 # /home/alanr/monitor/src/include/frametypes.h: 287
04064 try:
04065     FRAMETYPE_HBWARNTIME = 16
04066 except:
04067     pass
04068 
04069 # /home/alanr/monitor/src/include/frametypes.h: 299
04070 try:
04071     FRAMETYPE_PATHNAME = 17
04072 except:
04073     pass
04074 
04075 # /home/alanr/monitor/src/include/frametypes.h: 312
04076 try:
04077     FRAMETYPE_NVPAIR = 18
04078 except:
04079     pass
04080 
04081 # /home/alanr/monitor/src/include/frametypes.h: 324
04082 try:
04083     FRAMETYPE_JSDISCOVER = 19
04084 except:
04085     pass
04086 
04087 # /home/alanr/monitor/src/include/frametypes.h: 335
04088 try:
04089     FRAMETYPE_PARAMNAME = 20
04090 except:
04091     pass
04092 
04093 # /home/alanr/monitor/src/include/frametypes.h: 346
04094 try:
04095     FRAMETYPE_CSTRINGVAL = 21
04096 except:
04097     pass
04098 
04099 # /home/alanr/monitor/src/include/frametypes.h: 358
04100 try:
04101     FRAMETYPE_CINTVAL = 22
04102 except:
04103     pass
04104 
04105 # /home/alanr/monitor/src/include/frametypes.h: 372
04106 try:
04107     FRAMETYPE_ELAPSEDTIME = 23
04108 except:
04109     pass
04110 
04111 # /home/alanr/monitor/src/include/frametypes.h: 384
04112 try:
04113     FRAMETYPE_DISCNAME = 24
04114 except:
04115     pass
04116 
04117 # /home/alanr/monitor/src/include/frametypes.h: 397
04118 try:
04119     FRAMETYPE_DISCINTERVAL = 25
04120 except:
04121     pass
04122 
04123 # /home/alanr/monitor/src/include/frametypes.h: 410
04124 try:
04125     FRAMETYPE_DISCJSON = 26
04126 except:
04127     pass
04128 
04129 # ../include/fsqueue.h: 66
04130 try:
04131     DEFAULT_FSQMAX = 0
04132 except:
04133     pass
04134 
04135 # /home/alanr/monitor/src/include/fsprotocol.h: 75
04136 try:
04137     DEFAULT_FSP_QID = 0
04138 except:
04139     pass
04140 
04141 # /home/alanr/monitor/src/include/hblistener.h: 66
04142 try:
04143     DEFAULT_DEADTIME = 60
04144 except:
04145     pass
04146 
04147 # /home/alanr/monitor/src/include/hbsender.h: 49
04148 try:
04149     DEFAULT_DEADTIME = 60
04150 except:
04151     pass
04152 
04153 # /home/alanr/monitor/src/include/jsondiscovery.h: 32
04154 try:
04155     JSONAGENTROOT = DISCOVERY_DIR
04156 except:
04157     pass
04158 
04159 # /home/alanr/monitor/src/include/lldp.h: 35
04160 try:
04161     LLDP_INVAL = 65535
04162 except:
04163     pass
04164 
04165 # /home/alanr/monitor/src/include/lldp.h: 42
04166 try:
04167     LLDP_TLV_END = 0
04168 except:
04169     pass
04170 
04171 # /home/alanr/monitor/src/include/lldp.h: 43
04172 try:
04173     LLDP_TLV_CHID = 1
04174 except:
04175     pass
04176 
04177 # /home/alanr/monitor/src/include/lldp.h: 44
04178 try:
04179     LLDP_TLV_PID = 2
04180 except:
04181     pass
04182 
04183 # /home/alanr/monitor/src/include/lldp.h: 45
04184 try:
04185     LLDP_TLV_TTL = 3
04186 except:
04187     pass
04188 
04189 # /home/alanr/monitor/src/include/lldp.h: 46
04190 try:
04191     LLDP_TLV_PORT_DESCR = 4
04192 except:
04193     pass
04194 
04195 # /home/alanr/monitor/src/include/lldp.h: 47
04196 try:
04197     LLDP_TLV_SYS_NAME = 5
04198 except:
04199     pass
04200 
04201 # /home/alanr/monitor/src/include/lldp.h: 48
04202 try:
04203     LLDP_TLV_SYS_DESCR = 6
04204 except:
04205     pass
04206 
04207 # /home/alanr/monitor/src/include/lldp.h: 49
04208 try:
04209     LLDP_TLV_SYS_CAPS = 7
04210 except:
04211     pass
04212 
04213 # /home/alanr/monitor/src/include/lldp.h: 50
04214 try:
04215     LLDP_TLV_MGMT_ADDR = 8
04216 except:
04217     pass
04218 
04219 # /home/alanr/monitor/src/include/lldp.h: 51
04220 try:
04221     LLDP_TLV_ORG_SPECIFIC = 127
04222 except:
04223     pass
04224 
04225 # /home/alanr/monitor/src/include/lldp.h: 59
04226 try:
04227     LLDP_CHIDTYPE_COMPONENT = 1
04228 except:
04229     pass
04230 
04231 # /home/alanr/monitor/src/include/lldp.h: 61
04232 try:
04233     LLDP_CHIDTYPE_ALIAS = 2
04234 except:
04235     pass
04236 
04237 # /home/alanr/monitor/src/include/lldp.h: 62
04238 try:
04239     LLDP_CHIDTYPE_PORT = 3
04240 except:
04241     pass
04242 
04243 # /home/alanr/monitor/src/include/lldp.h: 64
04244 try:
04245     LLDP_CHIDTYPE_MACADDR = 4
04246 except:
04247     pass
04248 
04249 # /home/alanr/monitor/src/include/lldp.h: 65
04250 try:
04251     LLDP_CHIDTYPE_NETADDR = 5
04252 except:
04253     pass
04254 
04255 # /home/alanr/monitor/src/include/lldp.h: 66
04256 try:
04257     LLDP_CHIDTYPE_IFNAME = 6
04258 except:
04259     pass
04260 
04261 # /home/alanr/monitor/src/include/lldp.h: 67
04262 try:
04263     LLDP_CHIDTYPE_LOCAL = 7
04264 except:
04265     pass
04266 
04267 # /home/alanr/monitor/src/include/lldp.h: 75
04268 try:
04269     LLDP_PIDTYPE_ALIAS = 1
04270 except:
04271     pass
04272 
04273 # /home/alanr/monitor/src/include/lldp.h: 76
04274 try:
04275     LLDP_PIDTYPE_COMPONENT = 2
04276 except:
04277     pass
04278 
04279 # /home/alanr/monitor/src/include/lldp.h: 78
04280 try:
04281     LLDP_PIDTYPE_MACADDR = 3
04282 except:
04283     pass
04284 
04285 # /home/alanr/monitor/src/include/lldp.h: 79
04286 try:
04287     LLDP_PIDTYPE_NETADDR = 4
04288 except:
04289     pass
04290 
04291 # /home/alanr/monitor/src/include/lldp.h: 80
04292 try:
04293     LLDP_PIDTYPE_IFNAME = 5
04294 except:
04295     pass
04296 
04297 # /home/alanr/monitor/src/include/lldp.h: 81
04298 try:
04299     LLDP_PIDTYPE_CIRCUITID = 6
04300 except:
04301     pass
04302 
04303 # /home/alanr/monitor/src/include/lldp.h: 82
04304 try:
04305     LLDP_PIDTYPE_LOCAL = 7
04306 except:
04307     pass
04308 
04309 # /home/alanr/monitor/src/include/lldp.h: 89
04310 try:
04311     LLDP_CAPMASK_REPEATER = 2
04312 except:
04313     pass
04314 
04315 # /home/alanr/monitor/src/include/lldp.h: 90
04316 try:
04317     LLDP_CAPMASK_BRIDGE = 4
04318 except:
04319     pass
04320 
04321 # /home/alanr/monitor/src/include/lldp.h: 91
04322 try:
04323     LLDP_CAPMASK_WLAN_AP = 8
04324 except:
04325     pass
04326 
04327 # /home/alanr/monitor/src/include/lldp.h: 92
04328 try:
04329     LLDP_CAPMASK_ROUTER = 16
04330 except:
04331     pass
04332 
04333 # /home/alanr/monitor/src/include/lldp.h: 93
04334 try:
04335     LLDP_CAPMASK_PHONE = 32
04336 except:
04337     pass
04338 
04339 # /home/alanr/monitor/src/include/lldp.h: 94
04340 try:
04341     LLDP_CAPMASK_DOCSIS = 64
04342 except:
04343     pass
04344 
04345 # /home/alanr/monitor/src/include/lldp.h: 95
04346 try:
04347     LLDP_CAPMASK_STATION = 128
04348 except:
04349     pass
04350 
04351 # /home/alanr/monitor/src/include/lldp.h: 103
04352 try:
04353     LLDP_ORG802_1_VLAN_PVID = 1
04354 except:
04355     pass
04356 
04357 # /home/alanr/monitor/src/include/lldp.h: 104
04358 try:
04359     LLDP_ORG802_1_VLAN_PORTPROTO = 2
04360 except:
04361     pass
04362 
04363 # /home/alanr/monitor/src/include/lldp.h: 105
04364 try:
04365     LLDP_ORG802_1_VLAN_NAME = 3
04366 except:
04367     pass
04368 
04369 # /home/alanr/monitor/src/include/lldp.h: 106
04370 try:
04371     LLDP_ORG802_1_VLAN_PROTOID = 4
04372 except:
04373     pass
04374 
04375 # /home/alanr/monitor/src/include/lldp.h: 114
04376 try:
04377     LLDP_ORG802_3_PHY_CONFIG = 1
04378 except:
04379     pass
04380 
04381 # /home/alanr/monitor/src/include/lldp.h: 115
04382 try:
04383     LLDP_ORG802_3_POWERVIAMDI = 2
04384 except:
04385     pass
04386 
04387 # /home/alanr/monitor/src/include/lldp.h: 116
04388 try:
04389     LLDP_ORG802_3_LINKAGG = 3
04390 except:
04391     pass
04392 
04393 # /home/alanr/monitor/src/include/lldp.h: 117
04394 try:
04395     LLDP_ORG802_3_MTU = 4
04396 except:
04397     pass
04398 
04399 # ../include/pcap_min.h: 40
04400 try:
04401     ENABLE_LLDP = 1
04402 except:
04403     pass
04404 
04405 # ../include/pcap_min.h: 42
04406 try:
04407     ENABLE_CDP = 2
04408 except:
04409     pass
04410 
04411 # /home/alanr/monitor/src/include/pcap_min.h: 40
04412 try:
04413     ENABLE_LLDP = 1
04414 except:
04415     pass
04416 
04417 # /home/alanr/monitor/src/include/pcap_min.h: 42
04418 try:
04419     ENABLE_CDP = 2
04420 except:
04421     pass
04422 
04423 # /home/alanr/monitor/src/include/proj_classes.h: 70
04424 def OBJ_IS_A(obj, Cclass):
04425     return (proj_class_is_a (obj, Cclass))
04426 
04427 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 32
04428 try:
04429     TLV_DTYPE_BINARY = 1
04430 except:
04431     pass
04432 
04433 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 33
04434 try:
04435     TLV_DTYPE_UINT8 = 2
04436 except:
04437     pass
04438 
04439 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 34
04440 try:
04441     TLV_DTYPE_UINT16 = 3
04442 except:
04443     pass
04444 
04445 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 35
04446 try:
04447     TLV_DTYPE_UINT32 = 4
04448 except:
04449     pass
04450 
04451 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 36
04452 try:
04453     TLV_DTYPE_UINT64 = 5
04454 except:
04455     pass
04456 
04457 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 37
04458 try:
04459     TLV_DTYPE_OUI = 6
04460 except:
04461     pass
04462 
04463 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 38
04464 try:
04465     TLV_DTYPE_MACADDR = 7
04466 except:
04467     pass
04468 
04469 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 39
04470 try:
04471     TLV_DTYPE_IPV4ADDR = 8
04472 except:
04473     pass
04474 
04475 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 40
04476 try:
04477     TLV_DTYPE_IPV6ADDR = 9
04478 except:
04479     pass
04480 
04481 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 41
04482 try:
04483     TLV_DTYPE_GENADDR = 10
04484 except:
04485     pass
04486 
04487 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 42
04488 try:
04489     TLV_DTYPE_LLCHASSIS = 11
04490 except:
04491     pass
04492 
04493 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 43
04494 try:
04495     TLV_DTYPE_LLPORTID = 12
04496 except:
04497     pass
04498 
04499 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 44
04500 try:
04501     TLV_DTYPE_LLCAPS = 13
04502 except:
04503     pass
04504 
04505 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 45
04506 try:
04507     TLV_DTYPE_LLMGMTADDR = 14
04508 except:
04509     pass
04510 
04511 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 46
04512 try:
04513     TLV_DTYPE_LL8021_VLANID = 15
04514 except:
04515     pass
04516 
04517 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 47
04518 try:
04519     TLV_DTYPE_LL8021_PPVLANID = 16
04520 except:
04521     pass
04522 
04523 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 48
04524 try:
04525     TLV_DTYPE_LL8021_VLANNAME = 17
04526 except:
04527     pass
04528 
04529 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 49
04530 try:
04531     TLV_DTYPE_LL8021_PROTOID = 18
04532 except:
04533     pass
04534 
04535 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 50
04536 try:
04537     TLV_DTYPE_LL8023_MACPHY = 19
04538 except:
04539     pass
04540 
04541 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 51
04542 try:
04543     TLV_DTYPE_LL8023_POWER = 20
04544 except:
04545     pass
04546 
04547 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 52
04548 try:
04549     TLV_DTYPE_LL8023_LINKAGGR = 21
04550 except:
04551     pass
04552 
04553 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 53
04554 try:
04555     TLV_DTYPE_LL8023_MTU = 22
04556 except:
04557     pass
04558 
04559 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 54
04560 try:
04561     TLV_DTYPE_FSTYPE = 23
04562 except:
04563     pass
04564 
04565 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 55
04566 try:
04567     TLV_DTYPE_FSFLAGS = 24
04568 except:
04569     pass
04570 
04571 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 56
04572 try:
04573     TLV_DTYPE_FRAMETYPE = 25
04574 except:
04575     pass
04576 
04577 # /home/alanr/monitor/src/include/tlv_valuetypes.h: 57
04578 try:
04579     TLV_DTYPE_FR_REQTYPE = 26
04580 except:
04581     pass
04582 
04583 _GSList = struct__GSList # /usr/include/glib-2.0/glib/gslist.h: 40
04584 
04585 _AssimObj = struct__AssimObj # ../include/assimobj.h: 32
04586 
04587 _FrameSet = struct__FrameSet # ../include/frameset.h: 43
04588 
04589 _Frame = struct__Frame # ../include/frame.h: 42
04590 
04591 _NetAddr = struct__NetAddr # ../include/netaddr.h: 43
04592 
04593 _AddrFrame = struct__AddrFrame # /home/alanr/monitor/src/include/addrframe.h: 38
04594 
04595 _SignFrame = struct__SignFrame # ../include/signframe.h: 40
04596 
04597 _SeqnoFrame = struct__SeqnoFrame # ../include/seqnoframe.h: 42
04598 
04599 _ConfigContext = struct__ConfigContext # ../include/configcontext.h: 70
04600 
04601 _ConfigValue = struct__ConfigValue # ../include/configcontext.h: 57
04602 
04603 _Listener = struct__Listener # ../include/listener.h: 41
04604 
04605 _FrameTypeToFrame = struct__FrameTypeToFrame # ../include/packetdecoder.h: 37
04606 
04607 _PacketDecoder = struct__PacketDecoder # ../include/packetdecoder.h: 44
04608 
04609 _NetIO = struct__NetIO # ../include/netio.h: 44
04610 
04611 _NetGSource = struct__NetGSource # ../include/netgsource.h: 43
04612 
04613 _AuthListener = struct__AuthListener # /home/alanr/monitor/src/include/authlistener.h: 41
04614 
04615 _ObeyFrameSetTypeMap = struct__ObeyFrameSetTypeMap # /home/alanr/monitor/src/include/authlistener.h: 49
04616 
04617 _CompressFrame = struct__CompressFrame # /home/alanr/monitor/src/include/compressframe.h: 33
04618 
04619 _CryptFrame = struct__CryptFrame # /home/alanr/monitor/src/include/cryptframe.h: 33
04620 
04621 _CstringFrame = struct__CstringFrame # /home/alanr/monitor/src/include/cstringframe.h: 35
04622 
04623 _Discovery = struct__Discovery # /home/alanr/monitor/src/include/discovery.h: 47
04624 
04625 _FsQueue = struct__FsQueue # ../include/fsqueue.h: 42
04626 
04627 _FsProtocol = struct__FsProtocol # /home/alanr/monitor/src/include/fsprotocol.h: 59
04628 
04629 _FsProtoElem = struct__FsProtoElem # /home/alanr/monitor/src/include/fsprotocol.h: 49
04630 
04631 _HbListener = struct__HbListener # /home/alanr/monitor/src/include/hblistener.h: 44
04632 
04633 _HbSender = struct__HbSender # /home/alanr/monitor/src/include/hbsender.h: 39
04634 
04635 _IntFrame = struct__IntFrame # /home/alanr/monitor/src/include/intframe.h: 39
04636 
04637 _IpPortFrame = struct__IpPortFrame # /home/alanr/monitor/src/include/ipportframe.h: 40
04638 
04639 _JsonDiscovery = struct__JsonDiscovery # /home/alanr/monitor/src/include/jsondiscovery.h: 36
04640 
04641 _NanoHbStats = struct__NanoHbStats # /home/alanr/monitor/src/include/nanoprobe.h: 32
04642 
04643 _NetIOudp = struct__NetIOudp # /home/alanr/monitor/src/include/netioudp.h: 39
04644 
04645 _NVpairFrame = struct__NVpairFrame # /home/alanr/monitor/src/include/nvpairframe.h: 33
04646 
04647 _GSource_pcap = struct__GSource_pcap # /home/alanr/monitor/src/include/pcap_GSource.h: 38
04648 
04649 _SwitchDiscovery = struct__SwitchDiscovery # /home/alanr/monitor/src/include/switchdiscovery.h: 34
04650 
04651 _UnknownFrame = struct__UnknownFrame # /home/alanr/monitor/src/include/unknownframe.h: 34
04652 
04653 # No inserted files
04654 
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines