Files
asterisk/include/asterisk
Corey Farrell fbc8ddfe63 Optional API: Fix handling of sources that are both provider and user.
OPTIONAL_API has conditionals to define AST_OPTIONAL_API and
AST_OPTIONAL_API_ATTR differently based on if AST_API_MODULE is defined.
Unfortunately this is inside the include protection block, so only the
first status of AST_API_MODULE is respected.  For example res_monitor
is an optional API provider, but uses func_periodic_hook.  This makes
func_periodic_hook non-optional to res_monitor.

This changes optional_api.h so that AST_OPTIONAL_API and
AST_OPTIONAL_API_ATTR is redefined every time the header is included.

ASTERISK-17608 #close
Reported by: Warren Selby

Change-Id: I8fcf2a5e7b481893e17484ecde4f172c9ffb5679
2015-04-13 07:06:28 -04:00
..
2015-04-11 19:43:43 -06:00
2012-06-25 15:55:25 +00:00
2014-01-12 22:24:27 +00:00
2014-07-24 17:50:46 +00:00
2013-07-25 04:06:32 +00:00
2013-08-22 18:52:41 +00:00
2015-03-17 22:15:42 +00:00
2012-08-30 14:23:28 +00:00
2012-08-30 14:23:28 +00:00
2014-07-04 13:26:37 +00:00
2013-07-03 17:58:45 +00:00
2014-01-06 17:45:25 +00:00
2012-09-21 17:14:59 +00:00
2012-02-24 15:10:35 +00:00
2015-01-26 14:50:40 +00:00
2011-10-11 19:06:29 +00:00
2014-07-21 08:41:29 +00:00
2013-04-22 16:22:00 +00:00
2013-05-08 13:39:08 +00:00
2013-02-14 18:47:56 +00:00
2013-02-15 13:38:12 +00:00