Upstream | cc2ee17 | 1970-01-12 13:46:40 +0000 | [diff] [blame] | 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 |
| 17 | extern "C" { |
| 18 | #endif |
| 19 | |
| 20 | /** |
| 21 | * Write current abi to file. |
| 22 | * return 1 on success, 0 on failure |
| 23 | */ |
| 24 | int op_write_abi_to_file(char const * abi_file); |
| 25 | |
| 26 | #ifdef __cplusplus |
| 27 | } |
| 28 | #endif |
| 29 | |
| 30 | #endif // OP_ABI_H |