aboutsummaryrefslogtreecommitdiff
path: root/src/url.h
diff options
context:
space:
mode:
authorcorvid <devnull@localhost>2015-06-01 16:40:10 +0000
committercorvid <devnull@localhost>2015-06-01 16:40:10 +0000
commit40989a38306d1dd5d356a6b049574e6434e1abb7 (patch)
treefe349d9c7c757e62b15a3758d6d4e6d3b18a044f /src/url.h
parentb4b85a7947a05841aa728a98d42c1e3ab66489d6 (diff)
rm the old-style url alt stuff
Diffstat (limited to 'src/url.h')
-rw-r--r--src/url.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/url.h b/src/url.h
index 6920f769..a280fd84 100644
--- a/src/url.h
+++ b/src/url.h
@@ -47,7 +47,6 @@
#define URL_QUERY_(u) (u)->query
#define URL_FRAGMENT_(u) (u)->fragment
#define URL_HOST_(u) a_Url_hostname(u)
-#define URL_ALT_(u) (u)->alt
#define URL_STR_(u) a_Url_str(u)
/* this returns a Dstr* */
#define URL_DATA_(u) (u)->data
@@ -94,7 +93,6 @@ typedef struct {
int port;
int flags;
Dstr *data; /* POST */
- const char *alt; /* "alt" text (used by image maps) */
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 */
@@ -109,7 +107,6 @@ DilloUrl* a_Url_dup(const DilloUrl *u);
int a_Url_cmp(const DilloUrl *A, const DilloUrl *B);
void a_Url_set_flags(DilloUrl *u, int flags);
void a_Url_set_data(DilloUrl *u, Dstr **data);
-void a_Url_set_alt(DilloUrl *u, const char *alt);
void a_Url_set_ismap_coords(DilloUrl *u, char *coord_str);
char *a_Url_decode_hex_str(const char *str);
char *a_Url_encode_hex_str(const char *str);