coda_subr.h revision 1.3
11.3Srvb/*	$NetBSD: coda_subr.h,v 1.3 1998/09/12 15:05:49 rvb Exp $	*/
21.2Srvb
31.1Srvb/*
41.2Srvb *
51.2Srvb *             Coda: an Experimental Distributed File System
61.2Srvb *                              Release 3.1
71.2Srvb *
81.2Srvb *           Copyright (c) 1987-1998 Carnegie Mellon University
91.2Srvb *                          All Rights Reserved
101.2Srvb *
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.2Srvb *
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.2Srvb *
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.2Srvb *
311.2Srvb * 	@(#) cfs/cfs_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.3Srvbstruct cnode *coda_find(ViceFid *fid);
371.3Srvbvoid coda_flush(enum dc_status dcstat);
381.3Srvbvoid coda_testflush(void);
391.3Srvbint  coda_checkunmounting(struct mount *mp);
401.3Srvbint  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.1Srvb
471.1Srvb
48