path: root/include
authorSergey Poznyakoff <>2004-07-01 09:05:14 (GMT)
committer Sergey Poznyakoff <>2004-07-01 09:05:14 (GMT)
commit1a953a297d0c7e79e622c5329ca3c994a8192014 (patch) (side-by-side diff)
tree812c2c8fded6170dedc23e7a1ccb343f0d77fcaf /include
parentd54706407c16b92f419910b554a6aae05b3e3145 (diff)
(iterator_set_getitem): Changed proto (iterator_get_list): Removed.
Diffstat (limited to 'include') (more/less context) (ignore whitespace changes)
1 files changed, 3 insertions, 4 deletions
diff --git a/include/mailutils/iterator.h b/include/mailutils/iterator.h
index ffb332c..ab7996a 100644
--- a/include/mailutils/iterator.h
+++ b/include/mailutils/iterator.h
@@ -1,5 +1,5 @@
/* GNU Mailutils -- a suite of utilities for electronic mail
- Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000, 2004 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -29,9 +29,8 @@ extern int iterator_dup __P ((iterator_t *piterator, iterator_t orig));
extern void iterator_destroy __P ((iterator_t *));
extern int iterator_first __P ((iterator_t));
extern int iterator_next __P ((iterator_t));
-extern int iterator_current __P ((iterator_t, void **pitem));
+extern int iterator_current __P ((iterator_t, void * const *pitem));
extern int iterator_is_done __P ((iterator_t));
-extern int iterator_get_list __P ((iterator_t iterator, list_t *plist));
extern int iterator_attach (iterator_t *root, iterator_t iterator);
extern int iterator_detach (iterator_t *root, iterator_t iterator);
@@ -40,7 +39,7 @@ extern void iterator_advance (iterator_t iterator, void *e);
extern int iterator_set_first (iterator_t, int (*first) (void *));
extern int iterator_set_next (iterator_t, int (*next) (void *));
extern int iterator_set_getitem (iterator_t,
- int (*getitem) (void *, void **));
+ int (*getitem) (void *, void * const *));
extern int iterator_set_finished_p (iterator_t,
int (*finished_p) (void *));
extern int iterator_set_dup (iterator_t itr,

Return to:

Send suggestions and report system problems to the System administrator.