[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Cvs-cvs] ccvs/src classify.h [signed-commits3]
From: |
Derek Robert Price |
Subject: |
[Cvs-cvs] ccvs/src classify.h [signed-commits3] |
Date: |
Fri, 06 Jan 2006 19:37:46 +0000 |
CVSROOT: /cvsroot/cvs
Module name: ccvs
Branch: signed-commits3
Changes by: Derek Robert Price <address@hidden> 06/01/06 19:37:45
Added files:
src : classify.h
Log message:
* add.c, admin.c, annotate.c, base.c, buffer.c, checkin.c, checkout.c,
classify.c, diff.c, edit.c, edit.h, entries.c, fileattr.c,
find_names.c, history.c, ignore.c, import.c, lock.c, logmsg.c, ls.c,
modules.c, recurse.c, release.c, remove.c, tag.c, update.c, verify.c,
watch.c: Use stricter include formatting.
* cvs.h: Move decls to...
* classify.h, ignore.h, logmsg.h, recurse.h: ...these new files.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/src/classify.h?only_with_tag=signed-commits3&rev=1.1.2.1
Patches:
Index: ccvs/src/classify.h
diff -u /dev/null ccvs/src/classify.h:1.1.2.1
--- /dev/null Fri Jan 6 19:37:46 2006
+++ ccvs/src/classify.h Fri Jan 6 19:37:45 2006
@@ -0,0 +1,53 @@
+/*
+ * Copyright (C) 2005-2006 The Free Software Foundation, Inc.
+ *
+ * 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; either version 2, or (at your option)
+ * any later version.
+ *
+ * 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.
+ */
+
+#ifndef CLASSIFY_H
+#define CLASSIFY_H
+
+/* CVS Headers. */
+#include "rcs.h"
+#include "vers_ts.h"
+
+
+
+/*
+ * defines for Classify_File() to determine the current state of a file.
+ * These are also used as types in the data field for the list we make for
+ * Update_Logfile in commit, import, and add.
+ */
+enum classify_type
+{
+ T_UNKNOWN = 1, /* no old-style analog existed */
+ T_CONFLICT, /* C (conflict) list
*/
+ T_NEEDS_MERGE, /* G (needs merging) list */
+ T_MODIFIED, /* M (needs checked in) list
*/
+ T_CHECKOUT, /* O (needs checkout) list
*/
+ T_ADDED, /* A (added file) list */
+ T_REMOVED, /* R (removed file) list */
+ T_REMOVE_ENTRY, /* W (removed entry) list */
+ T_UPTODATE, /* File is up-to-date
*/
+ T_PATCH, /* P Like C, but can patch */
+ T_TITLE /* title for node type */
+};
+typedef enum classify_type Ctype;
+
+Ctype Classify_File (struct file_info *finfo, char *tag, char *date,
+ char *options, int force_tag_match, int aflag,
+ Vers_TS **versp, int pipeout);
+
+#endif /* CLASSIFY_H */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Cvs-cvs] ccvs/src classify.h [signed-commits3],
Derek Robert Price <=