| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef BIN_IO_SERVICE_H_ | 5 #ifndef BIN_IO_SERVICE_H_ |
| 6 #define BIN_IO_SERVICE_H_ | 6 #define BIN_IO_SERVICE_H_ |
| 7 | 7 |
| 8 #include "bin/builtin.h" | 8 #include "bin/builtin.h" |
| 9 #include "bin/utils.h" | 9 #include "bin/utils.h" |
| 10 | 10 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 V(File, Read, 17) \ | 34 V(File, Read, 17) \ |
| 35 V(File, ReadInto, 18) \ | 35 V(File, ReadInto, 18) \ |
| 36 V(File, WriteFrom, 19) \ | 36 V(File, WriteFrom, 19) \ |
| 37 V(File, CreateLink, 20) \ | 37 V(File, CreateLink, 20) \ |
| 38 V(File, DeleteLink, 21) \ | 38 V(File, DeleteLink, 21) \ |
| 39 V(File, RenameLink, 22) \ | 39 V(File, RenameLink, 22) \ |
| 40 V(File, LinkTarget, 23) \ | 40 V(File, LinkTarget, 23) \ |
| 41 V(File, Type, 24) \ | 41 V(File, Type, 24) \ |
| 42 V(File, Identical, 25) \ | 42 V(File, Identical, 25) \ |
| 43 V(File, Stat, 26) \ | 43 V(File, Stat, 26) \ |
| 44 V(Socket, Lookup, 27) \ | 44 V(File, Lock, 27) \ |
| 45 V(Socket, ListInterfaces, 28) \ | 45 V(Socket, Lookup, 28) \ |
| 46 V(Socket, ReverseLookup, 29) \ | 46 V(Socket, ListInterfaces, 29) \ |
| 47 V(Directory, Create, 30) \ | 47 V(Socket, ReverseLookup, 30) \ |
| 48 V(Directory, Delete, 31) \ | 48 V(Directory, Create, 31) \ |
| 49 V(Directory, Exists, 32) \ | 49 V(Directory, Delete, 32) \ |
| 50 V(Directory, CreateTemp, 33) \ | 50 V(Directory, Exists, 33) \ |
| 51 V(Directory, ListStart, 34) \ | 51 V(Directory, CreateTemp, 34) \ |
| 52 V(Directory, ListNext, 35) \ | 52 V(Directory, ListStart, 35) \ |
| 53 V(Directory, ListStop, 36) \ | 53 V(Directory, ListNext, 36) \ |
| 54 V(Directory, Rename, 37) \ | 54 V(Directory, ListStop, 37) \ |
| 55 V(SSLFilter, ProcessFilter, 38) | 55 V(Directory, Rename, 38) \ |
| 56 V(SSLFilter, ProcessFilter, 39) |
| 56 | 57 |
| 57 #define DECLARE_REQUEST(type, method, id) \ | 58 #define DECLARE_REQUEST(type, method, id) \ |
| 58 k##type##method##Request = id, | 59 k##type##method##Request = id, |
| 59 | 60 |
| 60 class IOService { | 61 class IOService { |
| 61 public: | 62 public: |
| 62 enum { | 63 enum { |
| 63 IO_SERVICE_REQUEST_LIST(DECLARE_REQUEST) | 64 IO_SERVICE_REQUEST_LIST(DECLARE_REQUEST) |
| 64 }; | 65 }; |
| 65 | 66 |
| 66 static Dart_Port GetServicePort(); | 67 static Dart_Port GetServicePort(); |
| 67 }; | 68 }; |
| 68 | 69 |
| 69 } // namespace bin | 70 } // namespace bin |
| 70 } // namespace dart | 71 } // namespace dart |
| 71 | 72 |
| 72 #endif // BIN_IO_SERVICE_H_ | 73 #endif // BIN_IO_SERVICE_H_ |
| OLD | NEW |