1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/src/bookmarks/backend/common.h

28 lines
494 B
C
Raw Normal View History

#ifndef EL__BOOKMARKS_BACKEND_COMMON_H
#define EL__BOOKMARKS_BACKEND_COMMON_H
#include <stdio.h>
#include "util/lists.h"
#include "util/secsave.h"
#ifdef __cplusplus
extern "C" {
#endif
struct bookmarks_backend {
/* Order matters here. --Zas. */
const char *(*filename)(int);
void (*read)(FILE *);
2007-07-26 15:39:08 -04:00
void (*write)(struct secure_save_info *, LIST_OF(struct bookmark) *);
};
void bookmarks_read(void);
2007-07-26 15:39:08 -04:00
void bookmarks_write(LIST_OF(struct bookmark) *);
#ifdef __cplusplus
}
#endif
#endif