diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2000-07-20 19:40:53 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2000-07-20 19:40:53 +0000 |
commit | 5d5bc9919bdcd4dc380b276c57fb1871d515a1c4 (patch) | |
tree | 76882ff70e8c293bfcc9478f72944e82c99f6e17 | |
parent | f707dba0474bb51b0aadc134e15a80d97b027f56 (diff) |
Version 0.1.4 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@212 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-x | include/asterisk/frame.h | 5 | ||||
-rwxr-xr-x | logger.c | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/include/asterisk/frame.h b/include/asterisk/frame.h index 90ee6f3b6..a582bec12 100755 --- a/include/asterisk/frame.h +++ b/include/asterisk/frame.h @@ -8,7 +8,9 @@ * Mark Spencer <markster@linux-support.net> * * This program is free software, distributed under the terms of - * the GNU General Public License + * the GNU Lesser General Public License. Other components of + * Asterisk are distributed under The GNU General Public License + * only. */ #ifndef _ASTERISK_FRAME_H @@ -56,6 +58,7 @@ struct ast_frame_chain { #define AST_FRAME_NULL 5 /* An empty, useless frame */ #define AST_FRAME_IAX 6 /* Inter Aterisk Exchange private frame type */ #define AST_FRAME_TEXT 7 /* Text messages */ +#define AST_FRAME_IMAGE 8 /* Image Frames */ /* Data formats for capabilities and frames alike */ #define AST_FORMAT_G723_1 (1 << 0) /* G.723.1 compression */ @@ -89,7 +89,7 @@ extern void ast_log(int level, char *file, int line, char *function, char *fmt, } else ast_log(LOG_WARNING, "Unable to retrieve local time?\n"); } else { - fprintf(stdout, "%s: File %s, Line %d (%s): ", levels[level], file, line, function); + fprintf(stdout, "%s[%ld]: File %s, Line %d (%s): ", levels[level], pthread_self(), file, line, function); vfprintf(stdout, fmt, ap); fflush(stdout); } |