json: Add conditionals to avoid locking if Jansson is thread safe.
[asterisk/asterisk.git] / main / asterisk.exports.in
1 {
2         global:
3                 LINKER_SYMBOL_PREFIXast_*;
4                 LINKER_SYMBOL_PREFIXbridge_*;
5                 LINKER_SYMBOL_PREFIXbridge_channel_*;
6                 LINKER_SYMBOL_PREFIX_ast_*;
7                 LINKER_SYMBOL_PREFIX__ast_*;
8                 LINKER_SYMBOL_PREFIXpbx_*;
9                 LINKER_SYMBOL_PREFIXastman_*;
10                 LINKER_SYMBOL_PREFIXaco_*;
11                 LINKER_SYMBOL_PREFIX__aco_*;
12                 LINKER_SYMBOL_PREFIXao2_*;
13                 LINKER_SYMBOL_PREFIX__ao2_*;
14                 LINKER_SYMBOL_PREFIXoption_debug;
15                 LINKER_SYMBOL_PREFIXoption_verbose;
16                 LINKER_SYMBOL_PREFIXdahdi_chan_name;
17                 LINKER_SYMBOL_PREFIXdahdi_chan_name_len;
18                 LINKER_SYMBOL_PREFIXdahdi_chan_mode;
19                 LINKER_SYMBOL_PREFIXcallerid_*;
20                 LINKER_SYMBOL_PREFIXcid_di;
21                 LINKER_SYMBOL_PREFIXcid_dr;
22                 LINKER_SYMBOL_PREFIXclidsb;
23                 LINKER_SYMBOL_PREFIXMD5*;
24                 LINKER_SYMBOL_PREFIXsched_*;
25                 LINKER_SYMBOL_PREFIXio_*;
26                 LINKER_SYMBOL_PREFIXjb_*;
27                 LINKER_SYMBOL_PREFIXaes_*;
28                 LINKER_SYMBOL_PREFIXconfig_*;
29                 LINKER_SYMBOL_PREFIXtdd_*;
30                 LINKER_SYMBOL_PREFIXterm_*;
31                 LINKER_SYMBOL_PREFIXchannelreloadreason2txt;
32                 LINKER_SYMBOL_PREFIXdevstate2str;
33                 LINKER_SYMBOL_PREFIX__manager_event;
34                 LINKER_SYMBOL_PREFIXdialed_interface_info;
35                 LINKER_SYMBOL_PREFIXstrsep;
36                 LINKER_SYMBOL_PREFIXsetenv;
37                 LINKER_SYMBOL_PREFIXstasis_*;
38                 LINKER_SYMBOL_PREFIXunsetenv;
39                 LINKER_SYMBOL_PREFIXstrcasestr;
40                 LINKER_SYMBOL_PREFIXstrnlen;
41                 LINKER_SYMBOL_PREFIXstrndup;
42                 LINKER_SYMBOL_PREFIXvasprintf;
43                 LINKER_SYMBOL_PREFIXasprintf;
44                 LINKER_SYMBOL_PREFIXstrtoq;
45                 LINKER_SYMBOL_PREFIXgetloadavg;
46                 LINKER_SYMBOL_PREFIXntohll;
47                 LINKER_SYMBOL_PREFIXhtonll;
48                 LINKER_SYMBOL_PREFIXtimersub;
49                 LINKER_SYMBOL_PREFIXres_srtp;
50                 LINKER_SYMBOL_PREFIXres_srtp_policy;
51                 LINKER_SYMBOL_PREFIXsecure_call_info;
52                 LINKER_SYMBOL_PREFIX__progname;
53                 LINKER_SYMBOL_PREFIXenviron;
54                 /*
55
56                 If _IO_stdin_used is not exported, stdout/stderr may not get
57                 properly aligned. That causes breakage on some architectures.
58
59                 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634261#51
60                 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634261#94
61                 http://lists.gnu.org/archive/html/bug-glibc/2001-12/msg00203.html
62
63                 We export the symbol to get proper behaviour. Now printf
64                 doesn't SIGBUS anymore on the SPARC.
65
66                 Michael Karcher wrote on Jan 13, 2013:
67                 > A build process that mangles the export of _IO_stdin_used is
68                 > (as defined by the libc ABI, even if not explicitly written
69                 > down) broken. [...]
70
71                 */
72                 LINKER_SYMBOL_PREFIX_IO_stdin_used;
73         local:
74                 *;
75 };