Added very basic XML support using libxml2. (0.35.0)
This commit is contained in:
parent
ecf64d6ac2
commit
e65756226d
17 changed files with 436 additions and 3 deletions
|
|
@ -188,6 +188,12 @@ typedef enum {
|
|||
OP_INI_UNSET, // pops key, section, handle; pushes 1/0
|
||||
OP_INI_SAVE, // pops path, handle; pushes 1/0
|
||||
|
||||
// XML (libxml2) optional minimal API
|
||||
OP_XML_PARSE, // pops text string; pushes doc handle (>0) or 0
|
||||
OP_XML_ROOT, // pops doc handle; pushes node handle (>0) or 0
|
||||
OP_XML_NAME, // pops node handle; pushes string (node name)
|
||||
OP_XML_TEXT, // pops node handle; pushes string (node text)
|
||||
|
||||
// Sockets (UNIX platforms)
|
||||
OP_SOCK_TCP_LISTEN, // pops backlog, port; returns listen fd (>0) or 0
|
||||
OP_SOCK_TCP_ACCEPT, // pops listen fd; returns client fd (>0) or 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue