Home
last modified time | relevance | path

Searched refs:pushindex (Results 1 - 1 of 1) sorted by relevance

/third_party/curl/docs/examples/
H A Dhttp2-pushinmemory.c66 static int pushindex = 1; variable
107 if(pushindex == MAX_FILES) in server_push_callback()
112 init_memory(&files[pushindex]); in server_push_callback()
113 curl_easy_setopt(easy, CURLOPT_WRITEDATA, &files[pushindex]); in server_push_callback()
114 pushindex++; in server_push_callback()
183 /* 'pushindex' is now the number of received transfers */ in main()
184 for(i = 0; i < pushindex; i++) { in main()

Completed in 1 milliseconds