summaryrefslogtreecommitdiff
path: root/libports
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-21 18:25:02 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-21 18:25:02 +0000
commit7d9da8e2cd087f4d4482a9d9ebe4ba7203614fbb (patch)
tree13e848f4f07dd7b5bc2c5563cfea51a4013ce2e8 /libports
parentdea53bca8a96dc9d8f3d1a2e3510c0e0fc0993cb (diff)
(port_bucket_iterate): New decl.
Diffstat (limited to 'libports')
-rw-r--r--libports/ports.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libports/ports.h b/libports/ports.h
index 42bcb5f8..bb5f6cee 100644
--- a/libports/ports.h
+++ b/libports/ports.h
@@ -170,6 +170,10 @@ void ports_enable_class (struct port_class *class);
to continue. */
void port_enable_bucket (struct port_bucket *bucket);
+/* Call FUN once for each port in BUCKET. */
+void port_bucket_iterate (struct port_bucket *bucket,
+ void (*fun)(void *port));
+
/* RPC management */