library.h
Go to the documentation of this file.
1 /*
2  * libasterix
3  * Copyright [2020] SinoATC (http://www.sinoatc.com/).
4  * Copyright [2013-2020] Aerosys Corporation (http://www.aerosys.cn/).
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 Aerosys Corporation 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  */
17 
23 #ifndef LIBASTERIX_LIBRARY_H
24 #define LIBASTERIX_LIBRARY_H
25 
26 #include <stdbool.h>
27 #include "platform.h"
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
35 
38 
41 
43 AST_API const char* ast_library_version(void);
44 
46 AST_API const char* ast_library_build(void);
47 
49 AST_API const char* ast_library_about(void);
50 
52 AST_API const char* ast_library_contact(void);
53 
55 AST_API bool ast_library_init(const char* const key);
56 
57 
58 #ifdef __cplusplus
59  }
60 #endif // extern "C"
61 
62 #endif //LIBASTERIX_LIBRARY_H
63 
64 // vim:set ft=c sw=2 sts=2 fenc=utf8:
const char * ast_library_version(void)
Get version string of libasterix, e.g. "1.2.10".
int ast_library_version_patch(void)
Get patch number of libasterix, e.g. 10.
const char * ast_library_about(void)
Get copyright information of libasterix.
#define AST_API
Definition: platform.h:63
This file includes platform specific definitions.
const char * ast_library_build(void)
Get build date of libasterix, e.g. "Jan 1 2008".
bool ast_library_init(const char *const key)
Init library.
int ast_library_version_major(void)
Get major version number of libasterix, e.g. 1.
int ast_library_version_minor(void)
Get minor version number of libasterix, e.g. 2.
const char * ast_library_contact(void)
Get contact information of libasterix.