diff options
author | Günther Deschner <gd@samba.org> | 2008-09-09 22:16:07 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-09-11 14:37:48 +0200 |
commit | 6b3308648cc828d3e713b330c95bdc63eac4fd53 (patch) | |
tree | b980cda70ec4d788fe00c68dc62777b65ebff4ba /source3/lib/netapi | |
parent | 13f28b574784aaa409b719d7da9a454760dbdc18 (diff) | |
download | samba-6b3308648cc828d3e713b330c95bdc63eac4fd53.tar.gz samba-6b3308648cc828d3e713b330c95bdc63eac4fd53.tar.bz2 samba-6b3308648cc828d3e713b330c95bdc63eac4fd53.zip |
netapi: add NetFileEnum to public header.
Guenther
(This used to be commit 50ce2a3d1a520bd1508110872e871c2c67e0f606)
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r-- | source3/lib/netapi/netapi.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h index f29ba225ff..9687461920 100644 --- a/source3/lib/netapi/netapi.h +++ b/source3/lib/netapi/netapi.h @@ -1802,6 +1802,37 @@ NET_API_STATUS NetFileGetInfo(const char * server_name /* [in] */, uint32_t level /* [in] */, uint8_t **buffer /* [out] [ref] */); +/************************************************************//** + * + * NetFileEnum + * + * @brief Enumerate Files + * + * @param[in] server_name The server name to connect to + * @param[in] base_path The + * @param[in] user_name The + * @param[in] level The level defining the FILE_INFO_X structure + * @param[out] buffer The buffer containing a FILE_INFO_X structure + * @param[in] prefmaxlen The requested maximal buffer size + * @param[out] entries_read The number of FILE_INFO_X entries in the buffer + * @param[out] total_entries The total number of FILE_INFO_X entries + * @param[in,out] resume_handle A handle passed in and returned for resuming + * operations + * @return NET_API_STATUS + * + * example file/file_enum.c + ***************************************************************/ + +NET_API_STATUS NetFileEnum(const char * server_name /* [in] */, + const char * base_path /* [in] */, + const char * user_name /* [in] */, + uint32_t level /* [in] */, + uint8_t **buffer /* [out] [ref] */, + uint32_t prefmaxlen /* [in] */, + uint32_t *entries_read /* [out] [ref] */, + uint32_t *total_entries /* [out] [ref] */, + uint32_t *resume_handle /* [in,out] [ref] */); + #ifdef __cplusplus } #endif /* __cplusplus */ |