summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-12-29 11:39:05 +1100
committerAndrew Tridgell <tridge@samba.org>2010-01-02 08:16:55 +1100
commit1ab5020ef238d73d23611ef1da22d14c8ab3dbcc (patch)
treeaec02946496494312e34468f3c65cec2ab8f3437 /source4/lib
parent53e86ac5b27e7e5d13ab671b8ce202bb97b80d3e (diff)
downloadsamba-1ab5020ef238d73d23611ef1da22d14c8ab3dbcc.tar.gz
samba-1ab5020ef238d73d23611ef1da22d14c8ab3dbcc.tar.bz2
samba-1ab5020ef238d73d23611ef1da22d14c8ab3dbcc.zip
s4-ldb: declate ldb_val_to_time()
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/include/ldb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h
index c8bfa24832..1958fd740b 100644
--- a/source4/lib/ldb/include/ldb.h
+++ b/source4/lib/ldb/include/ldb.h
@@ -1951,6 +1951,12 @@ char *ldb_timestring(TALLOC_CTX *mem_ctx, time_t t);
time_t ldb_string_to_time(const char *s);
/**
+ convert a LDAP GeneralizedTime string in ldb_val format to a
+ time_t.
+*/
+int ldb_val_to_time(const struct ldb_val *v, time_t *t);
+
+/**
Convert a time structure to a string
This function converts a time_t structure to an LDAP formatted