]> git.samba.org - mat/samba.git/commitdiff
netapi: add NetShareGetInfo to public header.
authorGünther Deschner <gd@samba.org>
Thu, 4 Sep 2008 13:59:58 +0000 (15:59 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 5 Sep 2008 11:21:19 +0000 (13:21 +0200)
Guenther
(This used to be commit 5c63b181ec698a6134ce31326dab9e6bd232acf0)

source3/lib/netapi/netapi.h

index 8f1ec84fbca6ef057f98fb24aeca20f54799a294..4432f767f8479cfca4597e7bb0e0acbde11a4d1b 100644 (file)
@@ -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 */