view src/history.h @ 2048:5060d415a85a

clickable menu items (even those introducing submenus) MUST have callbacks I clicked on the "Panel size" item itself instead of any of the options in its submenu, and: Segfault!
author corvid <>
date Thu, 26 May 2011 02:51:18 +0000
parents 0c5d982c92a0
line wrap: on
line source

#ifndef __DILLO_HISTORY_H__
#define __DILLO_HISTORY_H__

#include "url.h"

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

int a_History_add_url(DilloUrl *url);
void a_History_set_title_by_url(const DilloUrl *url, const char *title);
const 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(const DilloUrl *url, int force);
void a_History_freeall(void);

#ifdef __cplusplus
#endif /* __cplusplus */

#endif /* __DILLO_HISTORY_H__ */