dect
/
asterisk
Archived
13
0
Fork 0

more file version tags

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
kpfleming 2005-06-06 22:12:19 +00:00
parent 09f3094700
commit 6f0f46299c
115 changed files with 578 additions and 335 deletions

2
acl.c
View File

@ -38,7 +38,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/acl.h"
#include "asterisk/logger.h"

2
alaw.c
View File

@ -13,7 +13,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/alaw.h"

2
app.c
View File

@ -25,7 +25,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/channel.h"
#include "asterisk/pbx.h"

View File

@ -36,7 +36,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/logger.h"
#include "asterisk/options.h"

View File

@ -22,7 +22,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/pbx.h"
#include "asterisk/frame.h"

View File

@ -24,7 +24,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/ulaw.h"
#include "asterisk/alaw.h"

2
cdr.c
View File

@ -22,7 +22,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/channel.h"

View File

@ -18,7 +18,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/channel.h"
#include "asterisk/cdr.h"

View File

@ -18,7 +18,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/channel.h"
#include "asterisk/cdr.h"

View File

@ -15,7 +15,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/channel.h"
#include "asterisk/cdr.h"

View File

@ -25,7 +25,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/config.h"
#include "asterisk/options.h"

View File

@ -26,7 +26,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/config.h"
#include "asterisk/options.h"

View File

@ -34,7 +34,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/pbx.h"
#include "asterisk/frame.h"

View File

@ -24,7 +24,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/channel.h"

View File

@ -24,7 +24,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/frame.h"
#include "asterisk/logger.h"

View File

@ -24,7 +24,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/channel.h"

View File

@ -13,7 +13,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/frame.h"

View File

@ -24,7 +24,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/channel.h"

View File

@ -72,7 +72,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/channel.h"

View File

@ -28,7 +28,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/channel.h"

View File

@ -19,7 +19,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/vmodem.h"

View File

@ -21,7 +21,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/vmodem.h"

View File

@ -21,7 +21,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/vmodem.h"

View File

@ -34,7 +34,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/frame.h"

View File

@ -32,7 +32,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/channel.h"

View File

@ -32,7 +32,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/channel.h"

View File

@ -32,7 +32,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/channel.h"

View File

@ -41,7 +41,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/channel.h"

View File

@ -18,7 +18,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/frame.h"
#include "asterisk/utils.h"

View File

@ -14,7 +14,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/config.h"
#include "asterisk/logger.h"

View File

@ -16,7 +16,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/chanvars.h"
#include "asterisk/logger.h"

2
cli.c
View File

@ -21,7 +21,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/logger.h"
#include "asterisk/options.h"

View File

@ -10,6 +10,17 @@
* the GNU General Public License
*/
#include <fcntl.h>
#include <netinet/in.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/logger.h"
#include "asterisk/module.h"
@ -17,12 +28,6 @@
#include "asterisk/channel.h"
#include "asterisk/alaw.h"
#include "asterisk/ulaw.h"
#include <fcntl.h>
#include <netinet/in.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#define BUFFER_SIZE 8096 /* size for the translation buffers */

View File

@ -14,6 +14,17 @@
* the GNU General Public License
*/
#include <fcntl.h>
#include <netinet/in.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/logger.h"
#include "asterisk/module.h"
@ -21,12 +32,6 @@
#include "asterisk/options.h"
#include "asterisk/translate.h"
#include "asterisk/channel.h"
#include <fcntl.h>
#include <netinet/in.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
/* define NOT_BLI to use a faster but not bit-level identical version */
/* #define NOT_BLI */

View File

@ -10,6 +10,17 @@
* the GNU General Public License
*/
#include <fcntl.h>
#include <netinet/in.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/logger.h"
#include "asterisk/module.h"
@ -18,12 +29,6 @@
#include "asterisk/translate.h"
#include "asterisk/channel.h"
#include "asterisk/alaw.h"
#include <fcntl.h>
#include <netinet/in.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#define BUFFER_SIZE 8096 /* size for the translation buffers */

View File

