summaryrefslogtreecommitdiff
path: root/source4/lib/replace/replace.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-04-14 09:14:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:50:38 -0500
commiteb49760603a043163b7cc80c781a16eac376aee2 (patch)
tree7c247b1aecfe7d763a73ba775342bd604f62f8ce /source4/lib/replace/replace.h
parent2bedec23eeeed0ef7559fad927be9d70df71538a (diff)
downloadsamba-eb49760603a043163b7cc80c781a16eac376aee2.tar.gz
samba-eb49760603a043163b7cc80c781a16eac376aee2.tar.bz2
samba-eb49760603a043163b7cc80c781a16eac376aee2.zip
r22215: add strptime replacement to libreplace based on the patch
from jojowil@hvcc.edu to bug 4063 also add a testsuite for strptime() metze (This used to be commit aba64521707143e6505b3322c390882a918a148a)
Diffstat (limited to 'source4/lib/replace/replace.h')
-rw-r--r--source4/lib/replace/replace.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index b36a350335..7d6dcec7f1 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -280,6 +280,12 @@ void rep_vsyslog (int facility_priority, const char *format, va_list arglist) PR
typedef int (*comparison_fn_t)(const void *, const void *);
#endif
+#ifdef REPLACE_STRPTIME
+#define strptime rep_strptime
+struct tm;
+char *rep_strptime(const char *buf, const char *format, struct tm *tm);
+#endif
+
/* Load header file for dynamic linking stuff */
#ifdef HAVE_DLFCN_H
#include <dlfcn.h>