~ubuntu-branches/ubuntu/maverick/conglomerate/maverick

« back to all changes in this revision

Viewing changes to src/cong-node.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2005-11-08 05:07:06 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051108050706-bcg60nwqf1z3w0d6
Tags: 0.9.1-1ubuntu1
* Resynchronise with Debian (Closes: #4397).
  - Thanks, Jordan Mantha.

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
typedef struct CongSpanEditor CongSpanEditor; 
84
84
 
85
85
typedef xmlNodePtr CongNodePtr;
86
 
typedef xmlChar CongXMLChar;
 
86
 
 
87
#define CONG_XML_NAMESPACE (const gchar*)XML_XML_NAMESPACE 
87
88
 
88
89
CongNodePtr cong_node_prev(CongNodePtr node);
89
90
CongNodePtr cong_node_next(CongNodePtr node);
149
150
 
150
151
/* Methods for accessing attribute values: */
151
152
 
152
 
CongXMLChar* cong_node_get_attribute(CongNodePtr node,
153
 
                                     xmlNs* ns_ptr, 
154
 
                                     const CongXMLChar* local_attribute_name);
 
153
gchar* cong_node_get_attribute(CongNodePtr node,
 
154
                               xmlNsPtr ns_ptr, 
 
155
                               const gchar *local_attribute_name);
155
156
gboolean cong_node_has_attribute(CongNodePtr node,
156
 
                                 xmlNs* ns_ptr, 
157
 
                                 const CongXMLChar* local_attribute_name);
 
157
                                 xmlNsPtr ns_ptr, 
 
158
                                 const gchar *local_attribute_name);
158
159
 
159
160
/* Selftest methods: */
160
161
void cong_node_self_test(CongNodePtr node);
281
282
void cong_node_private_add_after(CongNodePtr node, CongNodePtr older_sibling);
282
283
void cong_node_private_add_before(CongNodePtr node, CongNodePtr younger_sibling);
283
284
void cong_node_private_set_parent(CongNodePtr node, CongNodePtr adoptive_parent, gboolean add_to_end);
284
 
void cong_node_private_set_text(CongNodePtr node, const xmlChar *new_content);
 
285
void cong_node_private_set_text(CongNodePtr node, const gchar *new_content);
285
286
void cong_node_private_set_attribute(CongNodePtr node,
286
287
                                     xmlNs *ns_ptr, 
287
 
                                     const xmlChar *local_attribute_name,
288
 
                                     const xmlChar *value);
 
288
                                     const gchar *local_attribute_name,
 
289
                                     const gchar *value);
289
290
void cong_node_private_remove_attribute(CongNodePtr node,
290
291
                                        xmlNs *ns_ptr, 
291
 
                                        const xmlChar *local_attribute_name);
 
292
                                        const gchar *local_attribute_name);
292
293
 
293
294
/* Utilities: */
294
295