File: idmef-tree-data.h

package info (click to toggle)
libprelude 1.0.0-11.9
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 24,456 kB
  • ctags: 17,851
  • sloc: ansic: 190,841; cpp: 38,769; xml: 30,141; sh: 11,668; makefile: 692; python: 481; awk: 341; yacc: 238; lex: 186; perl: 5
file content (331 lines) | stat: -rw-r--r-- 28,958 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331

/* Auto-generated by the GenerateIDMEFTreeData package */

typedef struct {
        const char *name;
        prelude_bool_t list;
        idmef_value_type_id_t type;
        idmef_class_id_t class;
} children_list_t;

const children_list_t idmef_additional_data_children_list[] = {
        { "type", 0, IDMEF_VALUE_TYPE_ENUM, IDMEF_CLASS_ID_ADDITIONAL_DATA_TYPE },
        { "meaning", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "data", 0, IDMEF_VALUE_TYPE_DATA, 0 },
};

const children_list_t idmef_reference_children_list[] = {
        { "origin", 0, IDMEF_VALUE_TYPE_ENUM, IDMEF_CLASS_ID_REFERENCE_ORIGIN },
        { "name", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "url", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "meaning", 0, IDMEF_VALUE_TYPE_STRING, 0 },
};

const children_list_t idmef_classification_children_list[] = {
        { "ident", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "text", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "reference", 1, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_REFERENCE },
};

const children_list_t idmef_user_id_children_list[] = {
        { "ident", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "type", 0, IDMEF_VALUE_TYPE_ENUM, IDMEF_CLASS_ID_USER_ID_TYPE },
        { "tty", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "name", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "number", 0, IDMEF_VALUE_TYPE_UINT32, 0 },
};

const children_list_t idmef_user_children_list[] = {
        { "ident", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "category", 0, IDMEF_VALUE_TYPE_ENUM, IDMEF_CLASS_ID_USER_CATEGORY },
        { "user_id", 1, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_USER_ID },
};

const children_list_t idmef_address_children_list[] = {
        { "ident", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "category", 0, IDMEF_VALUE_TYPE_ENUM, IDMEF_CLASS_ID_ADDRESS_CATEGORY },
        { "vlan_name", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "vlan_num", 0, IDMEF_VALUE_TYPE_INT32, 0 },
        { "address", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "netmask", 0, IDMEF_VALUE_TYPE_STRING, 0 },
};

const children_list_t idmef_process_children_list[] = {
        { "ident", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "name", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "pid", 0, IDMEF_VALUE_TYPE_UINT32, 0 },
        { "path", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "arg", 1, IDMEF_VALUE_TYPE_STRING, 0 },
        { "env", 1, IDMEF_VALUE_TYPE_STRING, 0 },
};

const children_list_t idmef_web_service_children_list[] = {
        { "url", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "cgi", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "http_method", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "arg", 1, IDMEF_VALUE_TYPE_STRING, 0 },
};

const children_list_t idmef_snmp_service_children_list[] = {
        { "oid", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "message_processing_model", 0, IDMEF_VALUE_TYPE_UINT32, 0 },
        { "security_model", 0, IDMEF_VALUE_TYPE_UINT32, 0 },
        { "security_name", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "security_level", 0, IDMEF_VALUE_TYPE_UINT32, 0 },
        { "context_name", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "context_engine_id", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "command", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "community", 0, IDMEF_VALUE_TYPE_STRING, 0 },
};

const children_list_t idmef_service_children_list[] = {
        { "ident", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "ip_version", 0, IDMEF_VALUE_TYPE_UINT8, 0 },
        { "iana_protocol_number", 0, IDMEF_VALUE_TYPE_UINT8, 0 },
        { "iana_protocol_name", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "name", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "port", 0, IDMEF_VALUE_TYPE_UINT16, 0 },
        { "portlist", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "protocol", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "web_service", 0, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_WEB_SERVICE },
        { "snmp_service", 0, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_SNMP_SERVICE },
};

