Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
3b47b098
...
3b47b098b1f1de0ce7220ff5e0453937946b6750
authored
2003-07-16 12:19:43 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(struct _iterator): Rewritten
(iterator_advance): New function.
1 parent
9610a1ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
mailbox/include/iterator0.h
mailbox/include/iterator0.h
View file @
3b47b09
...
...
@@ -30,9 +30,10 @@ extern "C" {
struct
_iterator
{
list_t
list
;
size_t
index
;
struct
_iterator
*
next
;
/* Next iterator in the chain */
list_t
list
;
/* Owner list */
struct
list_data
*
cur
;
/* Current list item */
int
is_advanced
;
/* Is the item already advanced */
};
...
...
@@ -40,4 +41,6 @@ struct _iterator
}
#endif
extern
void
iterator_advance
(
iterator_t
iterator
,
struct
list_data
*
e
);
#endif
/* _ITERATOR0_H */
...
...
Please
register
or
sign in
to post a comment