#include <libermanifest/ermanifest.h>#include "scbconfig.h"

Go to the source code of this file.
Classes | |
| struct | _ScbXml |
Typedefs | |
| typedef struct _ScbXml | ScbXml |
| typedef ScbXml * | ScbXmlPtr |
Functions | |
| ScbXmlPtr | scb_xml_clone (const ScbXmlPtr src) |
| void | scb_xml_free (ScbXmlPtr ptr) |
Copyright (C) 2005-2008 iRex Technologies B.V. All rights reserved.
Definition at line 27 of file scbxml.c.
00028 { 00029 if (NULL == src) 00030 { 00031 SCB_ERROR("Invalid src pointer!"); 00032 return NULL; 00033 } 00034 00035 ScbXmlPtr ret = g_new0(ScbXml, 1); 00036 if (NULL == ret) 00037 { 00038 SCB_ERROR("Not enough memory!"); 00039 return NULL; 00040 } 00041 // add ref 00042 ret->handle.pDoc = src->handle.pDoc; 00043 ret->handle.pPathCtx = src->handle.pPathCtx; 00044 strncpy(ret->xPath, src->xPath, SCB_MAX_XML_PATH); 00045 ret->index = src->index; 00046 return ret; 00047 }
| void scb_xml_free | ( | ScbXmlPtr | ptr | ) |
1.5.6