10Sstevel@tonic-gate /* 2*11038SRao.Shoaib@Sun.COM * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") 30Sstevel@tonic-gate * Copyright (c) 1996,1999 by Internet Software Consortium. 40Sstevel@tonic-gate * 50Sstevel@tonic-gate * Permission to use, copy, modify, and distribute this software for any 60Sstevel@tonic-gate * purpose with or without fee is hereby granted, provided that the above 70Sstevel@tonic-gate * copyright notice and this permission notice appear in all copies. 80Sstevel@tonic-gate * 9*11038SRao.Shoaib@Sun.COM * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES 10*11038SRao.Shoaib@Sun.COM * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11*11038SRao.Shoaib@Sun.COM * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR 12*11038SRao.Shoaib@Sun.COM * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13*11038SRao.Shoaib@Sun.COM * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14*11038SRao.Shoaib@Sun.COM * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT 15*11038SRao.Shoaib@Sun.COM * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 160Sstevel@tonic-gate */ 170Sstevel@tonic-gate 180Sstevel@tonic-gate /* 19*11038SRao.Shoaib@Sun.COM * $Id: nis_p.h,v 1.3 2005/04/27 04:56:33 sra Exp $ 20*11038SRao.Shoaib@Sun.COM */ 21*11038SRao.Shoaib@Sun.COM 22*11038SRao.Shoaib@Sun.COM /*! \file 23*11038SRao.Shoaib@Sun.COM * \brief 240Sstevel@tonic-gate * nis_p.h - private include file for the NIS functions. 250Sstevel@tonic-gate */ 260Sstevel@tonic-gate 27*11038SRao.Shoaib@Sun.COM /*% 280Sstevel@tonic-gate * Object state. 290Sstevel@tonic-gate */ 300Sstevel@tonic-gate struct nis_p { 310Sstevel@tonic-gate char * domain; 320Sstevel@tonic-gate struct __res_state * res; 330Sstevel@tonic-gate void (*free_res) __P((void *)); 340Sstevel@tonic-gate }; 350Sstevel@tonic-gate 360Sstevel@tonic-gate 370Sstevel@tonic-gate /* 380Sstevel@tonic-gate * Methods. 390Sstevel@tonic-gate */ 400Sstevel@tonic-gate 410Sstevel@tonic-gate extern struct irs_gr * irs_nis_gr __P((struct irs_acc *)); 420Sstevel@tonic-gate extern struct irs_pw * irs_nis_pw __P((struct irs_acc *)); 430Sstevel@tonic-gate extern struct irs_sv * irs_nis_sv __P((struct irs_acc *)); 440Sstevel@tonic-gate extern struct irs_pr * irs_nis_pr __P((struct irs_acc *)); 450Sstevel@tonic-gate extern struct irs_ho * irs_nis_ho __P((struct irs_acc *)); 460Sstevel@tonic-gate extern struct irs_nw * irs_nis_nw __P((struct irs_acc *)); 470Sstevel@tonic-gate extern struct irs_ng * irs_nis_ng __P((struct irs_acc *)); 48