17c478bd9Sstevel@tonic-gate /* 2*9525b14bSRao Shoaib * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") 37c478bd9Sstevel@tonic-gate * Copyright (c) 1996,1999 by Internet Software Consortium. 47c478bd9Sstevel@tonic-gate * 57c478bd9Sstevel@tonic-gate * Permission to use, copy, modify, and distribute this software for any 67c478bd9Sstevel@tonic-gate * purpose with or without fee is hereby granted, provided that the above 77c478bd9Sstevel@tonic-gate * copyright notice and this permission notice appear in all copies. 87c478bd9Sstevel@tonic-gate * 9*9525b14bSRao Shoaib * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES 10*9525b14bSRao Shoaib * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11*9525b14bSRao Shoaib * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR 12*9525b14bSRao Shoaib * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13*9525b14bSRao Shoaib * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14*9525b14bSRao Shoaib * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT 15*9525b14bSRao Shoaib * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 167c478bd9Sstevel@tonic-gate */ 177c478bd9Sstevel@tonic-gate 187c478bd9Sstevel@tonic-gate /* 19*9525b14bSRao Shoaib * $Id: nis_p.h,v 1.3 2005/04/27 04:56:33 sra Exp $ 20*9525b14bSRao Shoaib */ 21*9525b14bSRao Shoaib 22*9525b14bSRao Shoaib /*! \file 23*9525b14bSRao Shoaib * \brief 247c478bd9Sstevel@tonic-gate * nis_p.h - private include file for the NIS functions. 257c478bd9Sstevel@tonic-gate */ 267c478bd9Sstevel@tonic-gate 27*9525b14bSRao Shoaib /*% 287c478bd9Sstevel@tonic-gate * Object state. 297c478bd9Sstevel@tonic-gate */ 307c478bd9Sstevel@tonic-gate struct nis_p { 317c478bd9Sstevel@tonic-gate char * domain; 327c478bd9Sstevel@tonic-gate struct __res_state * res; 337c478bd9Sstevel@tonic-gate void (*free_res) __P((void *)); 347c478bd9Sstevel@tonic-gate }; 357c478bd9Sstevel@tonic-gate 367c478bd9Sstevel@tonic-gate 377c478bd9Sstevel@tonic-gate /* 387c478bd9Sstevel@tonic-gate * Methods. 397c478bd9Sstevel@tonic-gate */ 407c478bd9Sstevel@tonic-gate 417c478bd9Sstevel@tonic-gate extern struct irs_gr * irs_nis_gr __P((struct irs_acc *)); 427c478bd9Sstevel@tonic-gate extern struct irs_pw * irs_nis_pw __P((struct irs_acc *)); 437c478bd9Sstevel@tonic-gate extern struct irs_sv * irs_nis_sv __P((struct irs_acc *)); 447c478bd9Sstevel@tonic-gate extern struct irs_pr * irs_nis_pr __P((struct irs_acc *)); 457c478bd9Sstevel@tonic-gate extern struct irs_ho * irs_nis_ho __P((struct irs_acc *)); 467c478bd9Sstevel@tonic-gate extern struct irs_nw * irs_nis_nw __P((struct irs_acc *)); 477c478bd9Sstevel@tonic-gate extern struct irs_ng * irs_nis_ng __P((struct irs_acc *)); 48