summaryrefslogtreecommitdiff
path: root/src/bookmarks.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookmarks.h')
-rw-r--r--src/bookmarks.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bookmarks.h b/src/bookmarks.h
index a3269a59..aac83be1 100644
--- a/src/bookmarks.h
+++ b/src/bookmarks.h
@@ -52,7 +52,7 @@ void add_Bookmarks (iBookmarks *, const iString *url, const iString *ti
52iBool remove_Bookmarks (iBookmarks *, uint32_t id); 52iBool remove_Bookmarks (iBookmarks *, uint32_t id);
53iBookmark *get_Bookmarks (iBookmarks *, uint32_t id); 53iBookmark *get_Bookmarks (iBookmarks *, uint32_t id);
54 54
55typedef iBool (*iBookmarksFilterFunc) (const iBookmark *); 55typedef iBool (*iBookmarksFilterFunc) (void *context, const iBookmark *);
56typedef int (*iBookmarksCompareFunc)(const iBookmark **, const iBookmark **); 56typedef int (*iBookmarksCompareFunc)(const iBookmark **, const iBookmark **);
57 57
58/** 58/**
@@ -66,5 +66,5 @@ typedef int (*iBookmarksCompareFunc)(const iBookmark **, const iBookmark **);
66 * @return Collected array of bookmarks. Caller does not get ownership of the 66 * @return Collected array of bookmarks. Caller does not get ownership of the
67 * listed bookmarks. 67 * listed bookmarks.
68 */ 68 */
69const iPtrArray *list_Bookmarks(const iBookmarks *, iBookmarksFilterFunc filter, 69const iPtrArray *list_Bookmarks(const iBookmarks *, iBookmarksCompareFunc cmp,
70 iBookmarksCompareFunc cmp); 70 iBookmarksFilterFunc filter, void *context);