2 * Copyright (C) 1990 Free Software Foundation, Inc.
4 * This program is free software; you can redistribute it and/or modify it
7 * This program is distributed in the hope that it will be useful, but WITHOUT
8 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
9 * FITNESS FOR A PARTICULAR PURPOSE.
11 * backupfile.h -- declarations for making Emacs style backup file names
13 * $OpenBSD: backupfile.h,v 1.6 2003/07/28 18:35:36 otto Exp $
14 * $FreeBSD: head/usr.bin/patch/backupfile.h 246091 2013-01-29 20:05:16Z delphij $
17 /* When to make backup files. */
19 /* Never make backups. */
22 /* Make simple backups of every file. */
26 * Make numbered backups of files that already have numbered backups,
27 * and simple backups of the others.
31 /* Make numbered backups of every file. */
35 extern enum backup_type backup_type
;
36 extern const char *simple_backup_suffix
;
38 char *find_backup_file_name(const char *file
);
39 enum backup_type
get_version(const char *version
);