summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-09-09 19:37:39 +0200
committerGünther Deschner <gd@samba.org>2008-09-11 14:36:12 +0200
commit502bbf00faa500765d1a9dedc1cede271c89b7d1 (patch)
tree21f7d1da987568ff73720fceafcaa9a42d64065d
parent4a006ae644bd85b670aab835dc7d90dadaec3503 (diff)
downloadsamba-502bbf00faa500765d1a9dedc1cede271c89b7d1.tar.gz
netapi: add NetFileClose to public header.
Guenther
-rw-r--r--source/lib/netapi/netapi.h16
1 files changed, 16 insertions, 0 deletions
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 */