1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
elinks/src/bookmarks/backend/common.h
2007-07-26 22:47:23 +03:00

20 lines
428 B
C

#ifndef EL__BOOKMARKS_BACKEND_COMMON_H
#define EL__BOOKMARKS_BACKEND_COMMON_H
#include <stdio.h>
#include "util/lists.h"
#include "util/secsave.h"
struct bookmarks_backend {
/* Order matters here. --Zas. */
unsigned char *(*filename)(int);
void (*read)(FILE *);
void (*write)(struct secure_save_info *, LIST_OF(struct bookmark) *);
};
void bookmarks_read(void);
void bookmarks_write(LIST_OF(struct bookmark) *);
#endif