aboutsummaryrefslogtreecommitdiff
path: root/src/url.h
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-09-14 15:10:41 +0200
committerjcid <devnull@localhost>2008-09-14 15:10:41 +0200
commit4272ccda16b3d6b8695f01eb3c6ea544a97cbf54 (patch)
treefe04b225b6adeecc2fce18d175368efa6ff89c94 /src/url.h
parentf6940d9ad7ee28c7226b8e66798fb9537ae3e238 (diff)
- Forbid dpi GET and POST from non dpi-generated urls.
- Cleaned up a_Url_new().
Diffstat (limited to 'src/url.h')
-rw-r--r--src/url.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/url.h b/src/url.h
index 4fbdca60..f3c0ab82 100644
--- a/src/url.h
+++ b/src/url.h
@@ -110,15 +110,12 @@ struct _DilloUrl {
Dstr *data; /* POST */
const char *alt; /* "alt" text (used by image maps) */
int ismap_url_len; /* Used by server side image maps */
- int32_t scrolling_position_x, /* remember position of visited urls */
- scrolling_position_y;
int illegal_chars; /* number of illegal chars */
int illegal_chars_spc; /* number of illegal space chars */
};
-DilloUrl* a_Url_new(const char *url_str, const char *base_url,
- int flags, int32_t posx, int32_t posy);
+DilloUrl* a_Url_new(const char *url_str, const char *base_url);
void a_Url_free(DilloUrl *u);
char *a_Url_str(const DilloUrl *url);
const char *a_Url_hostname(const DilloUrl *u);
@@ -127,7 +124,6 @@ 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_pos(DilloUrl *u, int32_t posx, int32_t posy);
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);