11.9Schristos/*	$NetBSD: coda_subr.h,v 1.9 2012/08/02 16:06:58 christos Exp $	*/
21.2Srvb
31.1Srvb/*
41.7Sperry *
51.2Srvb *             Coda: an Experimental Distributed File System
61.2Srvb *                              Release 3.1
71.7Sperry *
81.2Srvb *           Copyright (c) 1987-1998 Carnegie Mellon University
91.2Srvb *                          All Rights Reserved
101.7Sperry *
111.2Srvb * Permission  to  use, copy, modify and distribute this software and its
121.2Srvb * documentation is hereby granted,  provided  that  both  the  copyright
131.2Srvb * notice  and  this  permission  notice  appear  in  all  copies  of the
141.2Srvb * software, derivative works or  modified  versions,  and  any  portions
151.2Srvb * thereof, and that both notices appear in supporting documentation, and
161.2Srvb * that credit is given to Carnegie Mellon University  in  all  documents
171.2Srvb * and publicity pertaining to direct or indirect use of this code or its
181.2Srvb * derivatives.
191.7Sperry *
201.2Srvb * CODA IS AN EXPERIMENTAL SOFTWARE SYSTEM AND IS  KNOWN  TO  HAVE  BUGS,
211.2Srvb * SOME  OF  WHICH MAY HAVE SERIOUS CONSEQUENCES.  CARNEGIE MELLON ALLOWS
221.2Srvb * FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION.   CARNEGIE  MELLON
231.2Srvb * DISCLAIMS  ANY  LIABILITY  OF  ANY  KIND  FOR  ANY  DAMAGES WHATSOEVER
241.2Srvb * RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE  OR  OF
251.2Srvb * ANY DERIVATIVE WORK.
261.7Sperry *
271.2Srvb * Carnegie  Mellon  encourages  users  of  this  software  to return any
281.2Srvb * improvements or extensions that  they  make,  and  to  grant  Carnegie
291.2Srvb * Mellon the rights to redistribute these changes without encumbrance.
301.7Sperry *
311.7Sperry * 	@(#) coda/coda_subr.h,v 1.1.1.1 1998/08/29 21:26:45 rvb Exp $
321.2Srvb */
331.1Srvb
341.3Srvbstruct cnode *coda_alloc(void);
351.3Srvbvoid  coda_free(struct cnode *cp);
361.6Sdrochnerstruct cnode *coda_find(CodaFid *fid);
371.3Srvbvoid coda_flush(enum dc_status dcstat);
381.3Srvbvoid coda_testflush(void);
391.5Srvbvoid coda_checkunmounting(struct mount *mp);
401.5Srvbvoid coda_cacheprint(struct mount *whoIam);
411.3Srvbvoid coda_debugon(void);
421.3Srvbvoid coda_debugoff(void);
431.3Srvbint  coda_kill(struct mount *whoIam, enum dc_status dcstat);
441.3Srvbvoid coda_save(struct cnode *cp);
451.3Srvbvoid coda_unsave(struct cnode *cp);
461.9Schristosvoid coda_print_cred(kauth_cred_t cred);
471.1Srvb
481.1Srvb
49