From 89e60556065c6e3dc7a8447cdba5a8fed1d19ea4 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 3 May 2011 16:25:20 +0200 Subject: s3-includes: move enum flush_reason_enum to smb.h Guenther --- source3/include/smb.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'source3/include/smb.h') diff --git a/source3/include/smb.h b/source3/include/smb.h index 827a9db018..57de387661 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1701,4 +1701,20 @@ struct deferred_open_record; /* Used inside aio code. */ struct aio_extra; +/* + * Reasons for cache flush. + */ + +enum flush_reason_enum { + SEEK_FLUSH, + READ_FLUSH, + WRITE_FLUSH, + READRAW_FLUSH, + OPLOCK_RELEASE_FLUSH, + CLOSE_FLUSH, + SYNC_FLUSH, + SIZECHANGE_FLUSH, + /* NUM_FLUSH_REASONS must remain the last value in the enumeration. */ + NUM_FLUSH_REASONS}; + #endif /* _SMB_H */ -- cgit