1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-20 00:15:31 +00:00
elinks/src/document/refresh.h
Witold Filipczyk 0fea79cc8f [cflags] Removed -Wno-pointer-sign
Likely some new bugs were introduced by this change.
The long term goal is clean compilation by g++.
2021-01-02 16:20:27 +01:00

30 lines
585 B
C

#ifndef EL__DOCUMENT_REFRESH_H
#define EL__DOCUMENT_REFRESH_H
#include "main/timer.h" /* timer_id_T */
#ifdef __cplusplus
extern "C" {
#endif
struct session;
struct uri;
struct document_refresh {
timer_id_T timer;
unsigned long seconds;
struct uri *uri;
unsigned int restart:1;
};
struct document_refresh *init_document_refresh(char *url, unsigned long seconds);
void done_document_refresh(struct document_refresh *refresh);
void kill_document_refresh(struct document_refresh *refresh);
void start_document_refreshes(struct session *ses);
#ifdef __cplusplus
}
#endif
#endif