library.h
Go to the documentation of this file.
1/*
2 * $COPYRIGHT-BEGIN$
3 * libasterix
4 * Copyright [2013-2026] SinoATC <http://www.sinoatc.com>.
5 * All Rights Reserved.
6 *
7 * NOTICE: All information contained herein is, and remains
8 * the property of SinoATC and its suppliers, if any.
9 * The intellectual and technical concepts contained herein
10 * are proprietary to SinoATC and its suppliers and may be
11 * covered by U.S. and Foreign Patents, patents in process,
12 * and are protected by trade secret or copyright law.
13 * Dissemination of this information or reproduction of this material
14 * is strictly forbidden unless prior written permission is obtained
15 * from SinoATC.
16 * $COPYRIGHT-END$
17 */
18
23
24#ifndef LIBASTERIX_LIBRARY_H
25#define LIBASTERIX_LIBRARY_H
26
27#include <stdbool.h>
28#include "platform.h"
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
36
39
42
44AST_API const char* ast_library_version(void);
45
47AST_API const char* ast_library_revision(void);
48
50AST_API const char* ast_library_build(void);
51
53AST_API const char* ast_library_about(void);
54
56AST_API const char* ast_library_contact(void);
57
59AST_API bool ast_library_init(const char* const key);
60
61#ifdef __cplusplus
62 }
63#endif // extern "C"
64
65#endif //LIBASTERIX_LIBRARY_H
66
67// vim:set ft=c.doxygen sw=2 sts=2 fenc=utf8:
int ast_library_version_minor(void)
Get minor version number of libasterix, e.g. 2.
const char * ast_library_build(void)
Get build date of libasterix, e.g. "Jan 1 2008".
const char * ast_library_revision(void)
Get revision string of libasterix, e.g. "aabb123".
int ast_library_version_patch(void)
Get patch number of libasterix, e.g. 10.
int ast_library_version_major(void)
Get major version number of libasterix, e.g. 1.
const char * ast_library_version(void)
Get version string of libasterix, e.g. "1.2.10".
const char * ast_library_about(void)
Get copyright information of libasterix.
bool ast_library_init(const char *const key)
Init library.
const char * ast_library_contact(void)
Get contact information of libasterix.
This file includes platform specific definitions.
#define AST_API
Definition platform.h:63