home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
unix
/
volume22
/
undel2
/
part01
/
errors.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-06-07
|
883b
|
26 lines
/*
* $Source: /afs/athena.mit.edu/user/j/jik/src/delete/RCS/errors.h,v $
* $Author: jik $
* $Header: /afs/athena.mit.edu/user/j/jik/src/delete/RCS/errors.h,v 1.2 89/11/06 21:27:23 jik Exp $
*
* This file is part of a package including delete, undelete,
* lsdel, expunge and purge. The software suite is meant as a
* replacement for rm which allows for file recovery.
*
* Copyright (c) 1989 by the Massachusetts Institute of Technology.
* For copying and distribution information, see the file "mit-copyright.h."
*/
#include "mit-copyright.h"
extern char *whoami;
extern int error_reported;
extern int error_occurred;
extern int report_errors;
extern int error_code;
void error();
#define set_error(cd) {error_code = cd; error_reported = 0; error_occurred = 1;}
#define set_warning(cd) {error_code = cd; error_reported = 0;}
#define set_status(cd) {error_code = cd;}