library.h
Go to the documentation of this file.
1 /*
2  * libasterix
3  * Copyright [2013-2020] SinoATC <http://www.sinoatc.com>.
4  * All Rights Reserved.
5  *
6  * NOTICE: All information contained herein is, and remains
7  * the property of SinoATC and its suppliers, if any.
8  * The intellectual and technical concepts contained herein
9  * are proprietary to Aerosys Corporation and its suppliers and may be
10  * covered by U.S. and Foreign Patents, patents in process,
11  * and are protected by trade secret or copyright law.
12  * Dissemination of this information or reproduction of this material
13  * is strictly forbidden unless prior written permission is obtained
14  * from SinoATC.
15  */
16 
22 #ifndef LIBASTERIX_LIBRARY_H
23 #define LIBASTERIX_LIBRARY_H
24 
25 #include <stdbool.h>
26 #include "platform.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
34 
37 
40 
42 AST_API const char* ast_library_version(void);
43 
45 AST_API const char* ast_library_build(void);
46 
48 AST_API const char* ast_library_about(void);
49 
51 AST_API const char* ast_library_contact(void);
52 
54 AST_API bool ast_library_init(const char* const key);
55 
56 
57 #ifdef __cplusplus
58  }
59 #endif // extern "C"
60 
61 #endif //LIBASTERIX_LIBRARY_H
62 
63 // 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.