[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH 10/16] 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.
---
 hurd/fsys.defs       |   10 +++++++++-
 hurd/fsys_reply.defs |    7 ++++++-
 2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/hurd/fsys.defs b/hurd/fsys.defs
index 979a6cf..15c903b 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 e203169..087b3cc 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);
-- 
1.7.10.4


Reply to: