The Assimilation Monitoring Project
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
discovery.h
Go to the documentation of this file.
1
36
#ifndef _DISCOVERY_H
37
#define _DISCOVERY_H
38
#include <
projectcommon.h
>
39
#include <
assimobj.h
>
40
#include <
netgsource.h
>
41
#include <
configcontext.h
>
44
45
typedef
struct
_Discovery
Discovery
;
47
struct
_Discovery
{
48
AssimObj
baseclass
;
49
char
* (*instancename)(
const
Discovery
*
self
);
50
void (*
flushcache
)(
Discovery
*
self
);
51
gboolean (*
discover
)(
Discovery
*
self
);
52
guint (*
discoverintervalsecs
) (
const
Discovery
*
self
);
53
54
guint64
reportcount
;
55
56
guint64
discovercount
;
57
58
char
*
_instancename
;
59
guint
_timerid
;
60
NetGSource
*
_iosource
;
61
ConfigContext
*
_config
;
62
63
gboolean
_sentyet
;
64
};
65
66
WINEXPORT
Discovery
*
discovery_new
(
const
char
*,
NetGSource
*,
ConfigContext
*, gsize objsize);
67
WINEXPORT
void
discovery_register
(
Discovery
*
self
);
68
WINEXPORT
void
discovery_unregister_all
(
void
);
69
WINEXPORT
void
discovery_unregister
(
const
char
*);
70
#ifdef DISCOVERY_SUBCLASS
71
WINEXPORT
void
_discovery_finalize
(
AssimObj
*
self
);
72
#endif
73
74
76
77
#endif
/* _DISCOVERY_H */
src
include
discovery.h
Generated on Mon Jun 10 2013 16:57:02 for The Assimilation Monitoring Project by
1.8.3.1