Codebase list dillo / 462034fd-d4de-4c08-a0cd-5a55f76ebc5c/main src / history.h
462034fd-d4de-4c08-a0cd-5a55f76ebc5c/main

Tree @462034fd-d4de-4c08-a0cd-5a55f76ebc5c/main (Download .tar.gz)

history.h @462034fd-d4de-4c08-a0cd-5a55f76ebc5c/mainraw · history · blame

#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__ */