MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / parseToParams

Function parseToParams

SIP/SIPParse.cpp:400–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

398}
399
400void parseToParams(string stuff, SipParamList &params)
401{
402 SipParseLine parser(stuff.c_str());
403 try {
404 do {
405 SipParam param;
406 if (! parser.scanGenericParam(param)) break;
407 params.push_back(param);
408 } while (parser.scanChar(','));
409 } catch(SipParseError) {
410 // error was already logged.
411 LOG(DEBUG) << "Caught SIP Parse error";
412 return;
413 }
414}
415
416// This is only for www-authenticate, not for Authentication-Info
417void parseAuthenticate(string stuff, SipParamList &params)

Callers 1

sendAuthOKMessageMethod · 0.85

Calls 3

scanGenericParamMethod · 0.80
push_backMethod · 0.80
scanCharMethod · 0.80

Tested by

no test coverage detected