From 5fed2f9169fdd0585cc83ff0fa8210d97da77cb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20H=C3=A4rdeman?= Date: Sat, 19 May 2007 17:14:12 +0200 Subject: 80-col align code, add license headers --- metastore.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'metastore.h') diff --git a/metastore.h b/metastore.h index e8f52bb..62c9ff0 100644 --- a/metastore.h +++ b/metastore.h @@ -1,16 +1,42 @@ +/* + * Main functions of the program. + * + * Copyright (C) 2007 David Härdeman + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +/* Each file starts with SIGNATURE and VERSION */ #define SIGNATURE "MeTaSt00r3" #define SIGNATURELEN 10 #define VERSION "\0\0\0\0\0\0\0\0" #define VERSIONLEN 8 + +/* Default filename */ #define METAFILE "./.metadata" +/* Utility defines for the action to take */ #define ACTION_DIFF 0x01 #define ACTION_SAVE 0x02 #define ACTION_APPLY 0x04 #define ACTION_HELP 0x08 +/* Used to signal whether mtimes should be corrected */ extern int do_mtime; +/* Data structure to hold all metadata for a file */ struct metaentry { struct metaentry *next; char *path; -- cgit v1.2.1