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$.
RevLine 
[2223]1/*
[12350]2 * $Id: stack.h,v 1.4 1999-01-22 23:09:06 ghudson Exp $
[2223]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.
[4505]9 * For copying and distribution information, see the file "mit-copying.h."
[2223]10 */
[4505]11#include "mit-copying.h"
[2223]12
[2220]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.