libpaf
1.1.13
Loading...
Searching...
No Matches
include
paf_err.h
1
/*
2
* SPDX-License-Identifier: BSD-3-Clause
3
* Copyright(c) 2020 Ericsson AB
4
*/
5
6
#ifndef PAF_ERR_H
7
#define PAF_ERR_H
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
12
#include <stdint.h>
13
14
const
char
*paf_strerror(int64_t return_code);
15
16
#define PAF_ERR (-1)
17
#define PAF_ERR_PROPS_TOO_LARGE (-2)
18
#define PAF_ERR_BUFFER_TOO_SMALL (-3)
19
#define PAF_ERR_FILTER_TOO_LARGE (-4)
20
#define PAF_ERR_INVALID_FILTER_SYNTAX (-5)
21
#define PAF_ERR_DETACHED (-6)
22
23
#define PAF_IS_ERR(x) ((x) < 0 ? true : false)
24
25
#ifdef __cplusplus
26
}
27
#endif
28
#endif
Generated on Tue Dec 17 2024 10:55:04 for libpaf by
1.9.8