summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-19 11:50:13 +0100
committerVolker Lendecke <vl@samba.org>2009-11-19 19:04:38 +0100
commitd3d37acb998672dc9d2f36927151cce8393b6d44 (patch)
tree84714f51025a0c9a0f393eadbe3b97330ed7a002 /source3/include
parentd4312e776b70e63554dd31ec7da242dfcc62c137 (diff)
downloadsamba-d3d37acb998672dc9d2f36927151cce8393b6d44.tar.gz
samba-d3d37acb998672dc9d2f36927151cce8393b6d44.tar.bz2
samba-d3d37acb998672dc9d2f36927151cce8393b6d44.zip
s3: Factor timeval_string out of current_timestring()
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 9450140b90..cad8651974 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1025,6 +1025,7 @@ bool nt_time_is_zero(const NTTIME *nt);
time_t generalized_to_unix_time(const char *str);
int get_server_zone_offset(void);
int set_server_zone_offset(time_t t);
+char *timeval_string(TALLOC_CTX *ctx, const struct timeval *tp, bool hires);
char *current_timestring(TALLOC_CTX *ctx, bool hires);
void srv_put_dos_date(char *buf,int offset,time_t unixdate);
void srv_put_dos_date2(char *buf,int offset, time_t unixdate);