iconv: Bail out of the loop when an illegal sequence of bytes occurs.
[elinks/elinks-j605.git] / src / bookmarks / backend / common.h
blobf406aa3c44a7104798260fcce8dd9820f32af492
2 #ifndef EL__BOOKMARKS_BACKEND_COMMON_H
3 #define EL__BOOKMARKS_BACKEND_COMMON_H
5 #include <stdio.h>
6 #include "util/lists.h"
7 #include "util/secsave.h"
9 struct bookmarks_backend {
10 /* Order matters here. --Zas. */
11 unsigned char *(*filename)(int);
12 void (*read)(FILE *);
13 void (*write)(struct secure_save_info *, LIST_OF(struct bookmark) *);
16 void bookmarks_read(void);
17 void bookmarks_write(LIST_OF(struct bookmark) *);
19 #endif