diff options
author | Michael Adam <obnox@samba.org> | 2012-06-07 16:31:14 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-06-15 03:28:13 +0200 |
commit | a7dccea0c5be8742c9e60c5caf6e832679e19f31 (patch) | |
tree | 44d400e44d016e4827a000998c1fa84530ef6d13 /source3/smbd/proto.h | |
parent | 7aa9ad5bb9ce33c7e664582b5014917e84153314 (diff) | |
download | samba-a7dccea0c5be8742c9e60c5caf6e832679e19f31.tar.gz samba-a7dccea0c5be8742c9e60c5caf6e832679e19f31.tar.bz2 samba-a7dccea0c5be8742c9e60c5caf6e832679e19f31.zip |
s3:files: factor fsp_free() out of file_free()
To be reused in the durable reconnect code.
Pair-Programmed-With: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r-- | source3/smbd/proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 7f341363f1..4d035179c5 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -387,6 +387,7 @@ files_struct *file_find_di_first(struct smbd_server_connection *sconn, files_struct *file_find_di_next(files_struct *start_fsp); bool file_find_subpath(files_struct *dir_fsp); void file_sync_all(connection_struct *conn); +void fsp_free(files_struct *fsp); void file_free(struct smb_request *req, files_struct *fsp); files_struct *file_fsp(struct smb_request *req, uint16 fid); uint64_t fsp_persistent_id(const struct files_struct *fsp); |