From b5c88a74688d89d7775b67ec47792a41b69549fc Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sun, 16 Jun 1996 00:00:07 +0000 Subject: Initial revision --- libtrivfs/file-get-fs-options.c | 31 +++++++++++++++++++++++++++++++ libtrivfs/fsys-get-options.c | 30 ++++++++++++++++++++++++++++++ libtrivfs/fsys-set-options.c | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 93 insertions(+) create mode 100644 libtrivfs/file-get-fs-options.c create mode 100644 libtrivfs/fsys-get-options.c create mode 100644 libtrivfs/fsys-set-options.c diff --git a/libtrivfs/file-get-fs-options.c b/libtrivfs/file-get-fs-options.c new file mode 100644 index 00000000..09717aea --- /dev/null +++ b/libtrivfs/file-get-fs-options.c @@ -0,0 +1,31 @@ +/* Get runtime options given a file handle + + Copyright (C) 1996 Free Software Foundation + + This file is part of the GNU Hurd. + + The GNU Hurd is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + The GNU Hurd is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with the GNU Hurd; see the file COPYING. If not, write to + the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#include "priv.h" +#include "fsys_S.h" + +error_t +trivfs_S_file_get_fs_options (struct trivfs_protid *cred, + mach_port_t reply, + mach_msg_type_name_t reply_type, + char **data, mach_msg_type_number_t *len) +{ + return EOPNOTSUPP; +} diff --git a/libtrivfs/fsys-get-options.c b/libtrivfs/fsys-get-options.c new file mode 100644 index 00000000..be04ee64 --- /dev/null +++ b/libtrivfs/fsys-get-options.c @@ -0,0 +1,30 @@ +/* Get runtime options + + Copyright (C) 1996 Free Software Foundation + + This file is part of the GNU Hurd. + + The GNU Hurd is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + The GNU Hurd is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with the GNU Hurd; see the file COPYING. If not, write to + the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#include "priv.h" +#include "fsys_S.h" + +error_t +trivfs_S_fsys_get_options (struct trivfs_control *fsys, + mach_port_t reply, mach_msg_type_name_t reply_type, + char **data, mach_msg_type_number_t *len) +{ + return EOPNOTSUPP; +} diff --git a/libtrivfs/fsys-set-options.c b/libtrivfs/fsys-set-options.c new file mode 100644 index 00000000..d91f3834 --- /dev/null +++ b/libtrivfs/fsys-set-options.c @@ -0,0 +1,32 @@ +/* Set runtime options + + Copyright (C) 1996 Free Software Foundation + + This file is part of the GNU Hurd. + + The GNU Hurd is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + The GNU Hurd is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with the GNU Hurd; see the file COPYING. If not, write to + the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + + +#include "priv.h" +#include "fsys_S.h" + +error_t +trivfs_S_fsys_set_options (struct trivfs_control *cntl, + mach_port_t reply, mach_msg_type_name_t reply_type, + char *data, mach_msg_type_number_t len, + int do_children) +{ + return EOPNOTSUPP; +} -- cgit v1.2.3