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

Revision 4505, 829 bytes checked in by jik, 34 years ago (diff)
Shorten mit-copyright.h to mit-copying.h so it'll work on systems with 14-char filenames.
RevLine 
[2223]1/*
2 * $Source: /afs/dev.mit.edu/source/repository/athena/bin/delete/stack.h,v $
3 * $Author: jik $
[4505]4 * $Header: /afs/dev.mit.edu/source/repository/athena/bin/delete/stack.h,v 1.3 1991-02-28 18:43:52 jik Exp $
[2223]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.
[4505]11 * For copying and distribution information, see the file "mit-copying.h."
[2223]12 */
[4505]13#include "mit-copying.h"
[2223]14
[2220]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.