Add core Python agent with configuration management, environment setup, and deployment documentation. Includes user/agent profiles, startup scripts, and dependency management for the psagentia system.
26 lines
1.1 KiB
Cython
Executable File
26 lines
1.1 KiB
Cython
Executable File
from lxml.includes.tree cimport xmlDoc, xmlOutputBuffer, xmlChar
|
|
from lxml.includes.xpath cimport xmlNodeSet
|
|
|
|
cdef extern from "libxml/c14n.h" nogil:
|
|
cdef int xmlC14NDocDumpMemory(xmlDoc* doc,
|
|
xmlNodeSet* nodes,
|
|
int exclusive,
|
|
xmlChar** inclusive_ns_prefixes,
|
|
int with_comments,
|
|
xmlChar** doc_txt_ptr)
|
|
|
|
cdef int xmlC14NDocSave(xmlDoc* doc,
|
|
xmlNodeSet* nodes,
|
|
int exclusive,
|
|
xmlChar** inclusive_ns_prefixes,
|
|
int with_comments,
|
|
char* filename,
|
|
int compression)
|
|
|
|
cdef int xmlC14NDocSaveTo(xmlDoc* doc,
|
|
xmlNodeSet* nodes,
|
|
int exclusive,
|
|
xmlChar** inclusive_ns_prefixes,
|
|
int with_comments,
|
|
xmlOutputBuffer* buffer)
|