From 3d4e7cf7f67da1d63e8fad8162fed4321e2ea0ce Mon Sep 17 00:00:00 2001
From: "Michael I. Bushnell" <mib@gnu.org>
Date: Thu, 14 Dec 1995 23:10:53 +0000
Subject: Initial revision

---
 libnetfs/priv.h | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 libnetfs/priv.h

diff --git a/libnetfs/priv.h b/libnetfs/priv.h
new file mode 100644
index 00000000..f9123ed2
--- /dev/null
+++ b/libnetfs/priv.h
@@ -0,0 +1,31 @@
+/* 
+   Copyright (C) 1995 Free Software Foundation, Inc.
+   Written by Michael I. Bushnell, p/BSG.
+
+   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., 59 Temple Place - Suite 330, Boston, MA  02111, USA. */
+
+extern inline struct protid *
+begin_using_protid_port (file_t port)
+{
+  return ports_lookup_port (netfs_port_bucket, port, netfs_protid_class);
+}
+
+extern inline void
+end_using_protid_port (struct protid *cred)
+{
+  ports_port_deref (cred);
+}
-- 
cgit v1.2.3