source: trunk/src/core/scew_extras.h @ 1427

Last change on this file since 1427 was 583, checked in by dkearney, 18 years ago

updated RpBuffer? object, cleaning up much of the code.
added putData() calls to RpLibrary?, still need a getData call.
added new function to the scew extra functions to directly add a char* buffer to the xml
updated makefiles as needed

File size: 1.2 KB
Line 
1/*
2 * ======================================================================
3 *  Copyright (c) 2004-2005  Purdue Research Foundation
4 *
5 *  See the file "license.terms" for information on usage and
6 *  redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
7 * ======================================================================
8 */
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13extern scew_element*
14scew_element_parent(scew_element const* element);
15
16/**
17 * Returns a list of elements that matches the name specified. The
18 * number of elements is returned in count. The returned pointer must be
19 * freed after using it, calling the <code>scew_element_list_free</code>
20 * function.
21 */
22extern scew_element**
23scew_element_list_all(scew_element const* parent, unsigned int* count);
24
25extern int
26scew_element_copy_attr(scew_element const* fromElement, scew_element* toElement);
27
28extern scew_element*
29scew_element_copy (scew_element* element);
30
31extern XML_Char const*
32scew_element_set_contents_binary(   scew_element* element,
33                                    XML_Char const* bytes,
34                                    unsigned int* nbytes    );
35
36#ifdef __cplusplus
37}
38#endif
39
Note: See TracBrowser for help on using the repository browser.