From a4c3553b5ad4c016a4154f1077e78fb83c791a30 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Mon, 14 Oct 2013 20:43:27 +0200 Subject: Add NetWkstaGetInfo. Modified to include common.h entry for netapitest_wksta function by Kai Blin Signed-off-by: Hans Leidekker Reviewed-by: Kai Blin Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Wed Oct 16 07:00:45 CEST 2013 on sn-devel-104 --- source3/lib/netapi/netapi.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'source3/lib/netapi/netapi.h') diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h index 620d8cf591..457368ed5c 100644 --- a/source3/lib/netapi/netapi.h +++ b/source3/lib/netapi/netapi.h @@ -1615,6 +1615,23 @@ NET_API_STATUS NetServerSetInfo(const char * server_name /* [in] */, uint8_t *buffer /* [in] [ref] */, uint32_t *parm_error /* [out] [ref] */); +/************************************************************//** + * + * NetWkstaGetInfo + * + * @brief Get Information on a workstation + * + * @param[in] wksta_name The workstation name to connect to + * @param[in] level The level to define which information is requested + * @param[out] buffer The returned buffer carrying the WKSTA_INFO structure + * @return NET_API_STATUS + * + ***************************************************************/ + +NET_API_STATUS NetWkstaGetInfo(const char * wksta_name /* [in] */, + uint32_t level /* [in] */, + uint8_t **buffer /* [out] [ref] */); + /************************************************************//** * * NetGetDCName -- cgit