ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libeio/eio.h
(Generate patch)

Comparing libeio/eio.h (file contents):
Revision 1.24 by root, Mon Jun 15 05:34:49 2009 UTC vs.
Revision 1.25 by root, Sat Jan 2 14:11:32 2010 UTC

1/* 1/*
2 * libeio API header 2 * libeio API header
3 * 3 *
4 * Copyright (c) 2007,2008,2009 Marc Alexander Lehmann <libeio@schmorp.de> 4 * Copyright (c) 2007,2008,2009,2010 Marc Alexander Lehmann <libeio@schmorp.de>
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without modifica- 7 * Redistribution and use in source and binary forms, with or without modifica-
8 * tion, are permitted provided that the following conditions are met: 8 * tion, are permitted provided that the following conditions are met:
9 * 9 *
98 int nameofs; /* offset of null-terminated name string in (char *)req->ptr2 */ 98 int nameofs; /* offset of null-terminated name string in (char *)req->ptr2 */
99 unsigned short namelen; /* size of filename without trailing 0 */ 99 unsigned short namelen; /* size of filename without trailing 0 */
100 unsigned char type; /* one of EIO_DT_* */ 100 unsigned char type; /* one of EIO_DT_* */
101 signed char score; /* internal use */ 101 signed char score; /* internal use */
102 ino_t inode; /* the inode number, if available, otherwise unspecified */ 102 ino_t inode; /* the inode number, if available, otherwise unspecified */
103};
104
105/* eio_msync flags */
106enum {
107 EIO_MS_ASYNC = 1,
108 EIO_MS_INVALIDATE = 2,
109 EIO_MS_SYNC = 4
110};
111
112/* eio_mtouch flags */
113
114enum {
115 EIO_MT_MODIFY = 1
103}; 116};
104 117
105/* eio_sync_file_range flags */ 118/* eio_sync_file_range flags */
106 119
107enum { 120enum {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines