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

Revision 2223, 833 bytes checked in by jik, 35 years ago (diff)
added mit-copyright stuff
Line 
1/*
2 * $Source: /afs/dev.mit.edu/source/repository/athena/bin/delete/stack.h,v $
3 * $Author: jik $
4 * $Header: /afs/dev.mit.edu/source/repository/athena/bin/delete/stack.h,v 1.2 1989-11-06 21:26:50 jik Exp $
5 *
6 * This file is part of a package including delete, undelete,
7 * lsdel, expunge and purge.  The software suite is meant as a
8 * replacement for rm which allows for file recovery.
9 *
10 * Copyright (c) 1989 by the Massachusetts Institute of Technology.
11 * For copying and distribution information, see the file "mit-copyright.h."
12 */
13#include "mit-copyright.h"
14
15#define STACK_PUSH      0
16#define STACK_POP       1
17#define EMPTY_STACK     2
18
19#define push(data, size)        dostack((caddr_t) data, STACK_PUSH, size)
20#define pop(data, size)         dostack((caddr_t) data, STACK_POP, size)
21#define popall()                dostack((caddr_t) NULL, EMPTY_STACK, 0)
22     
Note: See TracBrowser for help on using the repository browser.