The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
switchdiscovery.h
Go to the documentation of this file.
1 
24 #ifndef _SWITCHDISCOVERY_H
25 #define _SWITCHDISCOVERY_H
26 #include <projectcommon.h>
27 #include <discovery.h>
28 #include <pcap_GSource.h>
31 
36  GSource* source;
37  void (*finalize)(AssimObj* self);
38  gpointer switchid;
39  gssize switchidlen;
40  gpointer portid;
41  gssize portidlen;
42 };
43 
44 WINEXPORT SwitchDiscovery* switchdiscovery_new(const char *, const char *, guint, gint, GMainContext*,
45  NetGSource*, ConfigContext*, gsize);
46 
48 
49 #endif /* _SWITCHDISCOVERY_H */