// Allocate and link NS structure
nsp = (PNS)PlugSubAlloc(g, NULL, sizeof(NS));
nsp->Next = NULL;
nsp->Prefix = prefix;
nsp->Uri = href;
*ppns = nsp;
ppns = &nsp->Next;
} // endwhile next
returnfalse;
} // end of MakeNSlist
/******************************************************************/ /* Close ZIP file. */ /******************************************************************/ void XMLDOCUMENT::CloseZip(void)
{ #ifdefined(ZIP_SUPPORT) if (zip) {
zip->close();
zip = NULL;
} // endif zip #endif// ZIP_SUPPORT
} // end of CloseZip
/******************************************************************/ /* XMLNODE constructor. */ /******************************************************************/
XMLNODE::XMLNODE(PXDOC dp)
{
Doc = dp;
Next = NULL;
Children = NULL;
Buf = NULL;
Len = -1;
} // end of XMLNODE constructor
/******************************************************************/ /* Attach new node at the end of this node children list. */ /******************************************************************/
PXNODE XMLNODE::NewChild(PXNODE ncp)
{
PXNODE np, *pnp = &Children;
/******************************************************************/ /* Delete a node from this node children list. */ /******************************************************************/ void XMLNODE::Delete(PXNODE dnp)
{
PXNODE *pnp = &Children;
/******************************************************************/ /* Store a string in Buf, eventually reallocating it. */ /******************************************************************/ char *XMLNODE::BufAlloc(PGLOBAL g, constchar *p, int n)
{ if (Len < n) {
Len = n;
Buf = (char*)PlugSubAlloc(g, NULL, n + 1);
} // endif Len
*Buf = '\0'; return strncat(Buf, p, n);
} // end of BufAlloc
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet am 2026-10-08)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.