update.
[glibc/history.git] / nis / nis_intern.h
bloba7cb785e400d415fb298730bab0b8719a2807c66
1 /* Copyright (c) 1997 Free Software Foundation, Inc.
2 This file is part of the GNU C Library.
3 Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1997.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public License as
7 published by the Free Software Foundation; either version 2 of the
8 License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public
16 License along with the GNU C Library; see the file COPYING.LIB. If not,
17 write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA. */
20 #ifndef __NIS_INTERN_H
22 #define __NIS_INTERN_H
23 #include <features.h>
25 __BEGIN_DECLS
27 extern nis_error __do_niscall2 __P ((const nis_server *serv, u_int serv_len,
28 u_long prog, xdrproc_t xargs, caddr_t req,
29 xdrproc_t xres, caddr_t resp,
30 u_long flags));
31 extern nis_error __do_niscall __P ((const_nis_name name, u_long prog,
32 xdrproc_t xargs, caddr_t req,
33 xdrproc_t xres, caddr_t resp,
34 u_long flags));
35 #if defined (HAVE_SECURE_RPC)
36 extern AUTH *authdes_pk_create __P ((const char *, const netobj *, u_int,
37 struct sockaddr *, des_block *));
38 #endif
40 /* NIS+ cache */
41 extern directory_obj *__cache_search __P ((const_nis_name name));
42 extern nis_error __cache_add __P ((fd_result *));
44 __END_DECLS
46 #endif