Mercurial > hg > octave-kai > gnulib-hg
annotate lib/backupfile.h @ 882:43308e6073b6
libitize
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Tue, 04 Feb 1997 03:26:31 +0000 |
parents | b4ef1c1a0171 |
children | 9cb09b60925d |
rev | line source |
---|---|
5 | 1 /* backupfile.h -- declarations for making Emacs style backup file names |
2 Copyright (C) 1990 Free Software Foundation, Inc. | |
3 | |
4 This program is free software; you can redistribute it and/or modify | |
5 it under the terms of the GNU General Public License as published by | |
6 the Free Software Foundation; either version 2, or (at your option) | |
7 any later version. | |
8 | |
9 This program is distributed in the hope that it will be useful, | |
10 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 GNU General Public License for more details. | |
13 | |
14 You should have received a copy of the GNU General Public License | |
650
b4ef1c1a0171
update FSF address in copyright
Jim Meyering <jim@meyering.net>
parents:
595
diff
changeset
|
15 along with this program; if not, write to the Free Software Foundation, |
b4ef1c1a0171
update FSF address in copyright
Jim Meyering <jim@meyering.net>
parents:
595
diff
changeset
|
16 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ |
5 | 17 |
882 | 18 /* When to make backup files. */ |
5 | 19 enum backup_type |
20 { | |
882 | 21 /* Never make backups. */ |
5 | 22 none, |
23 | |
882 | 24 /* Make simple backups of every file. */ |
5 | 25 simple, |
26 | |
27 /* Make numbered backups of files that already have numbered backups, | |
882 | 28 and simple backups of the others. */ |
5 | 29 numbered_existing, |
30 | |
882 | 31 /* Make numbered backups of every file. */ |
5 | 32 numbered |
33 }; | |
34 | |
35 extern enum backup_type backup_type; | |
36 extern char *simple_backup_suffix; | |
37 | |
38 #ifdef __STDC__ | |
595
b52c7d93affb
(find_backup_file_name): Constify decls of formal parameters.
Jim Meyering <jim@meyering.net>
parents:
5
diff
changeset
|
39 char *find_backup_file_name (const char *file); |
5 | 40 #else |
41 char *find_backup_file_name (); | |
42 #endif |