/* * Copyright 2000, International Business Machines Corporation and others. * All Rights Reserved. * * This software has been released under the terms of the IBM Public * License. For details, see the LICENSE file in the top-level source * directory or online at http://www.openafs.org/dl/license10.html */ /* System: VICE-TWO Module: common.c Institution: The Information Technology Center, Carnegie-Mellon University */ #include #include #include #include RCSID("$Header$"); #include int Statistics = 0; /* VARARGS */ Log (a,b,c,d,e,f,g,h,i,j,k) char *a, *b, *c, *d, *e, *f, *g, *h, *i, *j, *k; { int level; if (Statistics) level = -1; else level = 0; ViceLog(level,(a,b,c,d,e,f,g,h,i,j,k)); } Abort(s,a,b,c,d,e,f,g,h,i,j) char *s, *a, *b, *c, *d, *e, *f, *g, *h, *i, *j; { ViceLog(0, ("Program aborted: ")); ViceLog(0, (s,a,b,c,d,e,f,g,h,i,j)); abort(); } Quit(s,a,b,c,d,e,f,g,h,i,j) char *s, *a, *b, *c, *d, *e, *f, *g, *h, *i, *j; { ViceLog(0, (s,a,b,c,d,e,f,g,h,i,j)); exit(1); }