summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-04-22 12:33:29 +0200
committerGünther Deschner <gd@samba.org>2010-04-23 16:06:42 +0200
commit3f1cc29814c62b60a5615bb05c13addd171cc141 (patch)
treec8f6880766aad86805be1d91526de62d1b9c1e73 /source3/include/proto.h
parentbb22855af51d27eed1b18b33689f6dc39e09f068 (diff)
downloadsamba-3f1cc29814c62b60a5615bb05c13addd171cc141.tar.gz
samba-3f1cc29814c62b60a5615bb05c13addd171cc141.tar.bz2
samba-3f1cc29814c62b60a5615bb05c13addd171cc141.zip
s3-time: Added a function to get the startup time of the server.
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/include/proto.h')
-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 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);