move-link-up-line: segfault when cursor was below last line.
[elinks.git] / src / document / refresh.h
blob2d8732cd81b65c14d6d30f0cd2868d50b27cbed5
1 #ifndef EL__DOCUMENT_REFRESH_H
2 #define EL__DOCUMENT_REFRESH_H
4 #include "main/timer.h" /* timer_id_T */
6 struct session;
7 struct uri;
9 struct document_refresh {
10 timer_id_T timer;
11 unsigned long seconds;
12 struct uri *uri;
13 unsigned int restart:1;
16 struct document_refresh *init_document_refresh(unsigned char *url, unsigned long seconds);
17 void done_document_refresh(struct document_refresh *refresh);
18 void kill_document_refresh(struct document_refresh *refresh);
19 void start_document_refreshes(struct session *ses);
21 #endif