diff options
author | Hans Leidekker <hans@meelstraat.net> | 2013-10-14 20:43:27 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-10-16 07:00:45 +0200 |
commit | a4c3553b5ad4c016a4154f1077e78fb83c791a30 (patch) | |
tree | 8a5b5a9c9477118761ea94e4d4dda418f4ea04c8 /source3/lib/netapi/netapi.h | |
parent | a1fcd71f9aad98428e33bc2e31cf6d077b0c02fc (diff) | |
download | samba-a4c3553b5ad4c016a4154f1077e78fb83c791a30.tar.gz samba-a4c3553b5ad4c016a4154f1077e78fb83c791a30.tar.bz2 samba-a4c3553b5ad4c016a4154f1077e78fb83c791a30.zip |
Add NetWkstaGetInfo.
Modified to include common.h entry for netapitest_wksta function by Kai
Blin <kai@samba.org>
Signed-off-by: Hans Leidekker <hans@meelstraat.net>
Reviewed-by: Kai Blin <kai@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Oct 16 07:00:45 CEST 2013 on sn-devel-104
Diffstat (limited to 'source3/lib/netapi/netapi.h')
-rw-r--r-- | source3/lib/netapi/netapi.h | 17 |
1 files changed, 17 insertions, 0 deletions
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 @@ -1617,6 +1617,23 @@ NET_API_STATUS NetServerSetInfo(const char * server_name /* [in] */, /************************************************************//** * + * 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 * * @brief Query for the PDC for a given domain |