From 3f1cc29814c62b60a5615bb05c13addd171cc141 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 22 Apr 2010 12:33:29 +0200 Subject: s3-time: Added a function to get the startup time of the server. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Günther Deschner --- source3/include/proto.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 7b279f6367..799e3c4985 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1087,6 +1087,7 @@ time_t cli_make_unix_date2(struct cli_state *cli, const void *date_ptr); time_t cli_make_unix_date3(struct cli_state *cli, const void *date_ptr); void TimeInit(void); void get_process_uptime(struct timeval *ret_time); +void get_startup_time(struct timeval *ret_time); time_t nt_time_to_unix_abs(const NTTIME *nt); time_t uint64s_nt_time_to_unix_abs(const uint64_t *src); void unix_timespec_to_nt_time(NTTIME *nt, struct timespec ts); -- cgit