diff options
author | p37sitdu, corvid <devnull@localhost> | 2013-01-12 20:13:36 +0000 |
---|---|---|
committer | p37sitdu, corvid <devnull@localhost> | 2013-01-12 20:13:36 +0000 |
commit | 0f0e7cc54aecab1647bdcd222c84d17275b92313 (patch) | |
tree | 225d4a6128cd2ddbc1f762b0355c986f12c13730 /src/url.h | |
parent | 69666a2dafc8a00e5029f4b671ed94d5be38e109 (diff) |
clean up struct typedefs
Diffstat (limited to 'src/url.h')
-rw-r--r-- | src/url.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -84,13 +84,11 @@ #define URL_ILLEGAL_CHARS_SPC(u) URL_ILLEGAL_CHARS_SPC_(u) -typedef struct _DilloUrl DilloUrl; - #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ -struct _DilloUrl { +typedef struct { Dstr *url_string; const char *buffer; const char *scheme; /**/ @@ -106,7 +104,7 @@ struct _DilloUrl { int ismap_url_len; /* Used by server side image maps */ int illegal_chars; /* number of illegal chars */ int illegal_chars_spc; /* number of illegal space chars */ -}; +} DilloUrl; DilloUrl* a_Url_new(const char *url_str, const char *base_url); |