op_abi.h revision cc2ee177dbb3befca43e36cfc56778b006c3d050
1/**
2 * @file op_abi.h
3 * This file contains a simple C interface to the ABI-describing functionality,
4 * the majority of which is implemented in C++. this is the file which is
5 * intended for use in files outside the /libabi directory.
6 *
7 * @remark Copyright 2002 OProfile authors
8 * @remark Read the file COPYING
9 *
10 * @author Graydon Hoare
11 */
12
13#ifndef OP_ABI_H
14#define OP_ABI_H
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20/**
21 * Write current abi to file.
22 * return 1 on success, 0 on failure
23 */
24int op_write_abi_to_file(char const * abi_file);
25
26#ifdef __cplusplus
27}
28#endif
29
30#endif // OP_ABI_H
31