2005-09-15 09:58:31 -04:00
|
|
|
#ifndef EL__SESSION_LOCATION_H
|
|
|
|
#define EL__SESSION_LOCATION_H
|
|
|
|
|
|
|
|
#include "session/download.h"
|
2021-07-25 17:07:05 -04:00
|
|
|
#include "session/session.h"
|
2005-09-15 09:58:31 -04:00
|
|
|
#include "util/lists.h"
|
|
|
|
#include "viewer/text/vs.h"
|
|
|
|
|
2020-10-05 14:14:55 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2005-09-15 09:58:31 -04:00
|
|
|
struct location {
|
|
|
|
LIST_HEAD(struct location);
|
|
|
|
|
2007-07-26 15:39:08 -04:00
|
|
|
LIST_OF(struct frame) frames;
|
2021-07-25 17:07:05 -04:00
|
|
|
LIST_OF(struct frame) iframes;
|
2005-09-15 09:58:31 -04:00
|
|
|
struct download download;
|
|
|
|
struct view_state vs;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
void copy_location(struct location *, struct location *);
|
|
|
|
|
2007-07-27 07:14:00 -04:00
|
|
|
/** You probably want to call del_from_history() first!
|
|
|
|
* @relates location */
|
2005-09-15 09:58:31 -04:00
|
|
|
void destroy_location(struct location *);
|
|
|
|
|
2020-10-05 14:14:55 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2005-09-15 09:58:31 -04:00
|
|
|
#endif
|