File: overwrite.h

package info (click to toggle)
gentoo 0.11.46-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,648 kB
  • ctags: 4,313
  • sloc: ansic: 33,912; sh: 3,903; makefile: 649; yacc: 316; sed: 16
file content (11 lines) | stat: -rw-r--r-- 443 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
/*
** 1998-09-17 -	Header for the overwrite protection system. Sounds cool, eh?
*/

enum { OVWF_NO_RECURSE_TEST = 1 << 0 };

typedef enum { OVW_SKIP, OVW_PROCEED, OVW_PROCEED_FILE, OVW_PROCEED_DIR, OVW_CANCEL } OvwRes;

extern void	ovw_overwrite_begin(MainInfo *min, const gchar *desc, guint32 flags);
extern OvwRes	ovw_overwrite_file(MainInfo *min, const gchar *old_file, const gchar *new_file);
extern void	ovw_overwrite_end(MainInfo *min);