From cbbd48c0e4c9bb2f5f8e5d3b0735dfa0a7dc7d89 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Tue, 9 Sep 2008 19:37:39 +0200 Subject: [PATCH] netapi: add NetFileClose to public header. Guenther (cherry picked from commit 502bbf00faa500765d1a9dedc1cede271c89b7d1) (cherry picked from commit 48c1a2b18910cc13b9043403c3d7d7bdf566a3af) --- source/lib/netapi/netapi.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/source/lib/netapi/netapi.h b/source/lib/netapi/netapi.h index 6e4edab6c6a..a95ea50a86f 100644 --- a/source/lib/netapi/netapi.h +++ b/source/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 */ -- 2.11.4.GIT