Asterisk - The Open Source Telephony Project  18.5.0
libasteriskpj.c
Go to the documentation of this file.
1 /*
2  * Asterisk -- An open source telephony toolkit.
3  *
4  * Copyright (C) 2009-2012, Digium, Inc.
5  * Copyright (C) 2015, Fairview 5 Engineering, LLC
6  *
7  * Russell Bryant <[email protected]>
8  * George Joseph <[email protected]>
9  *
10  * See http://www.asterisk.org for more information about
11  * the Asterisk project. Please do not directly contact
12  * any of the maintainers of this project for assistance;
13  * the project provides a web site, mailing lists and IRC
14  * channels for your use.
15  *
16  * This program is free software, distributed under the terms of
17  * the GNU General Public License Version 2. See the LICENSE file
18  * at the top of the source tree.
19  */
20 
21 /*!
22  * \file
23  * \brief Loader stub for static pjproject libraries
24  *
25  * \author George Joseph <[email protected]>
26  */
27 
28 /*** MODULEINFO
29  <support_level>core</support_level>
30  ***/
31 
32 #include "asterisk.h"
33 
34 #ifdef HAVE_PJPROJECT
35 #include <pjlib.h>
36 #endif
37 
38 #include "asterisk/options.h"
39 #include "asterisk/_private.h" /* ast_pj_init() */
40 
41 /*!
42  * \internal
43  * \brief Initialize static pjproject implementation
44  */
45 int ast_pj_init(void)
46 {
47 #ifdef HAVE_PJPROJECT_BUNDLED
49  pj_init();
50 #endif
51  return 0;
52 }
Asterisk main include file. File version handling, generic pbx functions.
int ast_pj_init(void)
Definition: libasteriskpj.c:45
#define AST_PJPROJECT_INIT_LOG_LEVEL()
Get maximum log level pjproject was compiled with.
Definition: options.h:166
Prototypes for public functions only of internal interest,.
Options provided by main asterisk program.