Lines Matching refs:st
44 struct transfer_status *st = (struct transfer_status *)userp; in please_continue() local
49 if(st->halted) { in please_continue()
50 st->please++; in please_continue()
51 if(st->please == 2) { in please_continue()
53 curl_easy_pause(st->easy, CURLPAUSE_CONT); in please_continue()
56 fprintf(stderr, "xferinfo: paused %d\n", st->halted); in please_continue()
71 struct transfer_status *st = (struct transfer_status *)userp; in write_callback() local
73 st->counter++; in write_callback()
74 if(st->counter > 1) { in write_callback()
82 st->halted = 1; in write_callback()
90 struct transfer_status st; in test() local
94 memset(&st, 0, sizeof(st)); in test()
99 st.easy = curls; /* to allow callbacks access */ in test()
103 easy_setopt(curls, CURLOPT_WRITEDATA, &st); in test()
105 easy_setopt(curls, CURLOPT_HEADERDATA, &st); in test()
108 easy_setopt(curls, CURLOPT_XFERINFODATA, &st); in test()