Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
ccan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mirror
ccan
Commits
385e0e53
Commit
385e0e53
authored
Sep 05, 2011
by
Daniel Burke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ttxml: Rplaced ratchet buffer with regular buffer, 20x speed increase
parent
b679512e
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
166 additions
and
114 deletions
+166
-114
ccan/ttxml/ttxml.c
ccan/ttxml/ttxml.c
+164
-112
ccan/ttxml/ttxml.h
ccan/ttxml/ttxml.h
+2
-2
No files found.
ccan/ttxml/ttxml.c
View file @
385e0e53
This diff is collapsed.
Click to expand it.
ccan/ttxml/ttxml.h
View file @
385e0e53
/* Licensed under GPL - see LICENSE file for details */
typedef
struct
XmlNode
{
typedef
struct
XmlNode
{
char
*
name
;
char
*
name
;
char
**
attrib
;
char
**
attrib
;
...
@@ -8,7 +8,7 @@ typedef struct XmlNode {
...
@@ -8,7 +8,7 @@ typedef struct XmlNode {
}
XmlNode
;
}
XmlNode
;
XmlNode
*
xml_new
(
char
*
name
,
char
*
attrib
);
XmlNode
*
xml_new
(
char
*
name
);
XmlNode
*
xml_load
(
const
char
*
filename
);
XmlNode
*
xml_load
(
const
char
*
filename
);
void
xml_free
(
XmlNode
*
target
);
void
xml_free
(
XmlNode
*
target
);
char
*
xml_attr
(
XmlNode
*
x
,
const
char
*
name
);
char
*
xml_attr
(
XmlNode
*
x
,
const
char
*
name
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment