1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

s4-ldb: declate ldb_val_to_time()

This commit is contained in:
Andrew Tridgell 2009-12-29 11:39:05 +11:00
parent 53e86ac5b2
commit 1ab5020ef2

View File

@ -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