const children_list_t idmef_node_children_list[] = {
        { "ident", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "category", 0, IDMEF_VALUE_TYPE_ENUM, IDMEF_CLASS_ID_NODE_CATEGORY },
        { "location", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "name", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "address", 1, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_ADDRESS },
};

const children_list_t idmef_source_children_list[] = {
        { "ident", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "spoofed", 0, IDMEF_VALUE_TYPE_ENUM, IDMEF_CLASS_ID_SOURCE_SPOOFED },
        { "interface", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "node", 0, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_NODE },
        { "user", 0, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_USER },
        { "process", 0, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_PROCESS },
        { "service", 0, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_SERVICE },
};

const children_list_t idmef_file_access_children_list[] = {
        { "user_id", 0, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_USER_ID },
        { "permission", 1, IDMEF_VALUE_TYPE_STRING, 0 },
};

const children_list_t idmef_inode_children_list[] = {
        { "change_time", 0, IDMEF_VALUE_TYPE_TIME, 0 },
        { "number", 0, IDMEF_VALUE_TYPE_UINT32, 0 },
        { "major_device", 0, IDMEF_VALUE_TYPE_UINT32, 0 },
        { "minor_device", 0, IDMEF_VALUE_TYPE_UINT32, 0 },
        { "c_major_device", 0, IDMEF_VALUE_TYPE_UINT32, 0 },
        { "c_minor_device", 0, IDMEF_VALUE_TYPE_UINT32, 0 },
};

const children_list_t idmef_checksum_children_list[] = {
        { "value", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "key", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "algorithm", 0, IDMEF_VALUE_TYPE_ENUM, IDMEF_CLASS_ID_CHECKSUM_ALGORITHM },
};

const children_list_t idmef_file_children_list[] = {
        { "ident", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "name", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "path", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "create_time", 0, IDMEF_VALUE_TYPE_TIME, 0 },
        { "modify_time", 0, IDMEF_VALUE_TYPE_TIME, 0 },
        { "access_time", 0, IDMEF_VALUE_TYPE_TIME, 0 },
        { "data_size", 0, IDMEF_VALUE_TYPE_UINT64, 0 },
        { "disk_size", 0, IDMEF_VALUE_TYPE_UINT64, 0 },
        { "file_access", 1, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_FILE_ACCESS },
        { "linkage", 1, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_LINKAGE },
        { "inode", 0, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_INODE },
        { "checksum", 1, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_CHECKSUM },
        { "category", 0, IDMEF_VALUE_TYPE_ENUM, IDMEF_CLASS_ID_FILE_CATEGORY },
        { "fstype", 0, IDMEF_VALUE_TYPE_ENUM, IDMEF_CLASS_ID_FILE_FSTYPE },
        { "file_type", 0, IDMEF_VALUE_TYPE_STRING, 0 },
};

const children_list_t idmef_linkage_children_list[] = {
        { "category", 0, IDMEF_VALUE_TYPE_ENUM, IDMEF_CLASS_ID_LINKAGE_CATEGORY },
        { "name", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "path", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "file", 0, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_FILE },
};

const children_list_t idmef_target_children_list[] = {
        { "ident", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "decoy", 0, IDMEF_VALUE_TYPE_ENUM, IDMEF_CLASS_ID_TARGET_DECOY },
        { "interface", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "node", 0, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_NODE },
        { "user", 0, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_USER },
        { "process", 0, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_PROCESS },
        { "service", 0, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_SERVICE },
        { "file", 1, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_FILE },
};

const children_list_t idmef_analyzer_children_list[] = {
        { "analyzerid", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "name", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "manufacturer", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "model", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "version", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "class", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "ostype", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "osversion", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "node", 0, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_NODE },
        { "process", 0, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_PROCESS },
};

const children_list_t idmef_alertident_children_list[] = {
        { "alertident", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "analyzerid", 0, IDMEF_VALUE_TYPE_STRING, 0 },
};

