| - -( dyne // software :: culture :: events :: planet :: discussion :: museum \\ freaknet )- - |
#include "xmlprofile.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "jutils.h"
Go to the source code of this file.
Defines | |
| #define | XML_ELEMENT_NONE 0 |
| #define | XML_ELEMENT_START 1 |
| #define | XML_ELEMENT_VALUE 2 |
| #define | XML_ELEMENT_END 3 |
| #define | XML_ELEMENT_UNIQUE 4 |
| #define | SKIP_BLANKS(__p) while((*__p==' ' || *__p=='\t' || *__p=='\r' || *__p == '\n') && *__p!=0) __p++; |
| #define | ADVANCE_ELEMENT(__p) while(*__p!='>' && *__p!=' ' && *__p!='\t' && *__p!='\r' && *__p != '\n' && *__p!=0) __p++; |
| #define | ADVANCE_TO_ATTR_VALUE(__p) |
| #define | XML_FREE_ATTRIBUTES |
|
|
Definition at line 38 of file xmlprofile.cpp. |
|
|
Value: while(*__p!='=' && *__p!=' ' && *__p!='\t' && *__p!='\r' && *__p != '\n' && *__p!=0) __p++;\ SKIP_BLANKS(__p); Definition at line 41 of file xmlprofile.cpp. |
|
|
Definition at line 35 of file xmlprofile.cpp. |
|
|
Definition at line 32 of file xmlprofile.cpp. |
|
|
Definition at line 29 of file xmlprofile.cpp. |
|
|
Definition at line 30 of file xmlprofile.cpp. |
|
|
Definition at line 33 of file xmlprofile.cpp. |
|
|
Definition at line 31 of file xmlprofile.cpp. |
|
|
Value: if(nAttrs>0) {\ for(int i=0;i<nAttrs;i++) {\ if(attrs[i]) free(attrs[i]);\ if(values[i]) free(values[i]);\ }\ free(attrs);\ attrs=NULL;\ free(values);\ values=NULL;\ nAttrs=0;\ }\ if(start) free(start); |
|
|
|
|
| Copyleft 2000 - 2008 dyne.org foundation and respective authors. Verbatim copying and distribution is permitted in any medium, provided this notice is preserved. Send inquiries & questions to dyne.org's hackers. |
|