summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/cvs.h
diff options
context:
space:
mode:
authorJean-Francois Brousseau <jfb@cvs.openbsd.org>2004-08-13 02:16:30 +0000
committerJean-Francois Brousseau <jfb@cvs.openbsd.org>2004-08-13 02:16:30 +0000
commit1730c3b24ef569d8a5d16c63d0ad63aaa745812c (patch)
tree471271aa0144eac87966a134852eae73a6feed8c /usr.bin/cvs/cvs.h
parent62a50f0b9e3900347d6313c7ecdafa30073481de (diff)
Add cvs_datesec() to calculate the time_t value corresponding to a
ctime(3)-style date string
Diffstat (limited to 'usr.bin/cvs/cvs.h')
-rw-r--r--usr.bin/cvs/cvs.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/cvs/cvs.h b/usr.bin/cvs/cvs.h
index b64fa1201a8..7521939a13e 100644
--- a/usr.bin/cvs/cvs.h
+++ b/usr.bin/cvs/cvs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cvs.h,v 1.25 2004/08/06 20:08:49 jfb Exp $ */
+/* $OpenBSD: cvs.h,v 1.26 2004/08/13 02:16:29 jfb Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -178,6 +178,7 @@ struct cvs_ent {
char *ce_name;
RCSNUM *ce_rev;
char *ce_timestamp;
+ time_t ce_mtime;
char *ce_opts;
char *ce_tag;
TAILQ_ENTRY(cvs_ent) ce_list;
@@ -278,9 +279,10 @@ int cvs_hist_append (CVSHIST *, struct cvs_hent *);
/* from util.c */
int cvs_readrepo (const char *, char *, size_t);
-int cvs_splitpath (const char *, char *, size_t, char **);
+time_t cvs_datesec (const char *);
int cvs_modetostr (mode_t, char *, size_t);
int cvs_strtomode (const char *, mode_t *);
+int cvs_splitpath (const char *, char *, size_t, char **);
int cvs_mkadmin (struct cvs_file *, mode_t);
int cvs_cksum (const char *, char *, size_t);
int cvs_exec (int, char **, int []);