home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
misc
/
volume17
/
delete
/
part01
/
stack.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-02-25
|
817b
|
23 lines
/*
* $Source: /afs/athena.mit.edu/user/j/jik/delete/src/RCS/stack.h,v $
* $Author: jik $
* $Header: /afs/athena.mit.edu/user/j/jik/delete/src/RCS/stack.h,v 1.2 89/11/06 21:26:50 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"
#define STACK_PUSH 0
#define STACK_POP 1
#define EMPTY_STACK 2
#define push(data, size) dostack((caddr_t) data, STACK_PUSH, size)
#define pop(data, size) dostack((caddr_t) data, STACK_POP, size)
#define popall() dostack((caddr_t) NULL, EMPTY_STACK, 0)