aboutsummaryrefslogtreecommitdiffstats
path: root/com32/chain/partiter.h
diff options
context:
space:
mode:
authorMichal Soltys <soltys@ziu.info>2013-02-14 16:51:45 +0100
committerMichal Soltys <soltys@ziu.info>2013-02-14 16:53:04 +0100
commitf8bed91e44366badaa207223f1f80d3ffac25ee7 (patch)
tree3aaf0d908ec15a121341e22fae768c3055f49dbe /com32/chain/partiter.h
parente0f464b253260e668d6602b07857c75a560b0616 (diff)
downloadsyslinux-f8bed91e44366badaa207223f1f80d3ffac25ee7.tar.gz
syslinux-f8bed91e44366badaa207223f1f80d3ffac25ee7.tar.xz
syslinux-f8bed91e44366badaa207223f1f80d3ffac25ee7.zip
com32/chain: change stepall into flags
Signed-off-by: Michal Soltys <soltys@ziu.info>
Diffstat (limited to 'com32/chain/partiter.h')
-rw-r--r--com32/chain/partiter.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/com32/chain/partiter.h b/com32/chain/partiter.h
index 4f5a23d7..ac15de63 100644
--- a/com32/chain/partiter.h
+++ b/com32/chain/partiter.h
@@ -45,6 +45,10 @@
#define PI_DONE 1
#define PI_OK 0
+/* behaviour flags */
+
+#define PIF_STEPALL 0x01
+
struct itertype;
struct part_iter;
@@ -65,7 +69,7 @@ struct part_iter {
int index;
int rawindex;
struct disk_info di;
- int stepall;
+ int flags;
int status;
/* internal */
int index0;
@@ -98,7 +102,7 @@ extern const struct itertype * const typedos;
extern const struct itertype * const typegpt;
extern const struct itertype * const typeraw;
-struct part_iter *pi_begin(const struct disk_info *, int stepall);
+struct part_iter *pi_begin(const struct disk_info *, int flags);
struct part_iter *pi_new(const struct itertype *, ...);
void pi_del(struct part_iter **);
int pi_next(struct part_iter **);