diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-10-12 06:30:47 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:39:42 -0500 |
commit | 33da2fabe6c3b1e20a955d72e1ebd0e850751df0 (patch) | |
tree | 4ea80e8517186e41515011b97b0dd7d77b5554c7 /source4/lib/ldb/include | |
parent | a599edf04cbdeef9014923ba0d3713b8ff84f266 (diff) | |
download | samba-33da2fabe6c3b1e20a955d72e1ebd0e850751df0.tar.gz samba-33da2fabe6c3b1e20a955d72e1ebd0e850751df0.tar.bz2 samba-33da2fabe6c3b1e20a955d72e1ebd0e850751df0.zip |
r10914: moved the ldap time string functions into ldb so they can be used by
the time attribute handling functions
(This used to be commit 93c296d52718e77f8b702e1721b548eaadc56c76)
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r-- | source4/lib/ldb/include/ldb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h index d75ca4fe86..0af88f8427 100644 --- a/source4/lib/ldb/include/ldb.h +++ b/source4/lib/ldb/include/ldb.h @@ -497,4 +497,7 @@ void ldb_parse_tree_attr_replace(struct ldb_parse_tree *tree, void ldb_msg_rename_attr(struct ldb_message *msg, const char *attr, const char *replace); int ldb_msg_copy_attr(struct ldb_message *msg, const char *attr, const char *replace); +char *ldb_timestring(TALLOC_CTX *mem_ctx, time_t t); +time_t ldb_string_to_time(const char *s); + #endif |