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

Method get_buf

lib_acl_cpp/src/session/session.cpp:188–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188const session_string* session::get_buf(const char* name)
189{
190 attrs_clear(attrs_);
191
192 if (!get_attrs(attrs_)) {
193 return NULL;
194 }
195
196 std::map<string, session_string>::const_iterator cit = attrs_.find(name);
197 if (cit == attrs_.end()) {
198 return NULL;
199 }
200 return &cit->second;
201}
202
203bool session::get_attrs(const std::vector<string>& names,
204 std::vector<session_string>& values)

Callers 12

mime_test1Function · 0.45
getAttributeMethod · 0.45
get_errorMethod · 0.45
get_statusMethod · 0.45
get_integerMethod · 0.45
get_stringMethod · 0.45
get_arrayMethod · 0.45
get_errorMethod · 0.45
get_statusMethod · 0.45
get_integerMethod · 0.45
get_stringMethod · 0.45
get_arrayMethod · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected