Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / miscellany / patch-2.0.12u8 / backupfile.h
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 without restriction.
6
7    This program is distributed in the hope that it will be useful,
8    but WITHOUT ANY WARRANTY; without even the implied warranty of
9    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  */
10
11 /* When to make backup files. */
12 enum backup_type
13 {
14   /* Never make backups. */
15   none,
16
17   /* Make simple backups of every file. */
18   simple,
19
20   /* Make numbered backups of files that already have numbered backups,
21      and simple backups of the others. */
22   numbered_existing,
23
24   /* Make numbered backups of every file. */
25   numbered
26 };
27
28 extern enum backup_type backup_type;
29 extern char *simple_backup_suffix;
30
31 #ifdef __STDC__
32 char *find_backup_file_name (char *file);
33 enum backup_type get_version (char *version);
34 #else
35 char *find_backup_file_name ();
36 enum backup_type get_version ();
37 #endif