chiark
/
gitweb
/
~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Expunge CVS cruft.
[mLib]
/
url.h
diff --git
a/url.h
b/url.h
index 3ccc49a8a77eb2038d23af59c95a30d06678e386..c351343f4b7ea9d388eb60e46e09d8975fb4937c 100644
(file)
--- a/
url.h
+++ b/
url.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: url.h,v 1.
1 1999/06/01 09:49:48
mdw Exp $
+ * $Id: url.h,v 1.
4 2004/04/08 01:36:13
mdw Exp $
*
* Parsing and construction of url-encoded name/value pairs
*
*
* Parsing and construction of url-encoded name/value pairs
*
@@
-27,16
+27,8
@@
* MA 02111-1307, USA.
*/
* MA 02111-1307, USA.
*/
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: url.h,v $
- * Revision 1.1 1999/06/01 09:49:48 mdw
- * New files for url-encoding and decoding.
- *
- */
-
-#ifndef URL_H
-#define URL_H
+#ifndef MLIB_URL_H
+#define MLIB_URL_H
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
extern "C" {
@@
-44,7
+36,7
@@
/*----- Header files ------------------------------------------------------*/
/*----- Header files ------------------------------------------------------*/
-#ifndef DSTR_H
+#ifndef
MLIB_
DSTR_H
# include "dstr.h"
#endif
# include "dstr.h"
#endif
@@
-54,9
+46,7
@@
typedef struct url_ectx {
unsigned f;
} url_ectx;
unsigned f;
} url_ectx;
-enum {
- URLF_SEP = 1
-};
+#define URLF_SEP 1u
typedef struct url_dctx {
const char *p;
typedef struct url_dctx {
const char *p;