| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 /* | 7 /* |
| 8 * NaCl Generic I/O interface. | 8 * NaCl Generic I/O interface. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 | 159 |
| 160 int GioMemoryFileClose(struct Gio *vself); | 160 int GioMemoryFileClose(struct Gio *vself); |
| 161 | 161 |
| 162 void GioMemoryFileDtor(struct Gio *vself); | 162 void GioMemoryFileDtor(struct Gio *vself); |
| 163 | 163 |
| 164 struct GioMemoryFileSnapshot { | 164 struct GioMemoryFileSnapshot { |
| 165 struct GioMemoryFile base; | 165 struct GioMemoryFile base; |
| 166 }; | 166 }; |
| 167 | 167 |
| 168 int GioMemoryFileSnapshotCtor(struct GioMemoryFileSnapshot *self, | 168 int GioMemoryFileSnapshotCtor(struct GioMemoryFileSnapshot *self, |
| 169 char *fn); | 169 const char *filename); |
| 170 | 170 |
| 171 void GioMemoryFileSnapshotDtor(struct Gio *vself); | 171 void GioMemoryFileSnapshotDtor(struct Gio *vself); |
| 172 | 172 |
| 173 | 173 |
| 174 struct GioPio { | 174 struct GioPio { |
| 175 struct Gio base; | 175 struct Gio base; |
| 176 int fd; | 176 int fd; |
| 177 off_t pos; | 177 off_t pos; |
| 178 }; | 178 }; |
| 179 | 179 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 194 char const *fmt, | 194 char const *fmt, |
| 195 ...); | 195 ...); |
| 196 | 196 |
| 197 size_t gvprintf(struct Gio *gp, | 197 size_t gvprintf(struct Gio *gp, |
| 198 char const *fmt, | 198 char const *fmt, |
| 199 va_list ap); | 199 va_list ap); |
| 200 | 200 |
| 201 EXTERN_C_END | 201 EXTERN_C_END |
| 202 | 202 |
| 203 #endif /* NATIVE_CLIENT_SRC_SHARED_GIO_GIO_H_ */ | 203 #endif /* NATIVE_CLIENT_SRC_SHARED_GIO_GIO_H_ */ |
| OLD | NEW |