From 93715c46a99c96d6c866968312691ec9ab0f6a03 Mon Sep 17 00:00:00 2001 From: jcid Date: Sun, 7 Oct 2007 00:36:34 +0200 Subject: Initial revision --- src/history.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/history.h (limited to 'src/history.h') 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__ */ -- cgit v1.2.3