Lines Matching defs:pooh
37 struct WriteThis *pooh = (struct WriteThis *)userp;
44 if(tocopy < 1 || !pooh->sizeleft)
47 if(pooh->sizeleft < tocopy)
48 tocopy = pooh->sizeleft;
50 memcpy(ptr, pooh->readptr, tocopy);/* copy requested data */
51 pooh->readptr += tocopy; /* advance pointer */
52 pooh->sizeleft -= tocopy; /* less data left */
61 struct WriteThis pooh;
73 pooh.readptr = data;
74 pooh.sizeleft = strlen(data);
95 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)pooh.sizeleft);
101 test_setopt(curl, CURLOPT_READDATA, &pooh);