summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/src/examples/debugging/untrusted_crash_dump.h
blob: 8cd973a5ad42f76768708d51d2f2d8e23784a753 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * Copyright (c) 2012 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.
 */

/*
 * Untrusted crash dumper.
 */

#ifndef NATIVE_CLIENT_SRC_UNTRUSTED_CRASH_DUMP_UNTRUSTED_CRASH_DUMP_H__
#define NATIVE_CLIENT_SRC_UNTRUSTED_CRASH_DUMP_UNTRUSTED_CRASH_DUMP_H__ 1


#ifdef __cplusplus
extern "C" {
#endif

/* These return non-zero on success. */
int NaClCrashDumpInit(void);
int NaClCrashDumpInitThread(void);

#ifdef __cplusplus
}
#endif

#endif  /* NATIVE_CLIENT_SRC_UNTRUSTED_CRASH_DUMP_UNTRUSTED_CRASH_DUMP_H__ */