165 |
&ConfigChannel.invite_client_count, |
&ConfigChannel.invite_client_count, |
166 |
"How many INVITE attempts are permitted in invite_client_time" |
"How many INVITE attempts are permitted in invite_client_time" |
167 |
}, |
}, |
|
|
|
168 |
{ |
{ |
169 |
"invite_client_time", |
"invite_client_time", |
170 |
OUTPUT_DECIMAL, |
OUTPUT_DECIMAL, |
604 |
/* Output info_table[i].option as a decimal value. */ |
/* Output info_table[i].option as a decimal value. */ |
605 |
case OUTPUT_DECIMAL: |
case OUTPUT_DECIMAL: |
606 |
{ |
{ |
607 |
const int option = *((const int *const)iptr->option); |
const unsigned int option = *((const unsigned int *const)iptr->option); |
608 |
|
|
609 |
sendto_one_numeric(source_p, &me, RPL_INFO | SND_EXPLICIT, |
sendto_one_numeric(source_p, &me, RPL_INFO | SND_EXPLICIT, |
610 |
":%-30s %-5d [%s]", |
":%-30s %-5u [%s]", |
611 |
iptr->name, option, iptr->desc ? iptr->desc : "<none>"); |
iptr->name, option, iptr->desc ? iptr->desc : "<none>"); |
612 |
break; |
break; |
613 |
} |
} |
615 |
/* Output info_table[i].option as "ON" or "OFF" */ |
/* Output info_table[i].option as "ON" or "OFF" */ |
616 |
case OUTPUT_BOOLEAN: |
case OUTPUT_BOOLEAN: |
617 |
{ |
{ |
618 |
const int option = *((const int *const)iptr->option); |
const unsigned int option = *((const unsigned int *const)iptr->option); |
619 |
|
|
620 |
sendto_one_numeric(source_p, &me, RPL_INFO | SND_EXPLICIT, |
sendto_one_numeric(source_p, &me, RPL_INFO | SND_EXPLICIT, |
621 |
":%-30s %-5s [%s]", |
":%-30s %-5s [%s]", |
628 |
/* Output info_table[i].option as "YES" or "NO" */ |
/* Output info_table[i].option as "YES" or "NO" */ |
629 |
case OUTPUT_BOOLEAN_YN: |
case OUTPUT_BOOLEAN_YN: |
630 |
{ |
{ |
631 |
const int option = *((const int *const)iptr->option); |
const unsigned int option = *((const unsigned int *const)iptr->option); |
632 |
|
|
633 |
sendto_one_numeric(source_p, &me, RPL_INFO | SND_EXPLICIT, |
sendto_one_numeric(source_p, &me, RPL_INFO | SND_EXPLICIT, |
634 |
":%-30s %-5s [%s]", |
":%-30s %-5s [%s]", |
639 |
|
|
640 |
case OUTPUT_BOOLEAN2: |
case OUTPUT_BOOLEAN2: |
641 |
{ |
{ |
642 |
const int option = *((const int *const)iptr->option); |
const unsigned int option = *((const unsigned int *const)iptr->option); |
643 |
|
|
644 |
sendto_one_numeric(source_p, &me, RPL_INFO | SND_EXPLICIT, |
sendto_one_numeric(source_p, &me, RPL_INFO | SND_EXPLICIT, |
645 |
":%-30s %-5s [%s]", |
":%-30s %-5s [%s]", |