Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Side by Side Diff: src/trusted/validator/rich_file_info.h

Issue 15039022: Enable meta-based validation for shared libraries. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Prevent breakage Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2013 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.
5 */
6
7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_RICH_FILE_INFO_C_H__
8 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_RICH_FILE_INFO_C_H__
9
10 #include <stddef.h>
11
12 #include "native_client/src/include/nacl_base.h"
13
14 EXTERN_C_BEGIN
15
16 struct NaClDesc;
17
18 struct RichFileInfo {
19 uint8_t known_file;
20 const char *file_path;
21 uint32_t file_path_length;
22 };
23
24 void RichFileInfoCtor(struct RichFileInfo *info);
25 void RichFileInfoDtor(struct RichFileInfo *info);
26
27 int SetFileOriginInfo(struct NaClDesc *desc, struct RichFileInfo *info);
28 int GetFileOriginInfo(struct NaClDesc *desc, struct RichFileInfo *info);
29
30 EXTERN_C_END
31
32 #endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_RICH_FILE_INFO_C_H__ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698