4 #define SWIG_FILE_WITH_INIT
8 struct lwes_event_type_db
*
9 lwes_event_type_db_create
(char
*filename
);
12 lwes_event_type_db_destroy
(struct lwes_event_type_db
*db
);
15 lwes_emitter_create
(char
*address
, char
*iface
, int port
,
16 int emit_heartbeat
, short freq
);
19 lwes_emitter_create_with_ttl
(char
*address
, char
*iface
, int port
,
20 int emit_heartbeat
, short freq
, int ttl
);
23 lwes_emitter_emit
(struct lwes_emitter
*emitter
, struct lwes_event
*event
);
26 lwes_emitter_emitto
(char
*address
, char
*iface
, int port
,
27 struct lwes_emitter
*emitter
, struct lwes_event
*event
);
30 lwes_emitter_destroy
(struct lwes_emitter
*emitter
);
33 lwes_event_create
(struct lwes_event_type_db
*db
, char
*event_name
);
36 lwes_event_create_with_encoding
(struct lwes_event_type_db
*db
,
37 char
*event_name
, short encoding
);
40 lwes_event_set_U_INT_16
(struct lwes_event
*event
, char
*attribute_name
,
41 unsigned short a_uint16
);
44 lwes_event_get_U_INT_16
(struct lwes_event
*event
, char
*attribute_name
,
45 unsigned short
*a_uint16
);
48 lwes_event_set_INT_16
(struct lwes_event
*event
, char
*attribute_name
,
52 lwes_event_get_INT_16
(struct lwes_event
*event
, char
*attribute_name
,
56 lwes_event_set_U_INT_32
(struct lwes_event
*event
, char
*attribute_name
,
57 unsigned int a_uint32
);
60 lwes_event_get_U_INT_32
(struct lwes_event
*event
, char
*attribute_name
,
61 unsigned int
*a_uint32
);
64 lwes_event_set_INT_32
(struct lwes_event
*event
, char
*attribute_name
,
68 lwes_event_get_INT_32
(struct lwes_event
*event
, char
*attribute_name
,
72 lwes_event_set_U_INT_64
(struct lwes_event
*event
,
73 char
*attribute_name
, unsigned long long a_uint64
);
76 lwes_event_get_U_INT_64
(struct lwes_event
*event
, char
*attribute_name
,
77 unsigned long long
*a_uint64
);
80 lwes_event_set_INT_64
(struct lwes_event
*event
, char
*attribute_name
,
84 lwes_event_get_INT_64
(struct lwes_event
*event
, char
*attribute_name
,
88 lwes_event_set_STRING
(struct lwes_event
*event
, char
*attribute_name
,
92 lwes_event_get_STRING
(struct lwes_event
*event
, char
*attribute_name
,
96 lwes_event_set_IP_ADDR_w_string
(struct lwes_event
*event
, char
*attribute_name
,
100 lwes_event_get_IP_ADDR
(struct lwes_event
*event
, char
*attribute_name
,
101 struct in_addr
*an_in_addr
);
104 lwes_event_set_BOOLEAN
(struct lwes_event
*event
, char
*attribute_name
,
108 lwes_event_get_BOOLEAN
(struct lwes_event
*event
, char
*attribute_name
,
112 lwes_event_destroy
(struct lwes_event
*event
);