00001 00008 #include "EventFilter/StorageManager/interface/SMCurlInterface.h" 00009 00010 namespace stor 00011 { 00012 size_t func(void* buf,size_t size, size_t nmemb, void* userp) 00013 { 00014 ReadData* rdata = (ReadData*)userp; 00015 size_t sz = size * nmemb; 00016 char* cbuf = (char*)buf; 00017 rdata->d_.insert(rdata->d_.end(),cbuf,cbuf+sz); 00018 return sz; 00019 } 00020 }