@ -22,11 +22,6 @@
#define TYPE_MASK 0x3
#include <sys/types.h>
#include "asterisk/lock.h"
#include "asterisk/translate.h"
#include "asterisk/module.h"
#include "asterisk/logger.h"
#include "asterisk/channel.h"
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
@ -34,6 +29,16 @@
#include <string.h>
#include <stdio.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
#include "asterisk/lock.h"
#include "asterisk/translate.h"
#include "asterisk/module.h"
#include "asterisk/logger.h"
#include "asterisk/channel.h"
#ifdef ANNEX_B
#include "g723.1b/typedef2.h"
#include "g723.1b/cst2.h"

View File

@ -13,6 +13,17 @@
* the GNU General Public License
*/
#include <fcntl.h>
#include <netinet/in.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/logger.h"
#include "asterisk/module.h"
@ -20,12 +31,6 @@
#include "asterisk/options.h"
#include "asterisk/translate.h"
#include "asterisk/channel.h"
#include <fcntl.h>
#include <netinet/in.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#define WANT_ASM
#include "log2comp.h"

View File

@ -14,6 +14,17 @@
* the GNU General Public License
*/
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <netinet/in.h>
#include <string.h>
#include <stdio.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/translate.h"
#include "asterisk/config.h"
@ -21,12 +32,6 @@
#include "asterisk/module.h"
#include "asterisk/logger.h"
#include "asterisk/channel.h"
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <netinet/in.h>
#include <string.h>
#include <stdio.h>
#include "gsm/inc/gsm.h"
#include "../formats/msgsm.h"

View File

@ -13,11 +13,6 @@
* the GNU General Public License
*/
#include "asterisk/lock.h"
#include "asterisk/translate.h"
#include "asterisk/module.h"
#include "asterisk/logger.h"
#include "asterisk/channel.h"
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
@ -25,6 +20,16 @@
#include <string.h>
#include <stdio.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/translate.h"
#include "asterisk/module.h"
#include "asterisk/logger.h"
#include "asterisk/channel.h"
#include "ilbc/iLBC_encode.h"
#include "ilbc/iLBC_decode.h"

View File

@ -16,6 +16,16 @@
* the GNU General Public License
*/
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <netinet/in.h>
#include <string.h>
#include <stdio.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/translate.h"
@ -24,12 +34,6 @@
#include "asterisk/module.h"
#include "asterisk/logger.h"
#include "asterisk/channel.h"
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <netinet/in.h>
#include <string.h>
#include <stdio.h>
#include "lpc10/lpc10.h"

View File

@ -14,6 +14,14 @@
* hacked to be configurable by anthm and bkw 9/28/2004
*/
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <netinet/in.h>
#include <string.h>
#include <stdio.h>
#include <speex.h>
static int quality = 8;
static int complexity = 2;
static int enhancement = 0;
@ -28,6 +36,10 @@ static int dtx = 0;
#define TYPE_LOW 0x1
#define TYPE_MASK 0x3
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
#include "asterisk/lock.h"
#include "asterisk/translate.h"
#include "asterisk/module.h"
@ -35,14 +47,6 @@ static int dtx = 0;
#include "asterisk/options.h"
#include "asterisk/logger.h"
#include "asterisk/channel.h"
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <netinet/in.h>
#include <string.h>
#include <stdio.h>
#include <speex.h>
/* Sample frame data */
#include "slin_speex_ex.h"

View File

@ -10,6 +10,17 @@
* the GNU General Public License
*/
#include <fcntl.h>
#include <netinet/in.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/logger.h"
#include "asterisk/module.h"
@ -18,12 +29,6 @@
#include "asterisk/translate.h"
#include "asterisk/channel.h"
#include "asterisk/ulaw.h"
#include <fcntl.h>
#include <netinet/in.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#define BUFFER_SIZE 8096 /* size for the translation buffers */

View File

@ -27,7 +27,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/config.h"
#include "asterisk/cli.h"

View File

@ -19,7 +19,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/config.h"
#include "asterisk/logger.h"

2
db.c
View File

@ -26,7 +26,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/channel.h"
#include "asterisk/file.h"

2
dns.c
View File

@ -18,7 +18,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/logger.h"
#include "asterisk/channel.h"

View File

@ -25,7 +25,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/dnsmgr.h"
#include "asterisk/linkedlists.h"

