Example #1
0
 private void InitDelegates()
 {
     _mkdirDelegate  = new uv_fs_cb(this.OnCreateDirectory);
     _rmdirDelegate  = new uv_fs_cb(this.OnRemoveDirectory);
     _statDelegate   = new uv_fs_cb(this.OnStat);
     _deleteDelegate = new uv_fs_cb(this.OnDelete);
 }
Example #2
0
 private void InitDelegates()
 {
     _openDelegate  = new uv_fs_cb(this.OnOpen);
     _closeDelegate = new uv_fs_cb(this.OnClose);
     _readDelegate  = new uv_fs_cb(this.OnRead);
     _writeDelegate = new uv_fs_cb(this.OnWrite);
 }
Example #3
0
 private static extern int uv_fs_rename(IntPtr loop, IntPtr req, string path, string newPath, uv_fs_cb callback);
Example #4
0
 private static extern int uv_fs_readdir(IntPtr loop, IntPtr req, string path, int flags, uv_fs_cb callback);
Example #5
0
 internal static extern int uv_fs_link(IntPtr loop, IntPtr req, string path, string new_path, uv_fs_cb cb);
Example #6
0
 private static extern int uv_fs_rename(IntPtr loop, IntPtr req, string path, string newPath, uv_fs_cb callback);
Example #7
0
 private static extern int uv_fs_ftruncate(IntPtr loop, IntPtr req, int fd, long offset, uv_fs_cb callback);
Example #8
0
 internal static extern int uv_fs_write(IntPtr loop, IntPtr req, uv_file file, uv_buf_t[] bufs, int nbufs, long offset, uv_fs_cb cb);
Example #9
0
 internal static extern int uv_fs_rmdir(IntPtr loop, IntPtr req, string path, uv_fs_cb cb);
Example #10
0
 private static extern int uv_fs_ftruncate(IntPtr loop, IntPtr req, IntPtr file, long offset, uv_fs_cb callback);
Example #11
0
 private static extern int uv_fs_fdatasync(IntPtr loop, IntPtr req, IntPtr file, uv_fs_cb callback);
Example #12
0
 private static extern int uv_fs_write(IntPtr loop, IntPtr req, IntPtr file, IntPtr buf, IntPtr length, long offset, uv_fs_cb fs_cb);
Example #13
0
 private void InitDelegates()
 {
     _openDelegate = new uv_fs_cb(this.OnOpen);
     _closeDelegate = new uv_fs_cb(this.OnClose);
     _readDelegate = new uv_fs_cb(this.OnRead);
     _writeDelegate = new uv_fs_cb(this.OnWrite);
 }
Example #14
0
 private static int uv_fs_open(Loop loop, IntPtr req, string path, FileAccessMode rw, FileOpenMode open, FilePermissions permissions, uv_fs_cb cb)
 {
     return Uvi.uv_fs_open(loop.Handle, req, path, (int)rw | (int)open, (int)permissions, cb);
 }
Example #15
0
 internal static extern int uv_fs_futime(IntPtr loop, IntPtr req, uv_file file, double atime, double mtime, uv_fs_cb cb);
Example #16
0
 internal static extern int uv_fs_readdir(IntPtr loop, IntPtr req, string path, int flags, uv_fs_cb cb);
Example #17
0
 private static extern int uv_fs_sendfile(IntPtr loop, IntPtr req, IntPtr out_fd, IntPtr in_fd, int offset, int length, uv_fs_cb callback);
Example #18
0
 internal static extern int uv_fs_unlink(IntPtr loop, IntPtr req, string path, uv_fs_cb cb);
Example #19
0
 private static extern int uv_fs_open(IntPtr loop, IntPtr req, string path, int flags, int mode, uv_fs_cb callback);
Example #20
0
 internal static extern int uv_fs_fstat(IntPtr loop, IntPtr req, uv_file file, uv_fs_cb cb);
Example #21
0
 private static extern int uv_fs_close(IntPtr loop, IntPtr req, IntPtr file, uv_fs_cb callback);
Example #22
0
 private static extern int uv_fs_write(IntPtr loop, IntPtr req, int fd, IntPtr buf, IntPtr length, long offset, uv_fs_cb fs_cb);
Example #23
0
 private static extern int uv_fs_close(IntPtr loop, IntPtr req, IntPtr file, uv_fs_cb callback);
Example #24
0
 private static extern int uv_fs_fdatasync(IntPtr loop, IntPtr req, IntPtr file, uv_fs_cb callback);
