| 1 |
/** |
| 2 |
* This file is part of the Detox package. |
| 3 |
* |
| 4 |
* Copyright (c) Doug Harple <[email protected]> |
| 5 |
* |
| 6 |
* For the full copyright and license information, please view the LICENSE |
| 7 |
* file that was distributed with this source code. |
| 8 |
*/ |
| 9 |
|
| 10 |
#ifndef __WRAPPED_H |
| 11 |
#define __WRAPPED_H |
| 12 |
|
| 13 |
#include <stdio.h> |
| 14 |
|
| 15 |
#ifdef SUPPORT_COVERAGE |
| 16 |
extern int wrapped_malloc_failure; |
| 17 |
extern int wrapped_strdup_failure; |
| 18 |
#endif |
| 19 |
|
| 20 |
extern void *wrapped_malloc(size_t size); |
| 21 |
extern char *wrapped_strdup(const char *s); |
| 22 |
|
| 23 |
#endif /* __WRAPPED_H */ |