From bbd2eeb0f6f553600c8a5edc215aa544f9eab5a9 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 9 Sep 2008 19:37:39 +0200 Subject: netapi: add NetFileClose to public header. Guenther (This used to be commit 502bbf00faa500765d1a9dedc1cede271c89b7d1) --- source3/lib/netapi/netapi.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'source3/lib/netapi') diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h index 6e4edab6c6..a95ea50a86 100644 --- a/source3/lib/netapi/netapi.h +++ b/source3/lib/netapi/netapi.h @@ -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 */ -- cgit