diff options
author | Günther Deschner <gd@samba.org> | 2008-06-06 16:44:35 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-06-17 19:57:06 +0200 |
commit | feca006232764fdd389a221aa23f322a492347e2 (patch) | |
tree | d323f838388a61017e3474d936f0fd3a9a0cb81d /source3/lib | |
parent | ebbeddfdcd7b3782f5b6e58abb7af7d9484090ae (diff) | |
download | samba-feca006232764fdd389a221aa23f322a492347e2.tar.gz samba-feca006232764fdd389a221aa23f322a492347e2.tar.bz2 samba-feca006232764fdd389a221aa23f322a492347e2.zip |
netapi: make NetRemoteTOD() headers public.
Guenther
(This used to be commit 1262ab1843a8a8cb794f6bbfb113bd2d99ffba22)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/netapi/netapi.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h index d80e78ebbf..d24e15901b 100644 --- a/source3/lib/netapi/netapi.h +++ b/source3/lib/netapi/netapi.h @@ -157,6 +157,21 @@ struct LOCALGROUP_INFO_1002 { const char * lgrpi1002_comment; }; +struct TIME_OF_DAY_INFO { + uint32_t tod_elapsedt; + uint32_t tod_msecs; + uint32_t tod_hours; + uint32_t tod_mins; + uint32_t tod_secs; + uint32_t tod_hunds; + int32_t tod_timezone; + uint32_t tod_tinterval; + uint32_t tod_day; + uint32_t tod_month; + uint32_t tod_year; + uint32_t tod_weekday; +}; + #endif /* _HEADER_libnetapi */ /**************************************************************** @@ -710,4 +725,20 @@ NET_API_STATUS NetLocalGroupSetInfo(const char * server_name /* [in] */, uint8_t *buf /* [in] [ref] */, uint32_t *parm_err /* [out] [ref] */); +/************************************************************//** + * + * NetRemoteTOD + * + * @brief Query remote Time of Day + * + * @param[in] server_name The server name to connect to + * @param[out] buf The buffer containing a TIME_OF_DAY_INFO structure + * @return NET_API_STATUS + * + * example server/remote_tod.c + ***************************************************************/ + +NET_API_STATUS NetRemoteTOD(const char * server_name /* [in] */, + uint8_t **buf /* [out] [ref] */); + #endif |