source: trunk/athena/bin/delete/util.h @ 2168

Revision 2168, 875 bytes checked in by jik, 35 years ago (diff)
deleted declaration of "reg_firstpart()" function.
Line 
1/*
2 * $Source: /afs/dev.mit.edu/source/repository/athena/bin/delete/util.h,v $
3 * $Author: jik $
4 * $Header: /afs/dev.mit.edu/source/repository/athena/bin/delete/util.h,v 1.6 1989-10-23 13:07:04 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
15char *append();
16char *convert_to_user_name();
17char *firstpart();
18char *lastpart();
19char *strindex();
20char *strrindex();
21
22#define is_dotfile(A) ((*A == '.') && \
23                       ((*(A + 1) == '\0') || \
24                        ((*(A + 1) == '.') && \
25                         (*(A + 2) == '\0'))))
26
27#define is_deleted(A) ((*A == '.') && (*(A + 1) == '#'))
Note: See TracBrowser for help on using the repository browser.