library.h File Reference

This file includes misc functions to provide library information. More...

#include <stdbool.h>
#include "platform.h"
Include dependency graph for library.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int ast_library_version_major (void)
 Get major version number of libasterix, e.g. 1. More...
 
int ast_library_version_minor (void)
 Get minor version number of libasterix, e.g. 2. More...
 
int ast_library_version_patch (void)
 Get patch number of libasterix, e.g. 10. More...
 
const char * ast_library_version (void)
 Get version string of libasterix, e.g. "1.2.10". More...
 
const char * ast_library_build (void)
 Get build date of libasterix, e.g. "Jan 1 2008". More...
 
const char * ast_library_about (void)
 Get copyright information of libasterix. More...
 
const char * ast_library_contact (void)
 Get contact information of libasterix. More...
 
bool ast_library_init (const char *const key)
 Init library. More...
 

Detailed Description

This file includes misc functions to provide library information.

Function Documentation

◆ ast_library_about()

const char* ast_library_about ( void  )

Get copyright information of libasterix.

Examples
example.c.

◆ ast_library_build()

const char* ast_library_build ( void  )

Get build date of libasterix, e.g. "Jan 1 2008".

Examples
example.c.

◆ ast_library_contact()

const char* ast_library_contact ( void  )

Get contact information of libasterix.

Examples
example.c.

◆ ast_library_init()

bool ast_library_init ( const char *const  key)

Init library.

Examples
example.c.

◆ ast_library_version()

const char* ast_library_version ( void  )

Get version string of libasterix, e.g. "1.2.10".

Examples
example.c.

◆ ast_library_version_major()

int ast_library_version_major ( void  )

Get major version number of libasterix, e.g. 1.

◆ ast_library_version_minor()

int ast_library_version_minor ( void  )

Get minor version number of libasterix, e.g. 2.

◆ ast_library_version_patch()

int ast_library_version_patch ( void  )

Get patch number of libasterix, e.g. 10.