summaryrefslogtreecommitdiff
path: root/include/yaml/yaml_version.h
blob: 2ff74a513485a42c13302cc7990d027925a74b26 (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
28
29
30
31
32
33
/**
 * @file yaml_version.h
 * @brief Version information.
 *
 * Do not include yaml_version.h directly.
 */

#ifndef YAML_VERSION_H
#define YAML_VERSION_H

#ifdef __cplusplus
extern "C" {
#endif

/**
 * @brief Get the library version.
 */

const char *
yaml_get_version_string(void);

/**
 * @brief Get the library version numbers.
 */

void
yaml_get_version(int *major, int *minor, int *patch);

#ifdef __cplusplus
}
#endif

#endif /* #ifndef YAML_VERSION_H */