summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-09-04 15:59:58 +0200
committerGünther Deschner <gd@samba.org>2008-09-05 13:21:19 +0200
commit93cb6d26d168df88900a51d158f56208eb387c74 (patch)
tree72ecc3b450f8b6de59a37d7244f7772fbac4214e /source3
parentfda790bb5d9459d876b6cd4f2944ce434ebb7def (diff)
downloadsamba-93cb6d26d168df88900a51d158f56208eb387c74.tar.gz
samba-93cb6d26d168df88900a51d158f56208eb387c74.tar.bz2
samba-93cb6d26d168df88900a51d158f56208eb387c74.zip
netapi: add NetShareGetInfo to public header.
Guenther (This used to be commit 5c63b181ec698a6134ce31326dab9e6bd232acf0)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/netapi/netapi.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h
index 8f1ec84fbc..4432f767f8 100644
--- a/source3/lib/netapi/netapi.h
+++ b/source3/lib/netapi/netapi.h
@@ -1636,6 +1636,26 @@ NET_API_STATUS NetShareEnum(const char * server_name /* [in] */,
uint32_t *total_entries /* [out] [ref] */,
uint32_t *resume_handle /* [in,out] [ref] */);
+/************************************************************//**
+ *
+ * NetShareGetInfo
+ *
+ * @brief Get Share Info
+ *
+ * @param[in] server_name The server name to connect to
+ * @param[in] net_name The name of the share to query
+ * @param[in] level The level defining the SHARE_INFO_X structure
+ * @param[out] buffer The buffer containing a SHARE_INFO_X structure
+ * @return NET_API_STATUS
+ *
+ * example share/share_getinfo.c
+ ***************************************************************/
+
+NET_API_STATUS NetShareGetInfo(const char * server_name /* [in] */,
+ const char * net_name /* [in] */,
+ uint32_t level /* [in] */,
+ uint8_t **buffer /* [out] [ref] */);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */