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

Revision 12350, 681 bytes checked in by ghudson, 25 years ago (diff)
Some RCS ID cleanup: delete $Log$ and replace other RCS keywords with $Id$.
Line 
1/*
2 * $Id: stack.h,v 1.4 1999-01-22 23:09:06 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
13#define STACK_PUSH      0
14#define STACK_POP       1
15#define EMPTY_STACK     2
16
17#define push(data, size)        dostack((caddr_t) data, STACK_PUSH, size)
18#define pop(data, size)         dostack((caddr_t) data, STACK_POP, size)
19#define popall()                dostack((caddr_t) NULL, EMPTY_STACK, 0)
20     
Note: See TracBrowser for help on using the repository browser.