const children_list_t idmef_impact_children_list[] = {
        { "severity", 0, IDMEF_VALUE_TYPE_ENUM, IDMEF_CLASS_ID_IMPACT_SEVERITY },
        { "completion", 0, IDMEF_VALUE_TYPE_ENUM, IDMEF_CLASS_ID_IMPACT_COMPLETION },
        { "type", 0, IDMEF_VALUE_TYPE_ENUM, IDMEF_CLASS_ID_IMPACT_TYPE },
        { "description", 0, IDMEF_VALUE_TYPE_STRING, 0 },
};

const children_list_t idmef_action_children_list[] = {
        { "category", 0, IDMEF_VALUE_TYPE_ENUM, IDMEF_CLASS_ID_ACTION_CATEGORY },
        { "description", 0, IDMEF_VALUE_TYPE_STRING, 0 },
};

const children_list_t idmef_confidence_children_list[] = {
        { "rating", 0, IDMEF_VALUE_TYPE_ENUM, IDMEF_CLASS_ID_CONFIDENCE_RATING },
        { "confidence", 0, IDMEF_VALUE_TYPE_FLOAT, 0 },
};

const children_list_t idmef_assessment_children_list[] = {
        { "impact", 0, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_IMPACT },
        { "action", 1, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_ACTION },
        { "confidence", 0, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_CONFIDENCE },
};

const children_list_t idmef_tool_alert_children_list[] = {
        { "name", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "command", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "alertident", 1, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_ALERTIDENT },
};

const children_list_t idmef_correlation_alert_children_list[] = {
        { "name", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "alertident", 1, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_ALERTIDENT },
};

const children_list_t idmef_overflow_alert_children_list[] = {
        { "program", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "size", 0, IDMEF_VALUE_TYPE_UINT32, 0 },
        { "buffer", 0, IDMEF_VALUE_TYPE_DATA, 0 },
};

const children_list_t idmef_alert_children_list[] = {
        { "messageid", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "analyzer", 1, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_ANALYZER },
        { "create_time", 0, IDMEF_VALUE_TYPE_TIME, 0 },
        { "classification", 0, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_CLASSIFICATION },
        { "detect_time", 0, IDMEF_VALUE_TYPE_TIME, 0 },
        { "analyzer_time", 0, IDMEF_VALUE_TYPE_TIME, 0 },
        { "source", 1, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_SOURCE },
        { "target", 1, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_TARGET },
        { "assessment", 0, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_ASSESSMENT },
        { "additional_data", 1, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_ADDITIONAL_DATA },
        { "tool_alert", 0, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_TOOL_ALERT },
        { "correlation_alert", 0, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_CORRELATION_ALERT },
        { "overflow_alert", 0, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_OVERFLOW_ALERT },
};

const children_list_t idmef_heartbeat_children_list[] = {
        { "messageid", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "analyzer", 1, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_ANALYZER },
        { "create_time", 0, IDMEF_VALUE_TYPE_TIME, 0 },
        { "analyzer_time", 0, IDMEF_VALUE_TYPE_TIME, 0 },
        { "heartbeat_interval", 0, IDMEF_VALUE_TYPE_UINT32, 0 },
        { "additional_data", 1, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_ADDITIONAL_DATA },
};

const children_list_t idmef_message_children_list[] = {
        { "version", 0, IDMEF_VALUE_TYPE_STRING, 0 },
        { "alert", 0, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_ALERT },
        { "heartbeat", 0, IDMEF_VALUE_TYPE_CLASS, IDMEF_CLASS_ID_HEARTBEAT },
};


