aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-13 19:22:13 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-13 19:22:13 +0000
commitd056b18a40018d38abbeb107412cc83b78b3c406 (patch)
tree15cf3668bbd9a4728dea0a1e537e636f0bda775f /res
parent343bfdb0d8442b8e019a8b4690200f87e2ecd4b3 (diff)
Merged revisions 168561 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r168561 | russell | 2009-01-13 13:13:05 -0600 (Tue, 13 Jan 2009) | 2 lines Revert unnecessary indications API change from rev 122314 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168562 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r--res/res_indications.c16
-rw-r--r--res/snmp/agent.c4
2 files changed, 10 insertions, 10 deletions
diff --git a/res/res_indications.c b/res/res_indications.c
index eb61a02f1..b2ba5fcef 100644
--- a/res/res_indications.c
+++ b/res/res_indications.c
@@ -92,7 +92,7 @@ static const char config[] = "indications.conf";
*/
static char *handle_cli_indication_add(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
{
- struct ind_tone_zone *tz;
+ struct tone_zone *tz;
int created_country = 0;
switch (cmd) {
@@ -142,7 +142,7 @@ static char *handle_cli_indication_add(struct ast_cli_entry *e, int cmd, struct
*/
static char *handle_cli_indication_remove(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
{
- struct ind_tone_zone *tz;
+ struct tone_zone *tz;
switch (cmd) {
case CLI_INIT:
@@ -187,7 +187,7 @@ static char *handle_cli_indication_remove(struct ast_cli_entry *e, int cmd, stru
*/
static char *handle_cli_indication_show(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
{
- struct ind_tone_zone *tz = NULL;
+ struct tone_zone *tz = NULL;
char buf[256];
int found_country = 0;
@@ -216,7 +216,7 @@ static char *handle_cli_indication_show(struct ast_cli_entry *e, int cmd, struct
int i, j;
for (i = 2; i < a->argc; i++) {
if (strcasecmp(tz->country, a->argv[i]) == 0 && !tz->alias[0]) {
- struct ind_tone_zone_sound *ts;
+ struct tone_zone_sound *ts;
if (!found_country) {
found_country = 1;
ast_cli(a->fd, "Country Indication PlayList\n");
@@ -249,7 +249,7 @@ static char *handle_cli_indication_show(struct ast_cli_entry *e, int cmd, struct
*/
static int handle_playtones(struct ast_channel *chan, void *data)
{
- struct ind_tone_zone_sound *ts;
+ struct tone_zone_sound *ts;
int res;
if (!data || !((char*)data)[0]) {
@@ -284,7 +284,7 @@ static int ind_load_module(int reload)
struct ast_variable *v;
char *cxt;
char *c;
- struct ind_tone_zone *tones;
+ struct tone_zone *tones;
const char *country = NULL;
struct ast_flags config_flags = { reload ? CONFIG_FLAG_FILEUNCHANGED : 0 };
@@ -345,7 +345,7 @@ static int ind_load_module(int reload)
c = countries;
country = strsep(&c,",");
while (country) {
- struct ind_tone_zone* azone;
+ struct tone_zone* azone;
if (!(azone = ast_calloc(1, sizeof(*azone)))) {
ast_config_destroy(cfg);
ast_destroy_indication_zone(tones);
@@ -361,7 +361,7 @@ static int ind_load_module(int reload)
country = strsep(&c,",");
}
} else {
- struct ind_tone_zone_sound *ts;
+ struct tone_zone_sound *ts;
/* add tone to country */
AST_LIST_TRAVERSE(&tones->tones, ts, list) {
diff --git a/res/snmp/agent.c b/res/snmp/agent.c
index 6af14db93..6acf53680 100644
--- a/res/snmp/agent.c
+++ b/res/snmp/agent.c
@@ -644,7 +644,7 @@ static u_char *ast_var_indications(struct variable *vp, oid *name, size_t *lengt
int exact, size_t *var_len, WriteMethod **write_method)
{
static unsigned long long_ret;
- struct ind_tone_zone *tz = NULL;
+ struct tone_zone *tz = NULL;
if (header_generic(vp, name, length, exact, var_len, write_method))
return NULL;
@@ -674,7 +674,7 @@ static u_char *ast_var_indications_table(struct variable *vp, oid *name, size_t
int exact, size_t *var_len, WriteMethod **write_method)
{
static unsigned long long_ret;
- struct ind_tone_zone *tz = NULL;
+ struct tone_zone *tz = NULL;
int i;
if (header_simple_table(vp, name, length, exact, var_len, write_method, -1))