diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-08-07 16:03:46 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-08-07 16:03:46 +0000 |
commit | bd1ebae0eb756824f9a8dbc66aa2913733c06354 (patch) | |
tree | ba51c6a301fe6be75fbd23ad5e1073dc0962d5cf /nis/rpcsvc/nislib.h | |
parent | fe710250508e0710ac5db1fff1596ac5b092ab64 (diff) | |
download | glibc-bd1ebae0eb756824f9a8dbc66aa2913733c06354.tar glibc-bd1ebae0eb756824f9a8dbc66aa2913733c06354.tar.gz glibc-bd1ebae0eb756824f9a8dbc66aa2913733c06354.tar.bz2 glibc-bd1ebae0eb756824f9a8dbc66aa2913733c06354.zip |
* nis/nis_call.c: Minor cleanups throughout.
(rec_dirsearch) [HIGHER_NAME]: Correctly size ndomain array.
(first_shoot): Add search_parent_first parameter. Only if it is set
search parent server first.
If directory for table found through cold start cache is not the same
as referenced in the cache, don't use it.
(__nisfind_server): Take additional parameter. Pass it on to
first_shoot.
(__prepare_niscall): Adjust __nisfind_server call.
* nis/rpcsvc/nislib.h: Adjust __nisfind_server prototype.
* nis/nis_table.c: Adjust __nisfind_server call.
* nis/nis_lookup.c: Likewise.
(nis_lookup): Don't loop endlessly if name is reduced to ".".
Diffstat (limited to 'nis/rpcsvc/nislib.h')
-rw-r--r-- | nis/rpcsvc/nislib.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nis/rpcsvc/nislib.h b/nis/rpcsvc/nislib.h index a55de61830..c993bac5e8 100644 --- a/nis/rpcsvc/nislib.h +++ b/nis/rpcsvc/nislib.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. +/* Copyright (C) 1997, 1998, 1999, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Thorsten Kukuk <kukuk@suse.de>, 1997. @@ -276,7 +276,8 @@ extern nis_error __nisbind_create (dir_binding *, const nis_server *, extern nis_error __nisbind_connect (dir_binding *) __THROW; extern nis_error __nisbind_next (dir_binding *) __THROW; extern void __nisbind_destroy (dir_binding *) __THROW; -extern nis_error __nisfind_server (const_nis_name, directory_obj **) __THROW; +extern nis_error __nisfind_server (const_nis_name, int, directory_obj **) + __THROW; #endif |