Home | History | Annotate | Line # | Download | only in patch
backupfile.h revision 1.4
      1  1.4  kristerw /*	$NetBSD: backupfile.h,v 1.4 2002/03/08 21:57:33 kristerw Exp $	*/
      2  1.3   thorpej 
      3  1.1       cgd /* backupfile.h -- declarations for making Emacs style backup file names
      4  1.1       cgd    Copyright (C) 1990 Free Software Foundation, Inc.
      5  1.1       cgd 
      6  1.1       cgd    This program is free software; you can redistribute it and/or modify
      7  1.1       cgd    it without restriction.
      8  1.1       cgd 
      9  1.1       cgd    This program is distributed in the hope that it will be useful,
     10  1.1       cgd    but WITHOUT ANY WARRANTY; without even the implied warranty of
     11  1.2   mycroft    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
     12  1.2   mycroft */
     13  1.1       cgd 
     14  1.1       cgd /* When to make backup files. */
     15  1.1       cgd enum backup_type
     16  1.1       cgd {
     17  1.1       cgd   /* Never make backups. */
     18  1.1       cgd   none,
     19  1.1       cgd 
     20  1.1       cgd   /* Make simple backups of every file. */
     21  1.1       cgd   simple,
     22  1.1       cgd 
     23  1.1       cgd   /* Make numbered backups of files that already have numbered backups,
     24  1.1       cgd      and simple backups of the others. */
     25  1.1       cgd   numbered_existing,
     26  1.1       cgd 
     27  1.1       cgd   /* Make numbered backups of every file. */
     28  1.1       cgd   numbered
     29  1.1       cgd };
     30  1.1       cgd 
     31  1.1       cgd extern enum backup_type backup_type;
     32  1.1       cgd extern char *simple_backup_suffix;
     33  1.1       cgd 
     34  1.4  kristerw char *find_backup_file_name(char *);
     35  1.4  kristerw enum backup_type get_version(char *);
     36  1.4  kristerw char *basename(char *);
     37