MCPcopy Create free account
hub / github.com/acl-dev/acl / get_node

Method get_node

lib_acl_cpp/src/http/http_mime.cpp:201–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201const http_mime_node* http_mime::get_node(const char* name) const {
202 (void) get_nodes();
203
204 for (std::list<http_mime_node*>::const_iterator cit = mime_nodes_.begin();
205 cit != mime_nodes_.end(); ++cit) {
206 const char *ptr = (*cit)->get_name();
207 if (ptr && strcmp(ptr, name) == 0) {
208 return *cit;
209 }
210 }
211
212 return NULL;
213}
214
215////////////////////////////////////////////////////////////////////////////////
216

Callers 6

test_parseFunction · 0.45
doUploadMethod · 0.45
doUploadMethod · 0.45
getParameterMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45

Calls 3

beginMethod · 0.80
endMethod · 0.45
get_nameMethod · 0.45

Tested by 1

test_parseFunction · 0.36