summaryrefslogtreecommitdiff
path: root/src/history.h
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2007-10-07 00:36:34 +0200
committerjcid <devnull@localhost>2007-10-07 00:36:34 +0200
commit93715c46a99c96d6c866968312691ec9ab0f6a03 (patch)
tree573f19ec6aa740844f53a7c0eb7114f04096bf64 /src/history.h
Initial revision
Diffstat (limited to 'src/history.h')
-rw-r--r--src/history.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/history.h b/src/history.h
new file mode 100644
index 00000000..a6f9f13f
--- /dev/null
+++ b/src/history.h
@@ -0,0 +1,24 @@
+
+#ifndef __DILLO_HISTORY_H__
+#define __DILLO_HISTORY_H__
+
+#include "url.h"
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+int a_History_add_url(DilloUrl *url);
+int a_History_set_title(int idx, const char *title);
+DilloUrl *a_History_get_url(int idx);
+const char *a_History_get_title(int idx, int force);
+const char *a_History_get_title_by_url(DilloUrl *url, int force);
+void a_History_free(void);
+
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* __DILLO_HISTORY_H__ */