summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-07-30 11:59:18 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-09-15 23:18:18 +0200
commit8acdc0f29b9b0b043939929b1ce3e71473b0b847 (patch)
tree22401f3042a44e16f0dd309ce6e8b6aa54b8d258
parentc51d6ea6607223b290a96f483399ba4ca25cce6f (diff)
hurd: add fsys_get_children
fsys_get_children returns any active translators bound to nodes of the receiving filesystem as an argz vector containing file names relative to the root of the receiving translator. * hurd/fsys.defs: Add fsys_get_children. * hurd/fsys_reply.defs: Add fsys_get_children.
-rw-r--r--hurd/fsys.defs10
-rw-r--r--hurd/fsys_reply.defs7
2 files changed, 15 insertions, 2 deletions
diff --git a/hurd/fsys.defs b/hurd/fsys.defs
index 979a6cfc..15c903b7 100644
--- a/hurd/fsys.defs
+++ b/hurd/fsys.defs
@@ -1,5 +1,5 @@
/* Definitions for the filesystem control interface
- Copyright (C) 1992,93,94,95,96,97, 2002 Free Software Foundation
+ Copyright (C) 1992,93,94,95,96,97, 2002,13 Free Software Foundation
This file is part of the GNU Hurd.
@@ -127,3 +127,11 @@ routine fsys_get_options (
server: fsys_t;
RPT
out options: data_t, dealloc);
+
+/* Return any active translators bound to nodes of the receiving
+ filesystem. CHILDREN is an argz vector containing file names
+ relative to the root of the receiving translator. */
+routine fsys_get_children (
+ server: fsys_t;
+ RPT
+ out children: data_t);
diff --git a/hurd/fsys_reply.defs b/hurd/fsys_reply.defs
index e2031692..087b3cc5 100644
--- a/hurd/fsys_reply.defs
+++ b/hurd/fsys_reply.defs
@@ -1,6 +1,6 @@
/* Reply half of fsys
- Copyright (C) 1991, 1993, 1994, 1995, 2001, 2007
+ Copyright (C) 1991, 1993, 1994, 1995, 2001, 2007, 2013
Free Software Foundation, Inc.
This file is part of the GNU Hurd.
@@ -76,3 +76,8 @@ simpleroutine fsys_get_options_reply (
reply_port: reply_port_t;
RETURN_CODE_ARG;
options: data_t);
+
+simpleroutine fsys_get_children (
+ server: fsys_t;
+ RETURN_CODE_ARG;
+ children: data_t);