wg.conf.5: Fix a typo (in-inline comments are *not* allowed)
[dragonfly.git] / usr.bin / patch / backupfile.h
blobaf9927b9b0aea4284298468552ed7f0e81015250
1 /*-
2 * Copyright (C) 1990 Free Software Foundation, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * without restriction.
6 *
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. */
18 enum backup_type {
19 /* Never make backups. */
20 none,
22 /* Make simple backups of every file. */
23 simple,
26 * Make numbered backups of files that already have numbered backups,
27 * and simple backups of the others.
29 numbered_existing,
31 /* Make numbered backups of every file. */
32 numbered
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);