~ubuntu-branches/ubuntu/quantal/open-vm-tools/quantal-201207201942

« back to all changes in this revision

Viewing changes to lib/include/fileIO.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-10-18 12:28:19 UTC
  • mfrom: (1.1.7 upstream) (2.4.9 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091018122819-00vqew6m0ztpqcqp
Tags: 2009.10.15-201664-1
MergingĀ upstreamĀ versionĀ 2009.10.15-201664.

Show diffs side-by-side

added added

removed removed

Lines of Context:
170
170
 */
171
171
#define FILEIO_OPEN_NO_TIME_MACHINE      (1 << 15)
172
172
 
 
173
/*
 
174
 * Flag passed to open() to not attempt to get the lun attributes as part of
 
175
 * the open operation. Applicable only to opening of SCSI devices. This
 
176
 * definition must match the definition of USEROBJ_OPEN_NOATTR in
 
177
 * user_vsiTypes.h and FS_OPEN_NOATTR in fs_public.h
 
178
 */
 
179
#define O_NOATTR 0x04000000
 
180
// Flag passed to open() to get multiwriter VMFS lock.  This definition must
 
181
// match USEROBJ_OPEN_MULTIWRITER_LOCK in user_vsiTypes.h.
 
182
#define O_MULTIWRITER_LOCK 0x08000000
173
183
// Flag passed to open() to get exclusive VMFS lock.  This definition must
174
184
// match USEROBJ_OPEN_EXCLUSIVE_LOCK in user_vsiTypes.h.
175
185
#define O_EXCLUSIVE_LOCK 0x10000000
176
 
// Flag passed to open() to get multiwriter VMFS lock.  This definition must
177
 
// match USEROBJ_OPEN_MULTIWRITER_LOCK in user_vsiTypes.h.
178
 
#define O_MULTIWRITER_LOCK 0x08000000
179
186
 
180
187
/* File Access check args */
181
188
#define FILEIO_ACCESS_READ       (1 << 0)
417
424
                                              Bool isExcluded);
418
425
#endif
419
426
 
 
427
Bool FileIO_SupportsPrealloc(const char *pathName, Bool fsCheck);
 
428
 
420
429
#endif // _FILEIO_H_