OpenVAS Scanner  7.0.0~git
nmap_parser Struct Reference

Handle states for XML parsing. More...

Collaboration diagram for nmap_parser:
Collaboration graph

Data Fields

GHashTable * opentag
 
GHashTable * closetag
 
gboolean in_host
 
gboolean in_ports
 
gboolean in_port
 
gboolean in_hostscript
 
gboolean enable_read
 
gchar * rbuff
 

Detailed Description

Handle states for XML parsing.

Definition at line 277 of file nasl_builtin_nmap.c.

Field Documentation

◆ closetag

GHashTable* nmap_parser::closetag

Parsing callbacks for closing tags.

Definition at line 280 of file nasl_builtin_nmap.c.

Referenced by nmap_destroy(), setup_xml_parser(), and xml_end_element().

◆ enable_read

gboolean nmap_parser::enable_read

Parsing flag: care about text.

Definition at line 286 of file nasl_builtin_nmap.c.

Referenced by setup_xml_parser(), xml_read_text(), xmltag_close_cpe(), and xmltag_open_cpe().

◆ in_host

◆ in_hostscript

gboolean nmap_parser::in_hostscript

Parsing flag: mark hostscript section.

Definition at line 285 of file nasl_builtin_nmap.c.

Referenced by setup_xml_parser(), xmltag_close_hostscript(), and xmltag_open_hostscript().

◆ in_port

gboolean nmap_parser::in_port

◆ in_ports

gboolean nmap_parser::in_ports

Parsing flag: mark ports section.

Definition at line 283 of file nasl_builtin_nmap.c.

Referenced by setup_xml_parser(), xmltag_close_ports(), and xmltag_open_ports().

◆ opentag

GHashTable* nmap_parser::opentag

Parsing callbacks for opening tags.

Definition at line 279 of file nasl_builtin_nmap.c.

Referenced by nmap_destroy(), setup_xml_parser(), and xml_start_element().

◆ rbuff

gchar* nmap_parser::rbuff

Read buffer to handle text sections.

Definition at line 287 of file nasl_builtin_nmap.c.

Referenced by xml_read_text(), xmltag_close_cpe(), and xmltag_open_cpe().


The documentation for this struct was generated from the following file: