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