summaryrefslogtreecommitdiff
path: root/content/urldb.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2013-10-23 13:49:33 +0100
committerVincent Sanders <vince@netsurf-browser.org>2013-10-23 13:49:33 +0100
commit776d0b90a15bd425e14db99bb64471d53cb529c6 (patch)
tree41a873787d4aad6aff245d524ed77293610e4418 /content/urldb.h
parent8cb2d52483adf1f1291d4e6e86c8525bf6f7e790 (diff)
downloadnetsurf-776d0b90a15bd425e14db99bb64471d53cb529c6.tar.gz
netsurf-776d0b90a15bd425e14db99bb64471d53cb529c6.tar.bz2
improve comment to indicate what API is for
Diffstat (limited to 'content/urldb.h')
-rw-r--r--content/urldb.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/content/urldb.h b/content/urldb.h
index 9c88903b1..6a2946515 100644
--- a/content/urldb.h
+++ b/content/urldb.h
@@ -75,10 +75,7 @@ void urldb_set_url_persistence(nsurl *url, bool persist);
/* URL insertion */
bool urldb_add_url(nsurl *url);
-struct host_part *urldb_add_host(const char *host);
-struct path_data *urldb_add_path(lwc_string *scheme, unsigned int port,
- const struct host_part *host, char *path_query,
- lwc_string *fragment, nsurl *url);
+
/* URL data modification / lookup */
void urldb_set_url_title(nsurl *url, const char *title);
@@ -121,4 +118,11 @@ void urldb_delete_cookie(const char *domain, const char *path, const char *name)
void urldb_load_cookies(const char *filename);
void urldb_save_cookies(const char *filename);
+
+/* test harness only */
+struct host_part *urldb_add_host(const char *host);
+struct path_data *urldb_add_path(lwc_string *scheme, unsigned int port,
+ const struct host_part *host, char *path_query,
+ lwc_string *fragment, nsurl *url);
+
#endif