Updates from char * to const char * + german syntax + enumeration (bug #2780)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4229 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-11-13 16:13:07 +00:00
parent a1cdeb6f80
commit dd43338425
19 changed files with 2013 additions and 1624 deletions

View File

@@ -78,7 +78,7 @@ static struct ast_filestream *g723_open(int fd)
return tmp;
}
static struct ast_filestream *g723_rewrite(int fd, char *comment)
static struct ast_filestream *g723_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check

View File

@@ -198,7 +198,7 @@ static struct ast_filestream *g726_16_open(int fd)
return tmp;
}
static struct ast_filestream *g726_40_rewrite(int fd, char *comment)
static struct ast_filestream *g726_40_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
@@ -224,7 +224,7 @@ static struct ast_filestream *g726_40_rewrite(int fd, char *comment)
return tmp;
}
static struct ast_filestream *g726_32_rewrite(int fd, char *comment)
static struct ast_filestream *g726_32_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
@@ -250,7 +250,7 @@ static struct ast_filestream *g726_32_rewrite(int fd, char *comment)
return tmp;
}
static struct ast_filestream *g726_24_rewrite(int fd, char *comment)
static struct ast_filestream *g726_24_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
@@ -276,7 +276,7 @@ static struct ast_filestream *g726_24_rewrite(int fd, char *comment)
return tmp;
}
static struct ast_filestream *g726_16_rewrite(int fd, char *comment)
static struct ast_filestream *g726_16_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check

View File

@@ -82,7 +82,7 @@ static struct ast_filestream *g729_open(int fd)
return tmp;
}
static struct ast_filestream *g729_rewrite(int fd, char *comment)
static struct ast_filestream *g729_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check

View File

@@ -91,7 +91,7 @@ static struct ast_filestream *gsm_open(int fd)
return tmp;
}
static struct ast_filestream *gsm_rewrite(int fd, char *comment)
static struct ast_filestream *gsm_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check

View File

@@ -90,7 +90,7 @@ static struct ast_filestream *h263_open(int fd)
return tmp;
}
static struct ast_filestream *h263_rewrite(int fd, char *comment)
static struct ast_filestream *h263_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check

View File

@@ -84,7 +84,7 @@ static struct ast_filestream *ilbc_open(int fd)
return tmp;
}
static struct ast_filestream *ilbc_rewrite(int fd, char *comment)
static struct ast_filestream *ilbc_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check

View File

@@ -80,7 +80,7 @@ static struct ast_filestream *pcm_open(int fd)
return tmp;
}
static struct ast_filestream *pcm_rewrite(int fd, char *comment)
static struct ast_filestream *pcm_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check

View File

@@ -108,7 +108,7 @@ static struct ast_filestream *pcm_open(int fd)
return tmp;
}
static struct ast_filestream *pcm_rewrite(int fd, char *comment)
static struct ast_filestream *pcm_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check

View File

@@ -78,7 +78,7 @@ static struct ast_filestream *slinear_open(int fd)
return tmp;
}
static struct ast_filestream *slinear_rewrite(int fd, char *comment)
static struct ast_filestream *slinear_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check

View File

@@ -85,7 +85,7 @@ static struct ast_filestream *vox_open(int fd)
return tmp;
}
static struct ast_filestream *vox_rewrite(int fd, char *comment)
static struct ast_filestream *vox_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check

View File

@@ -350,7 +350,7 @@ static struct ast_filestream *wav_open(int fd)
return tmp;
}
static struct ast_filestream *wav_rewrite(int fd, char *comment)
static struct ast_filestream *wav_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check

View File

@@ -361,7 +361,7 @@ static struct ast_filestream *wav_open(int fd)
return tmp;
}
static struct ast_filestream *wav_rewrite(int fd, char *comment)
static struct ast_filestream *wav_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check