cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] ccvs/src find-names.h


From: Derek Robert Price
Subject: [Cvs-cvs] ccvs/src find-names.h
Date: Wed, 12 Sep 2007 02:47:16 +0000

CVSROOT:        /cvsroot/cvs
Module name:    ccvs
Changes by:     Derek Robert Price <dprice>     07/09/12 02:47:16

Added files:
        src            : find-names.h 

Log message:
        * add.c, import.c, update.c: Call Entries_Open() & Entries_Close() with
        UPDATE_DIR.
        * client.c, recurse.c: Ditto, and use new Find_Names() and
        Find_Directories() APIs.
        * cvs.h (struct stickydirtag): Move to private entries.c struct.
        (Entries_Open, Entries_Close): Move prototypes to entries.h.
        (Find_Names, Find_Directories): Move prototypes to find-names.h.
        * entries.c: Include GNULIB's "quote.h".
        (struct stickydirtag): Moved in from cvs.h.
        (write_entries): Accept and process DIR and UPDATE_DIR.
        (entriesHasSticky, entriesHasAllSubdirs, entriesGetAflag,
        entriesGetTag, entriesGetNonbranch, entriesGetDate, Entries_Open_Dir,
        Entries_Close_Dir): New functions.
        (Entries_Open): Wrap new Entries_Open_Dir().
        (Entries_Close): Wrap new Entries_Close_Dir().
        * entries.h (Entries_Close, Entries_Open_Dir, Entries_Open,
        entriesHasSticky, entriesHasAllSubdirs, entriesGetAflag,
        entriesGetTag, entriesGetNonbranch, entriesGetDate): New prototypes.
        * find_names.c: Include GNULIB's "quote.h".
        (Find_Names, Find_Directories): Accept and process new UPDATE_DIR
        argument.  Make REPOSITORY arg const.
        (find_dirs): Make DIR arg const. - Move to eliminate prototype.
        * find-names.h: New file.
        * ignore.c, vers_ts.c: Use new entries.c APIs.
        * subr.c (dir_append_dirs, dir_append): New functions.
        * subr.h (dir_append_dirs, dir_append): Prototypes for same.
        * sanity.sh: Update to compensate.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/ccvs/src/find-names.h?cvsroot=cvs&rev=1.1

Patches:
Index: find-names.h
===================================================================
RCS file: find-names.h
diff -N find-names.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ find-names.h        12 Sep 2007 02:47:15 -0000      1.1
@@ -0,0 +1,30 @@
+/*
+ * Copyright (C) 2007 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 FIND_NAMES_H
+#define FIND_NAMES_H
+
+/* CVS */
+#include "hash.h"
+
+List *Find_Directories (const char *repository, const char *update_dir,
+                       int which, List *entries);
+List *Find_Names (const char *repository, const char *update_dir,
+                 int which, int aflag, List **optentries);
+
+#endif /* !defined FIND_NAMES_H */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]