Update of /cvsroot/monetdb/pathfinder/src/sqlhelpers/xmlshred/include
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32221/include
Modified Files:
shred_helper.h
Log Message:
-- Speed-wise, the ``fast format'' logic is obsolete now.
Index: shred_helper.h
===================================================================
RCS file:
/cvsroot/monetdb/pathfinder/src/sqlhelpers/xmlshred/include/shred_helper.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- shred_helper.h 8 Jan 2008 10:00:14 -0000 1.17
+++ shred_helper.h 10 Jan 2008 16:05:14 -0000 1.18
@@ -57,6 +57,12 @@
#define MIN(x,y) ((x) < (y) ? (x) : (y))
#define MAX(x,y) ((x) >= (y) ? (x) : (y))
+/*
+ * Get next token from string *in; tokens are (possibly empty)
+ * strings separated by characters from del.
+ */
+char* strsplit(char **in, const char *del);
+
#ifndef HAVE_STRDUP
/**
* Alternative definition of strdup. It just duplicates a string
@@ -64,10 +70,10 @@
*
* @param s String to duplicate.
*/
-char * strdup (const char * s);
+char* strdup (const char * s);
#else
#if !HAVE_DECL_STRDUP
-extern char *strdup(const char *);
+extern char* strdup(const char *);
#endif
#ifdef NATIVE_WIN32
@@ -84,7 +90,7 @@
* @param s String to duplicate.
* @param n Copy only the first n characters.
*/
-char * strndup (const char * s, size_t n);
+char* strndup (const char * s, size_t n);
#else
#if !HAVE_DECL_STRNDUP
extern char *strndup(const char *, size_t);
@@ -100,7 +106,6 @@
bool attributes_separate; /** < print attributes into a separate file
*/
bool names_separate; /** < print names into a separate file
*/
bool statistics; /** < print guides into a separate file
*/
- bool fastformat; /** < flag to use static formatting
*/
char *format; /** < format string
*/
unsigned int strip_values; /** < only store strip_values characters in the
value column
*/
@@ -122,7 +127,7 @@
/**
* Open file @a path for writing.
*/
-FILE * SHopen_write (const char *path);
+FILE* SHopen_write (const char *path);
#endif /* SHRED_H__ */
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins