git.samba.org
/
kamenim
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53e86ac
)
s4-ldb: declate ldb_val_to_time()
author
Andrew Tridgell
<tridge@samba.org>
Tue, 29 Dec 2009 00:39:05 +0000
(11:39 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Fri, 1 Jan 2010 21:16:55 +0000
(08:16 +1100)
source4/lib/ldb/include/ldb.h
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/include/ldb.h
b/source4/lib/ldb/include/ldb.h
index c8bfa24832703576f8a531bec85ecaf77f0484f7..1958fd740ba1e49616b1c8f3ac5f020fd71e1af5 100644
(file)
--- a/
source4/lib/ldb/include/ldb.h
+++ b/
source4/lib/ldb/include/ldb.h
@@
-1950,6
+1950,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