Lines Matching refs:StopNow
67 static volatile int StopNow; // 0 means running, 1 means stop because we got an answer, 2 means sto… variable
116 StopNow = 1; in NameCallback()
160 if (/*NumHINFO && */ (NumAddr || NumAAAA)) StopNow = 1; in InfoCallback()
183 StopNow = 0; in WaitForAnswer()
185 while (!StopNow) in WaitForAnswer()
205 else if (errno != EINTR) StopNow = 2; in WaitForAnswer()
241 StopNow = 2; in DoOneQuery()
252 if (StopNow == 0 && NumAnswers == 0 && target && target->type) in DoQuery()
257 if (StopNow == 0 && NumAnswers == 0) in DoQuery()
259 return(StopNow); in DoQuery()
267 StopNow = 2; in HandleSIG()
316 if (StopNow == 2) break; in main()
335 if (StopNow == 2) break; in main()
348 if (StopNow == 2) break; in main()
368 if (StopNow == 2) break; in main()