2
dsp.c
View File

@ -38,7 +38,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/frame.h"
#include "asterisk/channel.h"

2
enum.c
View File

@ -28,7 +28,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/logger.h"
#include "asterisk/options.h"

2
file.c
View File

@ -24,7 +24,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/frame.h"
#include "asterisk/file.h"

View File

@ -21,6 +21,11 @@
#else
#include <machine/endian.h>
#endif
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"

View File

@ -11,12 +11,6 @@
* the GNU General Public License
*/
#include "asterisk/lock.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include <arpa/inet.h>
#include <stdlib.h>
#include <stdio.h>
@ -24,6 +18,18 @@
#include <errno.h>
#include <string.h>
#include <sys/time.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "../channels/adtranvofr.h"

View File

@ -9,14 +9,6 @@
* the GNU General Public License
*/
#include "asterisk/lock.h"
#include "asterisk/options.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "asterisk/endian.h"
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdlib.h>
@ -26,6 +18,19 @@
#include <errno.h>
#include <string.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/options.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "asterisk/endian.h"
#define RATE_40 0
#define RATE_32 1
#define RATE_24 2

View File

@ -11,13 +11,6 @@
* the GNU General Public License
*/
#include "asterisk/lock.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "asterisk/endian.h"
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdlib.h>
@ -27,6 +20,18 @@
#include <errno.h>
#include <string.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "asterisk/endian.h"
/* Some Ideas for this code came from makeg729e.c by Jeffrey Chilton */
/* Portions of the conversion code are by guido@sienanet.it */

View File

@ -11,13 +11,6 @@
* the GNU General Public License
*/
#include "asterisk/lock.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "asterisk/endian.h"
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdlib.h>
@ -26,6 +19,19 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "asterisk/endian.h"
#include "msgsm.h"
/* Some Ideas for this code came from makegsme.c by Jeffrey Chilton */

View File

@ -11,13 +11,6 @@
* the GNU General Public License
*/
#include "asterisk/lock.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "asterisk/endian.h"
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdlib.h>
@ -27,6 +20,18 @@
#include <errno.h>
#include <string.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "asterisk/endian.h"
/* Some Ideas for this code came from makeh263e.c by Jeffrey Chilton */
/* Portions of the conversion code are by guido@sienanet.it */

View File

@ -13,13 +13,6 @@
* the GNU General Public License
*/
#include "asterisk/lock.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "asterisk/endian.h"
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdlib.h>
@ -29,6 +22,18 @@
#include <errno.h>
#include <string.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "asterisk/endian.h"
/* Some Ideas for this code came from makeg729e.c by Jeffrey Chilton */
/* Portions of the conversion code are by guido@sienanet.it */

View File

@ -12,14 +12,6 @@
*/
#include <sys/types.h>
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "asterisk/image.h"
#include "asterisk/lock.h"
#include "asterisk/endian.h"
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdlib.h>
@ -29,6 +21,18 @@
#include <errno.h>
#include <string.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "asterisk/image.h"
#include "asterisk/lock.h"
#include "asterisk/endian.h"
static char *desc = "JPEG (Joint Picture Experts Group) Image Format";

View File