Example #25
0
 private static extern int uv_fs_sendfile(IntPtr loop, IntPtr req, IntPtr out_fd, IntPtr in_fd, int offset, int length, uv_fs_cb callback);
Example #26
0
 private void InitDelegates()
 {
     _mkdirDelegate = new uv_fs_cb(this.OnCreateDirectory);
     _rmdirDelegate = new uv_fs_cb(this.OnRemoveDirectory);
     _statDelegate = new uv_fs_cb(this.OnStat);
     _deleteDelegate = new uv_fs_cb(this.OnDelete);
 }
Example #27
0
 internal static extern int uv_fs_open(IntPtr loop, IntPtr req, string path, int flags, int mode, uv_fs_cb cb);
Example #28
0
 private static extern int uv_fs_rmdir(IntPtr loop, IntPtr req, string path, uv_fs_cb callback);
Example #29
0
 internal static extern int uv_fs_close(IntPtr loop, IntPtr req, uv_file file, uv_fs_cb cb);
Example #30
0
 internal static extern int uv_fs_ftruncate(IntPtr loop, IntPtr req, uv_file file, long offset, uv_fs_cb cb);
Example #31
0
 internal static extern int uv_fs_write(IntPtr loop, IntPtr req, uv_file file, uv_buf_t[] bufs, int nbufs, long offset, uv_fs_cb cb);
Example #32
0
 internal static extern int uv_fs_open(IntPtr loop, IntPtr req, string path, int flags, int mode, uv_fs_cb cb);
Example #33
0
 internal static extern int uv_fs_readdir(IntPtr loop, IntPtr req, string path, int flags, uv_fs_cb cb);
Example #34
0
 internal static extern int uv_fs_rename(IntPtr loop, IntPtr req, string path, string new_path, uv_fs_cb cb);
Example #35
0
 internal static extern int uv_fs_stat(IntPtr loop, IntPtr req, string path, uv_fs_cb cb);
Example #36
0
        internal static extern int uv_fs_sendfile(IntPtr loop, IntPtr req, uv_file out_fd, uv_file in_fd, long in_offset,
			[MarshalAs(UnmanagedType.CustomMarshaler, MarshalType = "Libuv.SizeTMarshaler")] SizeT length, uv_fs_cb cb);
Example #37
0
 internal static extern int uv_fs_fdatasync(IntPtr loop, IntPtr req, uv_file file, uv_fs_cb cb);
Example #38
0
 internal static extern int uv_fs_utime(IntPtr loop, IntPtr req, string path, double atime, double mtime, uv_fs_cb cb);
Example #39
0
 internal static extern int uv_fs_ftruncate(IntPtr loop, IntPtr req, uv_file file, long offset, uv_fs_cb cb);
Example #40
0
 internal static extern int uv_fs_chmod(IntPtr loop, IntPtr req, string path, int mode, uv_fs_cb cb);
Example #41
0
 internal static extern int uv_fs_sendfile(IntPtr loop, IntPtr req, uv_file out_fd, uv_file in_fd, long in_offset,
                                           [MarshalAs(UnmanagedType.CustomMarshaler, MarshalType = "Libuv.SizeTMarshaler")] SizeT length, uv_fs_cb cb);
Example #42
0
 private static extern int uv_fs_fsync(IntPtr loop, IntPtr req, int fd, uv_fs_cb callback);
Example #43
0
 internal static extern int uv_fs_chmod(IntPtr loop, IntPtr req, string path, int mode, uv_fs_cb cb);
Example #44
0
 private static extern int uv_fs_open(IntPtr loop, IntPtr req, string path, int flags, int mode, uv_fs_cb callback);
Example #45
0
 internal static extern int uv_fs_utime(IntPtr loop, IntPtr req, string path, double atime, double mtime, uv_fs_cb cb);
Example #46
0
 private static extern int uv_fs_readdir(IntPtr loop, IntPtr req, string path, int flags, uv_fs_cb callback);
Example #47
0
 internal static extern int uv_fs_futime(IntPtr loop, IntPtr req, uv_file file, double atime, double mtime, uv_fs_cb cb);
Example #48
0
 private static extern int uv_fs_rmdir(IntPtr loop, IntPtr req, string path, uv_fs_cb callback);
Example #49
0
 private static int uv_fs_open(Loop loop, IntPtr req, string path, FileAccessMode rw, FileOpenMode open, FilePermissions permissions, uv_fs_cb cb)
 {
     return(Uvi.uv_fs_open(loop.Handle, req, path, (int)rw | (int)open, (int)permissions, cb));
 }