• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/minidlna-1.1.5/

Lines Matching refs:runtime_vars

539 	runtime_vars.port = 8200;
540 runtime_vars.notify_interval = 895; /* seconds between SSDP announces */
541 runtime_vars.max_connections = 50;
542 runtime_vars.root_container = NULL;
543 runtime_vars.ifaces[0] = NULL;
567 runtime_vars.ifaces[ifaces++] = word;
571 runtime_vars.port = atoi(ary_options[i].value);
577 runtime_vars.notify_interval = atoi(ary_options[i].value);
695 runtime_vars.root_container = NULL;
699 runtime_vars.root_container = BROWSEDIR_ID;
703 runtime_vars.root_container = MUSIC_ID;
707 runtime_vars.root_container = VIDEO_ID;
711 runtime_vars.root_container = IMAGE_ID;
714 runtime_vars.root_container = ary_options[i].value;
742 runtime_vars.max_connections = atoi(ary_options[i].value);
772 runtime_vars.port = -1;
779 runtime_vars.notify_interval = atoi(argv[++i]);
797 runtime_vars.port = atoi(argv[++i]);
836 runtime_vars.ifaces[ifaces++] = argv[i];
845 runtime_vars.port = -1; // triggers help display
881 runtime_vars.port = -1; // triggers help display
885 if (runtime_vars.port <= 0)
1001 children = calloc(runtime_vars.max_connections, sizeof(struct child));
1079 if (SubmitServicesToMiniSSDPD(lan_addr[0].str, runtime_vars.port) < 0)
1083 shttpl = OpenAndConfHTTPSocket(runtime_vars.port);
1086 DPRINTF(E_WARN, L_GENERAL, "HTTP listening on port %d\n", runtime_vars.port);
1108 lastnotifytime.tv_sec = time(NULL) + runtime_vars.notify_interval;
1118 timeout.tv_sec = runtime_vars.notify_interval;
1124 if (timeofday.tv_sec >= (lastnotifytime.tv_sec + runtime_vars.notify_interval))
1130 runtime_vars.port, runtime_vars.notify_interval);
1133 timeout.tv_sec = runtime_vars.notify_interval;
1138 timeout.tv_sec = lastnotifytime.tv_sec + runtime_vars.notify_interval
1234 ProcessSSDPRequest(sssdp, (unsigned short)runtime_vars.port);