@ -11,13 +11,6 @@
* the GNU General Public License
*/
#include "asterisk/lock.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "asterisk/endian.h"
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdlib.h>
@ -27,6 +20,18 @@
#include <errno.h>
#include <string.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "asterisk/endian.h"
#define BUF_SIZE 160 /* 160 samples */
struct ast_filestream {

View File

@ -11,13 +11,6 @@
* the GNU General Public License
*/
#include "asterisk/lock.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "asterisk/endian.h"
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdlib.h>
@ -29,6 +22,18 @@
#include <errno.h>
#include <string.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "asterisk/endian.h"
#define BUF_SIZE 160 /* 160 samples */
/* #define REALTIME_WRITE */

View File

@ -9,13 +9,6 @@
* the GNU General Public License
*/
#include "asterisk/lock.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "asterisk/endian.h"
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdlib.h>
@ -25,6 +18,18 @@
#include <errno.h>
#include <string.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "asterisk/endian.h"
#define BUF_SIZE 320 /* 320 samples */
struct ast_filestream {

View File

@ -11,13 +11,6 @@
* the GNU General Public License
*/
#include "asterisk/lock.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "asterisk/endian.h"
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdlib.h>
@ -27,6 +20,18 @@
#include <errno.h>
#include <string.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "asterisk/endian.h"
#define BUF_SIZE 80 /* 160 samples */
struct ast_filestream {

View File

@ -11,13 +11,6 @@
* the GNU General Public License
*/
#include "asterisk/lock.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "asterisk/endian.h"
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdlib.h>
@ -27,6 +20,18 @@
#include <errno.h>
#include <string.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "asterisk/endian.h"
/* Some Ideas for this code came from makewave.c by Jeffrey Chilton */
/* Portions of the conversion code are by guido@sienanet.it */

View File

@ -11,13 +11,6 @@
* the GNU General Public License
*/
#include "asterisk/lock.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "asterisk/endian.h"
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdlib.h>
@ -26,6 +19,19 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/sched.h"
#include "asterisk/module.h"
#include "asterisk/endian.h"
#include "msgsm.h"
/* Some Ideas for this code came from makewave.c by Jeffrey Chilton */

View File

@ -19,7 +19,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/frame.h"

View File

@ -18,7 +18,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/fskmodem.h"

View File

@ -13,6 +13,10 @@
#include <string.h>
#include <sys/types.h>
#include "asterisk.h"
/* ASTERISK_FILE_VERSION("$Revision$") */
#ifndef BUILTIN_FUNC
#include "asterisk/module.h"
#endif /* BUILTIN_FUNC */

View File

@ -14,6 +14,10 @@
#include <string.h>
#include <sys/types.h>
#include "asterisk.h"
/* ASTERISK_FILE_VERSION(__FILE__, "$Revision$") */
#include "asterisk/channel.h"
#include "asterisk/pbx.h"
#include "asterisk/logger.h"

View File

@ -18,6 +18,10 @@
#include <sys/types.h>
#include <regex.h>
#include "asterisk.h"
/* ASTERISK_FILE_VERSION(__FILE__, "$Revision$") */
#include "asterisk/channel.h"
#include "asterisk/pbx.h"
#include "asterisk/logger.h"

View File

@ -13,6 +13,10 @@
#include <string.h>
#include <sys/types.h>
#include "asterisk.h"
/* ASTERISK_FILE_VERSION(__FILE__, "$Revision$") */
#include "asterisk/channel.h"
#include "asterisk/pbx.h"
#include "asterisk/logger.h"

View File

@ -13,6 +13,10 @@
#include <string.h>
#include <sys/types.h>
#include "asterisk.h"
/* ASTERISK_FILE_VERSION(__FILE__, "$Revision$") */
#include "asterisk/channel.h"
#include "asterisk/pbx.h"
#include "asterisk/logger.h"

View File

@ -13,6 +13,10 @@
#include <string.h>
#include <sys/types.h>
#include "asterisk.h"
/* ASTERISK_FILE_VERSION(__FILE__, "$Revision$") */
#include "asterisk/channel.h"
#include "asterisk/pbx.h"
#include "asterisk/logger.h"

View File

@ -14,6 +14,10 @@
#include <string.h>
#include <sys/types.h>
#include "asterisk.h"
/* ASTERISK_FILE_VERSION(__FILE__, "$Revision$") */
#include "asterisk/channel.h"
#include "asterisk/pbx.h"
#include "asterisk/logger.h"

View File

@ -15,6 +15,10 @@
#include <string.h>
#include <sys/types.h>
#include "asterisk.h"
/* ASTERISK_FILE_VERSION(__FILE__, "$Revision$") */
#include "asterisk/channel.h"
#include "asterisk/pbx.h"
#include "asterisk/logger.h"

View File

@ -16,6 +16,10 @@
#include <sys/types.h>
#include <regex.h>
#include "asterisk.h"
/* ASTERISK_FILE_VERSION(__FILE__, "$Revision$") */
#include "asterisk/channel.h"
#include "asterisk/pbx.h"
#include "asterisk/logger.h"

View File

@ -13,6 +13,10 @@
#include <string.h>
#include <sys/types.h>
#include "asterisk.h"
/* ASTERISK_FILE_VERSION(__FILE__, "$Revision$") */
#include "asterisk/channel.h"
#include "asterisk/pbx.h"
#include "asterisk/logger.h"

View File

@ -16,7 +16,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/module.h"
#include "asterisk/pbx.h"

View File

@ -22,7 +22,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/sched.h"
#include "asterisk/options.h"

View File

@ -58,14 +58,14 @@ void ast_register_file_version(const char *file, const char *version);
void ast_unregister_file_version(const char *file);
#ifdef __GNUC__
#define ASTERISK_FILE_VERSION(x) \
#define ASTERISK_FILE_VERSION(file, version) \
static void __attribute__((constructor)) __register_file_version(void) \
{ \
ast_register_file_version(__FILE__, x); \
ast_register_file_version(file, version); \
} \
static void __attribute__((destructor)) __unregister_file_version(void) \
{ \
ast_unregister_file_version(__FILE__); \
ast_unregister_file_version(file); \
}
#else /* ! __GNUC__ */
#define ASTERISK_FILE_VERSION(x) static const char __file_version[] = x;

View File

@ -23,7 +23,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/indications.h"
#include "asterisk/frame.h"

2
io.c
View File

@ -20,7 +20,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/io.h"
#include "asterisk/logger.h"

View File

@ -19,7 +19,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "jitterbuf.h"

View File

@ -19,7 +19,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/module.h"
#include "asterisk/options.h"

View File

@ -27,7 +27,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/options.h"

View File

@ -29,7 +29,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/channel.h"
#include "asterisk/file.h"

2
md5.c
View File

@ -21,7 +21,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/endian.h"
#include "asterisk/md5.h"

2
pbx.c
View File

@ -24,7 +24,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/cli.h"

View File

@ -13,12 +13,17 @@
#include <sys/socket.h>
#include <string.h>
#include <netinet/in.h>
#include "asterisk/frame.h"
#include "asterisk/utils.h"
#include <arpa/inet.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/frame.h"
#include "asterisk/utils.h"
#include "asterisk/dundi.h"
#include "dundi-parser.h"
#include "asterisk/dundi.h"

View File

@ -12,6 +12,16 @@
*/
#include <sys/types.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/pbx.h"
#include "asterisk/config.h"
#include "asterisk/options.h"
@ -19,13 +29,6 @@
#include "asterisk/logger.h"
#include "asterisk/cli.h"
#include "asterisk/callerid.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
/* For where to put dynamic tables */
#include "asterisk.h"
#ifdef __AST_DEBUG_MALLOC
static void FREE(void *ptr)

View File

@ -9,6 +9,31 @@
* of the GNU General Public License.
*/
#include <stdlib.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <string.h>
#include <errno.h>
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(SOLARIS) || defined(__Darwin__)
#include <sys/types.h>
#include <netinet/in_systm.h>
#endif
#include <netinet/ip.h>
#include <sys/ioctl.h>
#include <netinet/in.h>
#include <net/if.h>
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__Darwin__)
#include <net/if_dl.h>
#include <ifaddrs.h>
#endif
#include <zlib.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/channel.h"
@ -31,26 +56,6 @@
#include "asterisk/aes.h"
#include "dundi-parser.h"
#include <stdlib.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <string.h>
#include <errno.h>
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(SOLARIS) || defined(__Darwin__)
#include <sys/types.h>
#include <netinet/in_systm.h>
#endif
#include <netinet/ip.h>
#include <sys/ioctl.h>
#include <netinet/in.h>
#include <net/if.h>
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__Darwin__)
#include <net/if_dl.h>
#include <ifaddrs.h>
#endif
#include <zlib.h>
#define MAX_RESULTS 64

View File

@ -20,13 +20,6 @@
*/
#include <sys/types.h>
#include "asterisk/pbx.h"
#include "asterisk/config.h"
#include "asterisk/module.h"
#include "asterisk/logger.h"
#include "asterisk/options.h"
#include "asterisk/cli.h"
#include "asterisk/utils.h"
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
@ -38,9 +31,18 @@
#include <gtk/gtk.h>
#include <glib.h>
/* For where to put dynamic tables */
#include "asterisk.h"
#include "astconf.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/pbx.h"
#include "asterisk/config.h"
#include "asterisk/module.h"
#include "asterisk/logger.h"
#include "asterisk/options.h"
#include "asterisk/cli.h"
#include "asterisk/utils.h"
AST_MUTEX_DEFINE_STATIC(verb_lock);

View File

@ -9,6 +9,15 @@
* of the GNU General Public License.
*/
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/channel.h"
@ -29,11 +38,6 @@
#include "asterisk/crypto.h"
#include "asterisk/astdb.h"
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
static char *tdesc = "Loopback Switch";
/* Loopback switch substitutes ${EXTEN}, ${CONTEXT}, and ${PRIORITY} into

View File

@ -9,6 +9,15 @@
* of the GNU General Public License.
*/
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/channel.h"
@ -31,11 +40,6 @@
#include "asterisk/crypto.h"
#include "asterisk/astdb.h"
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#define MODE_MATCH 0
#define MODE_MATCHMORE 1
#define MODE_CANMATCH 2

View File

@ -11,15 +11,6 @@
* the GNU General Public License
*/
#include "asterisk/lock.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/channel.h"
#include "asterisk/callerid.h"
#include "asterisk/pbx.h"
#include "asterisk/module.h"
#include "asterisk/options.h"
#include "asterisk/utils.h"
#include <sys/stat.h>
#include <errno.h>
#include <time.h>
@ -31,8 +22,21 @@
#include <string.h>
#include <stdio.h>
#include <unistd.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/channel.h"
#include "asterisk/callerid.h"
#include "asterisk/pbx.h"
#include "asterisk/module.h"
#include "asterisk/options.h"
#include "asterisk/utils.h"
/*
* pbx_spool is similar in spirit to qcall, but with substantially enhanced functionality...
* The spool file contains a header

2
plc.c
View File

@ -37,7 +37,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/plc.h"

View File

@ -22,7 +22,7 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION("$Revision$")
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/channel.h"
#include "asterisk/file.h"

View File

@ -21,6 +21,11 @@
#include <unistd.h>
#include <math.h>
#include <errno.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/ulaw.h"
#include "asterisk/alaw.h"
#include "asterisk/callerid.h"

View File

@ -17,13 +17,6 @@
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/channel.h"
#include "asterisk/pbx.h"
#include "asterisk/module.h"
#include "asterisk/astdb.h"
#include "asterisk/callerid.h"
#include <math.h>
#include <stdlib.h>
#include <unistd.h>
@ -34,6 +27,18 @@
#include <stdio.h>
#include <fcntl.h>
#include <errno.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/channel.h"
#include "asterisk/pbx.h"
#include "asterisk/module.h"
#include "asterisk/astdb.h"
#include "asterisk/callerid.h"
#include "asterisk/cli.h"
#include "asterisk/logger.h"
#include "asterisk/options.h"
@ -46,7 +51,6 @@
#include "asterisk/utils.h"
#include "asterisk/lock.h"
#include "asterisk/agi.h"
#include "asterisk.h"
#ifdef SOLARIS
#include "asterisk/astmm.h"
#endif

View File

@ -9,6 +9,14 @@
* Copyright (C) 2004 - 2005 Anthony Minessale II <anthmct@yahoo.com>
*/
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/channel.h"
@ -17,9 +25,6 @@
#include "asterisk/module.h"
#include "asterisk/lock.h"
#include "asterisk/options.h"
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include "asterisk/res_odbc.h"
#include "asterisk/utils.h"

View File

@ -12,6 +12,19 @@
*/
#include <sys/types.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <stdio.h>
#include <dirent.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <fcntl.h>
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/file.h"
#include "asterisk/channel.h"
#include "asterisk/logger.h"
@ -24,15 +37,6 @@
#include "asterisk/io.h"
#include "asterisk/lock.h"
#include "asterisk/utils.h"
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <stdio.h>
#include <dirent.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <fcntl.h>
#include "asterisk.h"
/*
* Asterisk uses RSA keys with SHA-1 message digests for its

Some files were not shown because too many files have changed in this diff Show More