[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 10/16] hurd: add fsys_get_children
From: |
Justus Winter |
Subject: |
[PATCH 10/16] hurd: add fsys_get_children |
Date: |
Tue, 30 Jul 2013 11:59:18 +0200 |
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
- mtab translator (v4), Justus Winter, 2013/07/30
- [PATCH 02/16] libnetfs: handle dead-name notifications, Justus Winter, 2013/07/30
- [PATCH 01/16] libnetfs: implement file_get_translator_cntl, Justus Winter, 2013/07/30
- [PATCH 03/16] libdiskfs: track file name in struct peropen, Justus Winter, 2013/07/30
- [PATCH 04/16] libnetfs: track file name in struct peropen, Justus Winter, 2013/07/30
- [PATCH 05/16] libfshelp: add translator-list.c, Justus Winter, 2013/07/30
- [PATCH 06/16] libdiskfs: add fsys_get_children, Justus Winter, 2013/07/30
- [PATCH 08/16] libtrivfs: add fsys_get_children, Justus Winter, 2013/07/30
- [PATCH 07/16] libnetfs: add fsys_get_children, Justus Winter, 2013/07/30
- [PATCH 09/16] trans/symlink.c: add fsys_get_children, Justus Winter, 2013/07/30
- [PATCH 10/16] hurd: add fsys_get_children,
Justus Winter <=
[PATCH 11/16] libdiskfs: add fsys_get_source, Justus Winter, 2013/07/30
[PATCH 12/16] libnetfs: add fsys_get_source, Justus Winter, 2013/07/30
[PATCH 14/16] trans/symlink.c: add fsys_get_source, Justus Winter, 2013/07/30
[PATCH 13/16] libtrivfs: add fsys_get_source, Justus Winter, 2013/07/30
[PATCH 15/16] hurd: add fsys_get_source, Justus Winter, 2013/07/30
[PATCH 16/16] trans: add mtab translator, Justus Winter, 2013/07/30