summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2021-10-16 17:44:48 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2021-10-16 17:44:48 +0200
commit39794f24b1f15d57e8ab5483ea1908828998c99d (patch)
treedb43432d582822773baef02ad4a00974d752427a
parent5eac2a9ffd7629fcba1c4800c63f90f8ea32ad17 (diff)
libdirmgt: remove empty library
* libdirmgt: Remove directory.
-rw-r--r--doc/hurd.texi3
-rw-r--r--libdirmgt/Makefile23
-rw-r--r--libdirmgt/dirmgt.h51
3 files changed, 0 insertions, 77 deletions
diff --git a/doc/hurd.texi b/doc/hurd.texi
index 7c3fe9c3..54c9049b 100644
--- a/doc/hurd.texi
+++ b/doc/hurd.texi
@@ -2999,9 +2999,6 @@ If @option{--name} is specified, the client must use the device name in
created by some other programs, for example by eth-multiplexer.
-FIXME: a chapter on libdirmgt will probably go here
-
-
@node Stores
@chapter Stores
diff --git a/libdirmgt/Makefile b/libdirmgt/Makefile
deleted file mode 100644
index f4e9f758..00000000
--- a/libdirmgt/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright (C) 1995, 2012 Free Software Foundation
-# Written by Michael I. Bushnell.
-#
-# 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 this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-dir := libdirmgt
-makemode := misc
-
-include ../Makeconf
diff --git a/libdirmgt/dirmgt.h b/libdirmgt/dirmgt.h
deleted file mode 100644
index 15921609..00000000
--- a/libdirmgt/dirmgt.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- Copyright (C) 1994 Free Software Foundation
-
- This program 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.
-
- This program 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 this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-
-/* This library manages directories for users who want to
- write filesystem servers. */
-
-/* Search directory DIR for name NAME. If NODEP is nonzero, then
- set *NODEP to the node found. If TYPE is nonzero, then
- set *TYPE to the type of the node found. */
-error_t
-dirmgt_lookup (struct directory *dir, char *name, struct node **nodep,
- int *type);
-
-/* Add NODE to DIR under name NAME. If NAME is already present in
- the directory, the existing entry under that name is replaced without
- further notice. TYPE is the DT_* name for the type of node. */
-error_t
-dirmgt_enter (struct directory *dir, char *name, struct node *node,
- int type);
-
-/* Add SUBDIR to DIR under name NAME. If NAME is already present in
- the directory, then EBUSY is returned. */
-error_t
-dirmgt_enter_dir (struct directory *dir, char *name, struct directory *subdir);
-
-/* Return directory contents to a user; args are exactly as for
- the fs.defs:dir_readdir RPC. */
-error_t
-dirmgt_readdir (struct directory *dir, char **data, u_int *datacnt,
- int entry, int nentries, vm_size_t bufsiz, int *amt);
-
-/* If this routine is defined, then it will be called when a lookup on
- a directory fails. If this routine returns success, the lookup will
- then be repeated. If it returns an error, then the lookup will fail
- with the reported error. */
-error_t
-(*dirmgt_find_entry)(struct directory *dir, char *name);