Lines Matching refs:st
41 struct transfer_status *st = (struct transfer_status *)userp; in header_callback() local
47 ++st->hd_line; in header_callback()
52 result = curl_easy_getinfo(st->easy, CURLINFO_RESPONSE_CODE, &httpcode); in header_callback()
60 st->http_status = (int)httpcode; in header_callback()
61 if(st->http_status >= 200 && st->http_status < 300) { in header_callback()
62 result = curl_easy_getinfo(st->easy, CURLINFO_CONTENT_LENGTH_DOWNLOAD_T, in header_callback()
67 st->result = result; in header_callback()
82 struct transfer_status *st = (struct transfer_status *)userp; in write_callback() local
85 st->out_len += (curl_off_t)len; in write_callback()
93 struct transfer_status st; in test() local
97 memset(&st, 0, sizeof(st)); in test()
102 st.easy = curls; /* to allow callbacks access */ in test()
106 easy_setopt(curls, CURLOPT_WRITEDATA, &st); in test()
108 easy_setopt(curls, CURLOPT_HEADERDATA, &st); in test()