From 7dd0f755f4ac29e6c10085c16e18dd97d92ae5e7 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Sun, 1 Nov 2015 12:34:36 +0100 Subject: libtrivfs: remove deprecated static class vectors This API has been deprecated in Hurd 0.7. * doc/hurd.texi (trivfs_protid_portclasses, trivfs_protid_nportclasses, trivfs_cntl_portclasses, trivfs_cntl_nportclasses): Remove. * libtrivfs/trivfs.h: Likewise. * libtrivfs/mig-decls.h: Adapt accordingly. * libtrivfs/cntl-classes.c: Remove unused file. * libtrivfs/protid-classes.c: Likewise. * libtrivfs/Makefile (OTHERSRCS): Drop the two files. --- doc/hurd.texi | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'doc') diff --git a/doc/hurd.texi b/doc/hurd.texi index 21a78950..23c5c8a9 100644 --- a/doc/hurd.texi +++ b/doc/hurd.texi @@ -2318,17 +2318,6 @@ The functions and variables described in this subsection already have default definitions in @code{libtrivfs}, so you are not forced to define them; rather, they may be redefined on a case-by-case basis. -@deftypevar {extern struct port_class *} trivfs_protid_portclasses [] -@deftypevarx {extern int} trivfs_protid_nportclasses -@deftypevarx {extern struct port_class *} trivfs_cntl_portclasses [] -@deftypevarx {extern int} trivfs_cntl_nportclasses -If you define these, they should be vectors (and the associated sizes) -of port classes that will be translated into control and protid pointers -for passing to RPCs, in addition to those passed to or created by -@code{trivfs_create_control} (or @code{trivfs_startup}), which will -automatically be recognized. -@end deftypevar - @deftypefn {Variable} error_t {(*trivfs_check_open_hook)} (@w{struct trivfs_control *@var{cntl}}, @w{struct iouser *@var{user}}, @w{int @var{flags}}) If this variable is non-zero, it will be called every time an open happens. @var{user} and @var{flags} are from the open; @var{cntl} identifies the -- cgit v1.2.3