2 * Copyright 2010 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
8 * Subclass of the gio object that wraps NaClDesc objects. Direct
9 * read/write pass through is done.
12 #ifndef NATIVE_CLIENT_SRC_TRUSTED_GIO_WRAPPED_DESC_GIO_NACL_DESC_H_
13 #define NATIVE_CLIENT_SRC_TRUSTED_GIO_WRAPPED_DESC_GIO_NACL_DESC_H_
15 #include "native_client/src/include/nacl_base.h"
17 #include "native_client/src/shared/gio/gio.h"
23 struct NaClGioNaClDesc {
25 struct NaClDesc *wrapped;
29 * The Ctor takes a new reference to wrapped.
31 int NaClGioNaClDescCtor(struct NaClGioNaClDesc *self,
32 struct NaClDesc *wrapped);
34 #endif /* NATIVE_CLIENT_SRC_TRUSTED_GIO_WRAPPED_DESC_GIO_NACL_DESC_H_ */