summaryrefslogtreecommitdiff
path: root/source3/lib/netapi
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
commitbbd2eeb0f6f553600c8a5edc215aa544f9eab5a9 (patch)
tree05c9b6a85dfaa20d6ac5e96867741c0fd938e55c /source3/lib/netapi
parent1aff85342792e8ce4713285be85124d975ace271 (diff)
downloadsamba-bbd2eeb0f6f553600c8a5edc215aa544f9eab5a9.tar.gz
samba-bbd2eeb0f6f553600c8a5edc215aa544f9eab5a9.tar.bz2
samba-bbd2eeb0f6f553600c8a5edc215aa544f9eab5a9.zip
netapi: add NetFileClose to public header.
Guenther (This used to be commit 502bbf00faa500765d1a9dedc1cede271c89b7d1)
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r--source3/lib/netapi/netapi.h16
1 files changed, 16 insertions, 0 deletions
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 */