From 8acdc0f29b9b0b043939929b1ce3e71473b0b847 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Tue, 30 Jul 2013 11:59:18 +0200 Subject: 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 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); -- cgit v1.2.3