| Index: src/trusted/validator/rich_file_info.h
|
| diff --git a/src/trusted/validator/rich_file_info.h b/src/trusted/validator/rich_file_info.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5c322e662100752fa8fd1e844ddf3de6bc93d85e
|
| --- /dev/null
|
| +++ b/src/trusted/validator/rich_file_info.h
|
| @@ -0,0 +1,32 @@
|
| +/*
|
| + * Copyright (c) 2013 The Native Client Authors. All rights reserved.
|
| + * Use of this source code is governed by a BSD-style license that can be
|
| + * found in the LICENSE file.
|
| + */
|
| +
|
| +#ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_RICH_FILE_INFO_C_H__
|
| +#define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_RICH_FILE_INFO_C_H__
|
| +
|
| +#include <stddef.h>
|
| +
|
| +#include "native_client/src/include/nacl_base.h"
|
| +
|
| +EXTERN_C_BEGIN
|
| +
|
| +struct NaClDesc;
|
| +
|
| +struct RichFileInfo {
|
| + uint8_t known_file;
|
| + const char *file_path;
|
| + uint32_t file_path_length;
|
| +};
|
| +
|
| +void RichFileInfoCtor(struct RichFileInfo *info);
|
| +void RichFileInfoDtor(struct RichFileInfo *info);
|
| +
|
| +int SetFileOriginInfo(struct NaClDesc *desc, struct RichFileInfo *info);
|
| +int GetFileOriginInfo(struct NaClDesc *desc, struct RichFileInfo *info);
|
| +
|
| +EXTERN_C_END
|
| +
|
| +#endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_RICH_FILE_INFO_C_H__ */
|
|
|