source: trunk/athena/bin/delete/errors.h @ 12350

Revision 12350, 746 bytes checked in by ghudson, 26 years ago (diff)
Some RCS ID cleanup: delete $Log$ and replace other RCS keywords with $Id$.
Line 
1/*
2 * $Id: errors.h,v 1.4 1999-01-22 23:08:58 ghudson Exp $
3 *
4 * This file is part of a package including delete, undelete,
5 * lsdel, expunge and purge.  The software suite is meant as a
6 * replacement for rm which allows for file recovery.
7 *
8 * Copyright (c) 1989 by the Massachusetts Institute of Technology.
9 * For copying and distribution information, see the file "mit-copying.h."
10 */
11#include "mit-copying.h"
12
13extern char *whoami;
14extern int error_reported;
15extern int error_occurred;
16extern int report_errors;
17extern int error_code;
18
19void error();
20
21#define set_error(cd) {error_code = cd; error_reported = 0; error_occurred = 1;}
22#define set_warning(cd) {error_code = cd; error_reported = 0;}
23#define set_status(cd) {error_code = cd;}
Note: See TracBrowser for help on using the repository browser.