typedef struct {
        const char *name;
        size_t children_list_elem;
        const children_list_t *children_list;
        int (*get_child)(void *ptr, idmef_class_child_id_t child, void **ret);
        int (*new_child)(void *ptr, idmef_class_child_id_t child, int n, void **ret);
        int (*destroy_child)(void *ptr, idmef_class_child_id_t child, int n);
        int (*to_numeric)(const char *name);
        const char *(*to_string)(int val);
        int (*copy)(const void *src, void *dst);
        int (*clone)(const void *src, void **dst);
        int (*compare)(const void *obj1, const void *obj2);
        void *(*ref)(void *src);
        void (*destroy)(void *obj);
} object_data_t;


const object_data_t object_data[] = {
        { "(unassigned)", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }, /* ID: 0 */
        { "(unassigned)", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }, /* ID: 1 */
        { "(unassigned)", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }, /* ID: 2 */
        { "additional_data_type", 0, NULL, NULL, NULL, NULL, (void *) idmef_additional_data_type_to_numeric, (void *) idmef_additional_data_type_to_string, NULL, NULL, NULL, NULL, NULL }, /* ID: 3 */
        { "additional_data", sizeof(idmef_additional_data_children_list) / sizeof(*idmef_additional_data_children_list), idmef_additional_data_children_list, _idmef_additional_data_get_child, _idmef_additional_data_new_child, _idmef_additional_data_destroy_child, NULL, NULL, (void *) idmef_additional_data_copy, (void *) idmef_additional_data_clone, (void *) idmef_additional_data_compare, (void *) idmef_additional_data_ref, (void *) idmef_additional_data_destroy }, /* ID: 4 */
        { "reference_origin", 0, NULL, NULL, NULL, NULL, (void *) idmef_reference_origin_to_numeric, (void *) idmef_reference_origin_to_string, NULL, NULL, NULL, NULL, NULL }, /* ID: 5 */
        { "classification", sizeof(idmef_classification_children_list) / sizeof(*idmef_classification_children_list), idmef_classification_children_list, _idmef_classification_get_child, _idmef_classification_new_child, _idmef_classification_destroy_child, NULL, NULL, (void *) idmef_classification_copy, (void *) idmef_classification_clone, (void *) idmef_classification_compare, (void *) idmef_classification_ref, (void *) idmef_classification_destroy }, /* ID: 6 */
        { "user_id_type", 0, NULL, NULL, NULL, NULL, (void *) idmef_user_id_type_to_numeric, (void *) idmef_user_id_type_to_string, NULL, NULL, NULL, NULL, NULL }, /* ID: 7 */
        { "user_id", sizeof(idmef_user_id_children_list) / sizeof(*idmef_user_id_children_list), idmef_user_id_children_list, _idmef_user_id_get_child, _idmef_user_id_new_child, _idmef_user_id_destroy_child, NULL, NULL, (void *) idmef_user_id_copy, (void *) idmef_user_id_clone, (void *) idmef_user_id_compare, (void *) idmef_user_id_ref, (void *) idmef_user_id_destroy }, /* ID: 8 */
        { "user_category", 0, NULL, NULL, NULL, NULL, (void *) idmef_user_category_to_numeric, (void *) idmef_user_category_to_string, NULL, NULL, NULL, NULL, NULL }, /* ID: 9 */
        { "user", sizeof(idmef_user_children_list) / sizeof(*idmef_user_children_list), idmef_user_children_list, _idmef_user_get_child, _idmef_user_new_child, _idmef_user_destroy_child, NULL, NULL, (void *) idmef_user_copy, (void *) idmef_user_clone, (void *) idmef_user_compare, (void *) idmef_user_ref, (void *) idmef_user_destroy }, /* ID: 10 */
        { "address_category", 0, NULL, NULL, NULL, NULL, (void *) idmef_address_category_to_numeric, (void *) idmef_address_category_to_string, NULL, NULL, NULL, NULL, NULL }, /* ID: 11 */
        { "address", sizeof(idmef_address_children_list) / sizeof(*idmef_address_children_list), idmef_address_children_list, _idmef_address_get_child, _idmef_address_new_child, _idmef_address_destroy_child, NULL, NULL, (void *) idmef_address_copy, (void *) idmef_address_clone, (void *) idmef_address_compare, (void *) idmef_address_ref, (void *) idmef_address_destroy }, /* ID: 12 */
        { "process", sizeof(idmef_process_children_list) / sizeof(*idmef_process_children_list), idmef_process_children_list, _idmef_process_get_child, _idmef_process_new_child, _idmef_process_destroy_child, NULL, NULL, (void *) idmef_process_copy, (void *) idmef_process_clone, (void *) idmef_process_compare, (void *) idmef_process_ref, (void *) idmef_process_destroy }, /* ID: 13 */
        { "web_service", sizeof(idmef_web_service_children_list) / sizeof(*idmef_web_service_children_list), idmef_web_service_children_list, _idmef_web_service_get_child, _idmef_web_service_new_child, _idmef_web_service_destroy_child, NULL, NULL, (void *) idmef_web_service_copy, (void *) idmef_web_service_clone, (void *) idmef_web_service_compare, (void *) idmef_web_service_ref, (void *) idmef_web_service_destroy }, /* ID: 14 */
        { "snmp_service", sizeof(idmef_snmp_service_children_list) / sizeof(*idmef_snmp_service_children_list), idmef_snmp_service_children_list, _idmef_snmp_service_get_child, _idmef_snmp_service_new_child, _idmef_snmp_service_destroy_child, NULL, NULL, (void *) idmef_snmp_service_copy, (void *) idmef_snmp_service_clone, (void *) idmef_snmp_service_compare, (void *) idmef_snmp_service_ref, (void *) idmef_snmp_service_destroy }, /* ID: 15 */
        { "service_type", 0, NULL, NULL, NULL, NULL, (void *) idmef_service_type_to_numeric, (void *) idmef_service_type_to_string, NULL, NULL, NULL, NULL, NULL }, /* ID: 16 */
        { "service", sizeof(idmef_service_children_list) / sizeof(*idmef_service_children_list), idmef_service_children_list, _idmef_service_get_child, _idmef_service_new_child, _idmef_service_destroy_child, NULL, NULL, (void *) idmef_service_copy, (void *) idmef_service_clone, (void *) idmef_service_compare, (void *) idmef_service_ref, (void *) idmef_service_destroy }, /* ID: 17 */
        { "node_category", 0, NULL, NULL, NULL, NULL, (void *) idmef_node_category_to_numeric, (void *) idmef_node_category_to_string, NULL, NULL, NULL, NULL, NULL }, /* ID: 18 */
        { "node", sizeof(idmef_node_children_list) / sizeof(*idmef_node_children_list), idmef_node_children_list, _idmef_node_get_child, _idmef_node_new_child, _idmef_node_destroy_child, NULL, NULL, (void *) idmef_node_copy, (void *) idmef_node_clone, (void *) idmef_node_compare, (void *) idmef_node_ref, (void *) idmef_node_destroy }, /* ID: 19 */
        { "source_spoofed", 0, NULL, NULL, NULL, NULL, (void *) idmef_source_spoofed_to_numeric, (void *) idmef_source_spoofed_to_string, NULL, NULL, NULL, NULL, NULL }, /* ID: 20 */
        { "source", sizeof(idmef_source_children_list) / sizeof(*idmef_source_children_list), idmef_source_children_list, _idmef_source_get_child, _idmef_source_new_child, _idmef_source_destroy_child, NULL, NULL, (void *) idmef_source_copy, (void *) idmef_source_clone, (void *) idmef_source_compare, (void *) idmef_source_ref, (void *) idmef_source_destroy }, /* ID: 21 */
        { "file_access", sizeof(idmef_file_access_children_list) / sizeof(*idmef_file_access_children_list), idmef_file_access_children_list, _idmef_file_access_get_child, _idmef_file_access_new_child, _idmef_file_access_destroy_child, NULL, NULL, (void *) idmef_file_access_copy, (void *) idmef_file_access_clone, (void *) idmef_file_access_compare, (void *) idmef_file_access_ref, (void *) idmef_file_access_destroy }, /* ID: 22 */
        { "inode", sizeof(idmef_inode_children_list) / sizeof(*idmef_inode_children_list), idmef_inode_children_list, _idmef_inode_get_child, _idmef_inode_new_child, _idmef_inode_destroy_child, NULL, NULL, (void *) idmef_inode_copy, (void *) idmef_inode_clone, (void *) idmef_inode_compare, (void *) idmef_inode_ref, (void *) idmef_inode_destroy }, /* ID: 23 */
        { "file_category", 0, NULL, NULL, NULL, NULL, (void *) idmef_file_category_to_numeric, (void *) idmef_file_category_to_string, NULL, NULL, NULL, NULL, NULL }, /* ID: 24 */
        { "file_fstype", 0, NULL, NULL, NULL, NULL, (void *) idmef_file_fstype_to_numeric, (void *) idmef_file_fstype_to_string, NULL, NULL, NULL, NULL, NULL }, /* ID: 25 */
        { "file", sizeof(idmef_file_children_list) / sizeof(*idmef_file_children_list), idmef_file_children_list, _idmef_file_get_child, _idmef_file_new_child, _idmef_file_destroy_child, NULL, NULL, (void *) idmef_file_copy, (void *) idmef_file_clone, (void *) idmef_file_compare, (void *) idmef_file_ref, (void *) idmef_file_destroy }, /* ID: 26 */
        { "linkage_category", 0, NULL, NULL, NULL, NULL, (void *) idmef_linkage_category_to_numeric, (void *) idmef_linkage_category_to_string, NULL, NULL, NULL, NULL, NULL }, /* ID: 27 */
        { "linkage", sizeof(idmef_linkage_children_list) / sizeof(*idmef_linkage_children_list), idmef_linkage_children_list, _idmef_linkage_get_child, _idmef_linkage_new_child, _idmef_linkage_destroy_child, NULL, NULL, (void *) idmef_linkage_copy, (void *) idmef_linkage_clone, (void *) idmef_linkage_compare, (void *) idmef_linkage_ref, (void *) idmef_linkage_destroy }, /* ID: 28 */
        { "target_decoy", 0, NULL, NULL, NULL, NULL, (void *) idmef_target_decoy_to_numeric, (void *) idmef_target_decoy_to_string, NULL, NULL, NULL, NULL, NULL }, /* ID: 29 */
        { "target", sizeof(idmef_target_children_list) / sizeof(*idmef_target_children_list), idmef_target_children_list, _idmef_target_get_child, _idmef_target_new_child, _idmef_target_destroy_child, NULL, NULL, (void *) idmef_target_copy, (void *) idmef_target_clone, (void *) idmef_target_compare, (void *) idmef_target_ref, (void *) idmef_target_destroy }, /* ID: 30 */
        { "analyzer", sizeof(idmef_analyzer_children_list) / sizeof(*idmef_analyzer_children_list), idmef_analyzer_children_list, _idmef_analyzer_get_child, _idmef_analyzer_new_child, _idmef_analyzer_destroy_child, NULL, NULL, (void *) idmef_analyzer_copy, (void *) idmef_analyzer_clone, (void *) idmef_analyzer_compare, (void *) idmef_analyzer_ref, (void *) idmef_analyzer_destroy }, /* ID: 31 */
        { "alertident", sizeof(idmef_alertident_children_list) / sizeof(*idmef_alertident_children_list), idmef_alertident_children_list, _idmef_alertident_get_child, _idmef_alertident_new_child, _idmef_alertident_destroy_child, NULL, NULL, (void *) idmef_alertident_copy, (void *) idmef_alertident_clone, (void *) idmef_alertident_compare, (void *) idmef_alertident_ref, (void *) idmef_alertident_destroy }, /* ID: 32 */
        { "impact_severity", 0, NULL, NULL, NULL, NULL, (void *) idmef_impact_severity_to_numeric, (void *) idmef_impact_severity_to_string, NULL, NULL, NULL, NULL, NULL }, /* ID: 33 */
        { "impact_completion", 0, NULL, NULL, NULL, NULL, (void *) idmef_impact_completion_to_numeric, (void *) idmef_impact_completion_to_string, NULL, NULL, NULL, NULL, NULL }, /* ID: 34 */
        { "impact_type", 0, NULL, NULL, NULL, NULL, (void *) idmef_impact_type_to_numeric, (void *) idmef_impact_type_to_string, NULL, NULL, NULL, NULL, NULL }, /* ID: 35 */
        { "impact", sizeof(idmef_impact_children_list) / sizeof(*idmef_impact_children_list), idmef_impact_children_list, _idmef_impact_get_child, _idmef_impact_new_child, _idmef_impact_destroy_child, NULL, NULL, (void *) idmef_impact_copy, (void *) idmef_impact_clone, (void *) idmef_impact_compare, (void *) idmef_impact_ref, (void *) idmef_impact_destroy }, /* ID: 36 */
        { "action_category", 0, NULL, NULL, NULL, NULL, (void *) idmef_action_category_to_numeric, (void *) idmef_action_category_to_string, NULL, NULL, NULL, NULL, NULL }, /* ID: 37 */
        { "action", sizeof(idmef_action_children_list) / sizeof(*idmef_action_children_list), idmef_action_children_list, _idmef_action_get_child, _idmef_action_new_child, _idmef_action_destroy_child, NULL, NULL, (void *) idmef_action_copy, (void *) idmef_action_clone, (void *) idmef_action_compare, (void *) idmef_action_ref, (void *) idmef_action_destroy }, /* ID: 38 */
        { "confidence_rating", 0, NULL, NULL, NULL, NULL, (void *) idmef_confidence_rating_to_numeric, (void *) idmef_confidence_rating_to_string, NULL, NULL, NULL, NULL, NULL }, /* ID: 39 */
        { "confidence", sizeof(idmef_confidence_children_list) / sizeof(*idmef_confidence_children_list), idmef_confidence_children_list, _idmef_confidence_get_child, _idmef_confidence_new_child, _idmef_confidence_destroy_child, NULL, NULL, (void *) idmef_confidence_copy, (void *) idmef_confidence_clone, (void *) idmef_confidence_compare, (void *) idmef_confidence_ref, (void *) idmef_confidence_destroy }, /* ID: 40 */
        { "assessment", sizeof(idmef_assessment_children_list) / sizeof(*idmef_assessment_children_list), idmef_assessment_children_list, _idmef_assessment_get_child, _idmef_assessment_new_child, _idmef_assessment_destroy_child, NULL, NULL, (void *) idmef_assessment_copy, (void *) idmef_assessment_clone, (void *) idmef_assessment_compare, (void *) idmef_assessment_ref, (void *) idmef_assessment_destroy }, /* ID: 41 */
        { "tool_alert", sizeof(idmef_tool_alert_children_list) / sizeof(*idmef_tool_alert_children_list), idmef_tool_alert_children_list, _idmef_tool_alert_get_child, _idmef_tool_alert_new_child, _idmef_tool_alert_destroy_child, NULL, NULL, (void *) idmef_tool_alert_copy, (void *) idmef_tool_alert_clone, (void *) idmef_tool_alert_compare, (void *) idmef_tool_alert_ref, (void *) idmef_tool_alert_destroy }, /* ID: 42 */
        { "correlation_alert", sizeof(idmef_correlation_alert_children_list) / sizeof(*idmef_correlation_alert_children_list), idmef_correlation_alert_children_list, _idmef_correlation_alert_get_child, _idmef_correlation_alert_new_child, _idmef_correlation_alert_destroy_child, NULL, NULL, (void *) idmef_correlation_alert_copy, (void *) idmef_correlation_alert_clone, (void *) idmef_correlation_alert_compare, (void *) idmef_correlation_alert_ref, (void *) idmef_correlation_alert_destroy }, /* ID: 43 */
        { "overflow_alert", sizeof(idmef_overflow_alert_children_list) / sizeof(*idmef_overflow_alert_children_list), idmef_overflow_alert_children_list, _idmef_overflow_alert_get_child, _idmef_overflow_alert_new_child, _idmef_overflow_alert_destroy_child, NULL, NULL, (void *) idmef_overflow_alert_copy, (void *) idmef_overflow_alert_clone, (void *) idmef_overflow_alert_compare, (void *) idmef_overflow_alert_ref, (void *) idmef_overflow_alert_destroy }, /* ID: 44 */
        { "alert_type", 0, NULL, NULL, NULL, NULL, (void *) idmef_alert_type_to_numeric, (void *) idmef_alert_type_to_string, NULL, NULL, NULL, NULL, NULL }, /* ID: 45 */
        { "alert", sizeof(idmef_alert_children_list) / sizeof(*idmef_alert_children_list), idmef_alert_children_list, _idmef_alert_get_child, _idmef_alert_new_child, _idmef_alert_destroy_child, NULL, NULL, (void *) idmef_alert_copy, (void *) idmef_alert_clone, (void *) idmef_alert_compare, (void *) idmef_alert_ref, (void *) idmef_alert_destroy }, /* ID: 46 */
        { "heartbeat", sizeof(idmef_heartbeat_children_list) / sizeof(*idmef_heartbeat_children_list), idmef_heartbeat_children_list, _idmef_heartbeat_get_child, _idmef_heartbeat_new_child, _idmef_heartbeat_destroy_child, NULL, NULL, (void *) idmef_heartbeat_copy, (void *) idmef_heartbeat_clone, (void *) idmef_heartbeat_compare, (void *) idmef_heartbeat_ref, (void *) idmef_heartbeat_destroy }, /* ID: 47 */
        { "message_type", 0, NULL, NULL, NULL, NULL, (void *) idmef_message_type_to_numeric, (void *) idmef_message_type_to_string, NULL, NULL, NULL, NULL, NULL }, /* ID: 48 */
        { "message", sizeof(idmef_message_children_list) / sizeof(*idmef_message_children_list), idmef_message_children_list, _idmef_message_get_child, _idmef_message_new_child, _idmef_message_destroy_child, NULL, NULL, (void *) idmef_message_copy, (void *) idmef_message_clone, (void *) idmef_message_compare, (void *) idmef_message_ref, (void *) idmef_message_destroy }, /* ID: 49 */
        { "reference", sizeof(idmef_reference_children_list) / sizeof(*idmef_reference_children_list), idmef_reference_children_list, _idmef_reference_get_child, _idmef_reference_new_child, _idmef_reference_destroy_child, NULL, NULL, (void *) idmef_reference_copy, (void *) idmef_reference_clone, (void *) idmef_reference_compare, (void *) idmef_reference_ref, (void *) idmef_reference_destroy }, /* ID: 50 */
        { "(unassigned)", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }, /* ID: 51 */
        { "checksum", sizeof(idmef_checksum_children_list) / sizeof(*idmef_checksum_children_list), idmef_checksum_children_list, _idmef_checksum_get_child, _idmef_checksum_new_child, _idmef_checksum_destroy_child, NULL, NULL, (void *) idmef_checksum_copy, (void *) idmef_checksum_clone, (void *) idmef_checksum_compare, (void *) idmef_checksum_ref, (void *) idmef_checksum_destroy }, /* ID: 52 */
        { "checksum_algorithm", 0, NULL, NULL, NULL, NULL, (void *) idmef_checksum_algorithm_to_numeric, (void *) idmef_checksum_algorithm_to_string, NULL, NULL, NULL, NULL, NULL }, /* ID: 53 */
        { NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }
};