X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fpnd_pxml.h;h=f8fbbbb9876d9db1aaa2ba893dc3e67c504ed383;hb=51cbc6a30572ce4787ebfaf4bfbd0df992d522d0;hp=4bca9b32f39710cecaeb1c7ec395aeeb9ec3a8dc;hpb=0aa091adfd06b951e388a9c584635a2ae113041f;p=pandora-libraries.git diff --git a/include/pnd_pxml.h b/include/pnd_pxml.h index 4bca9b3..f8fbbbb 100644 --- a/include/pnd_pxml.h +++ b/include/pnd_pxml.h @@ -9,6 +9,8 @@ extern "C" { // this code is for very basic PXML.xml file parsing #define PXML_FILENAME "PXML.xml" /* a specification defined name */ +#define PXML_TAGHEAD "" /* case insensitive */ +#define PXML_TAGFOOT "" /* case insensitive */ // use this handle to interact with PXML; this hides the mechanics of parsing a PXML file so that // it can be upgraded with impacting applications @@ -17,6 +19,7 @@ typedef void* pnd_pxml_handle; /* pxml_fetch() will return NULL on fail, otherwise a valid handle which may be further queried */ pnd_pxml_handle pnd_pxml_fetch ( char *fullpath ); +pnd_pxml_handle pnd_pxml_fetch_buffer ( char *filename, char *buffer ); void pnd_pxml_delete ( pnd_pxml_handle h ); /* overrides() allow for customization of a PXML that persists; ie: An application might be sitting