netapi: add NetFileClose to public header.
authorGünther Deschner <gd@samba.org>
Tue, 9 Sep 2008 17:37:39 +0000 (19:37 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 11 Sep 2008 12:36:12 +0000 (14:36 +0200)
Guenther
(This used to be commit 502bbf00faa500765d1a9dedc1cede271c89b7d1)

source3/lib/netapi/netapi.h

index 6e4edab6c6a246426de5498696fb66fe04e7e5e1..a95ea50a86fe04ade92edc1a4cc4ace027265d0f 100644 (file)
@@ -1754,6 +1754,22 @@ NET_API_STATUS NetShareSetInfo(const char * server_name /* [in] */,
                               uint8_t *buffer /* [in] [ref] */,
                               uint32_t *parm_err /* [out] [ref] */);
 
+/************************************************************//**
+ *
+ * NetFileClose
+ *
+ * @brief Close a file
+ *
+ * @param[in] server_name The server name to connect to
+ * @param[in] fileid The fileid of the file that is going to be closed
+ * @return NET_API_STATUS
+ *
+ * example file/file_close.c
+ ***************************************************************/
+
+NET_API_STATUS NetFileClose(const char * server_name /* [in] */,
+                           uint32_t fileid /* [in] */);
+
 #ifdef __cplusplus
 }
 #endif /* __cplusplus */