p_section
section_t *p_section = NULL;
p_section = p_config_file->section_head;
while (p_section != NULL) {
if ((p_section->section_id != NULL) &&
(strcmp(p_section->section_id, section_id) == 0))
return (p_section);
p_section = p_section->section_next;
section_t *p_section = NULL;
p_section = find_section(p_config_file, WIFI_PREFER);
if (p_section != NULL)
plist = p_section->list;
if ((p_section == NULL) || (plist == NULL))
section_t *p_section = NULL;
p_section = p_config_file->section_head;
while (p_section != NULL) {
if (p_section->section_id != NULL) {
if (strcmp(p_section->section_id, section_id) == 0) {
plist = p_section->list;
p_section->list = NULL;
free(p_section->section_id);
p_section->section_id = NULL;
p_section->section_next;
if (p_section->section_next == NULL)
p_section->section_next;
if (p_section->section_next == NULL)
free(p_section);
p_section = p_section->section_next;
section_t *p_section = NULL;
p_section = find_section(p_config_file, WIFI_PREFER);
if (p_section == NULL) {
plist = p_section->list;
section_t *p_section = NULL;
p_section = find_section(p_config_file, WIFI_HISTORY);
if (p_section == NULL) {
plist = p_section->list;
section_t *p_section = NULL;
p_section = find_section(gp_config_file, pbuf);
if (p_section == NULL) {
plist = p_section->list;
section_t *p_section = NULL;
p_section = find_section(gp_config_file, WIFI_PREFER);
if (p_section == NULL) {
plist = p_section->list;
section_t *p_section = NULL;
p_section = find_section(gp_config_file, pbuf);
if (p_section != NULL) {
plist = p_section->list;
section_t *p_section = NULL, *activep_section = NULL;
p_section = gp_config_file->section_head;
while (p_section != NULL) {
if (((plist = p_section->list) != NULL) &&
(strcmp(p_section->section_id, activeprofile) == 0)) {
return (p_section->section_id);
p_section = p_section->section_next;
section_t *p_section = NULL;
p_section = find_section(gp_config_file, WIFI_ACTIVEP);
if (p_section == NULL) {
plist = p_section->list;
section_t *p_section = NULL;
p_section = find_section(gp_config_file, pbuf);
if (p_section != NULL) {
plist = p_section->list;
section_t *p_section = NULL;
p_section = find_section(gp_config_file, pbuf);
if (p_section != NULL) {
plist = p_section->list;
section_t *p_section = NULL;
p_section = find_section(gp_wepkey_file, id);
if (p_section != NULL) {
plist = p_section->list;
section_t *p_section = NULL;
p_section = gp_config_file->section_head;
while (p_section != NULL) {
plist = p_section->list;
(void) printf("%s\n", p_section->section_id);
print_wepkey_info(p_section->section_id, NULL);
p_section = p_section->section_next;
p_section = find_section(gp_config_file, pbuf);
if (p_section != NULL) {
(void) printf("%s\n", p_section->section_id);
plist = p_section->list;
print_wepkey_info(p_section->section_id, NULL);
section_t *p_section = NULL, *p_sectionbak = NULL;
p_section = gp_config_file->section_head;
while ((p_section != NULL) &&
((plist = p_section->list) != NULL)) {
p_sectionbak = p_section->section_next;
section_id = safe_strdup(p_section->section_id);
p_section = p_sectionbak;
p_section = p_section->section_next;
section_t *p_section = NULL;
p_section = find_section(gp_config_file, WIFI_HISTORY);
if (p_section == NULL) {
plist = p_section->list;
section_t *p_section = NULL;
p_section = find_section(gp_config_file, WIFI_PREFER);
if (p_section != NULL) {
plist = p_section->list;
section_t *p_section = NULL;
p_section = find_section(gp_config_file, WIFI_PREFER);
if (p_section != NULL)
plist = p_section->list;
if ((p_section == NULL) || (plist == NULL))
section_t *p_section = NULL;
p_section = find_section(gp_wepkey_file, section_id);
if (p_section == NULL) {
plist = p_section->list;
section_t *p_section = NULL;
p_section = find_section(gp_config_file, pbuf);
if (p_section == NULL) {
plist = p_section->list;
print_wepkey_info(p_section->section_id, NULL);
print_wepkey_info(p_section->section_id,
section_t *p_section = NULL;
p_section = safe_calloc(sizeof (*p_section), 1);
p_section->list = p_list;
p_section->section_next = NULL;
p_section->section_id = safe_strdup(section_id);
p_config_file->section_head = p_section;
p_config_file->section_tail->section_next = p_section;
p_config_file->section_tail = p_section;
section_t *p_section = NULL;
p_section = p_config_file->section_head;
while (p_section != NULL) {
p_list = p_section->list;
if (p_section->section_id != NULL)
free(p_section->section_id);
p_section->section_id = NULL;
p_section = p_section->section_next;
p_config_file->section_head = p_section;
section_t *p_section = NULL;
p_section = p_config_file->section_head;
while (p_section != NULL) {
p_list = p_section->list;
p_section->section_id));
len = fprintf(file, "\n%s\n", p_section->section_id);
p_section = p_section->section_next;
const char *p_section __P((int section, int opcode));
p_section(section, opcode));
p_section(ns_s_qd, opcode), qdcount);
p_section(ns_s_an, opcode), ancount);
p_section(ns_s_ns, opcode), nscount);
p_section(ns_s_ar, opcode), arcount);
p_section(sect, ns_o_query), i));
p_section(sect, ns_o_query), i));
p_section(sect, ns_o_query), i));