MCPcopy Create free account
hub / github.com/SIPp/sipp / xp_get_var

Method xp_get_var

src/scenario.cpp:456–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454}
455
456int scenario::xp_get_var(const char *name, const char *what)
457{
458 const char *ptr;
459
460 if (!(ptr = xp_get_value(name))) {
461 ERROR("%s is missing the required '%s' variable parameter.", what, name);
462 }
463
464 return get_var(ptr, what);
465}
466
467static int xp_get_optional(const char *name, const char *what)
468{

Callers

nothing calls this directly

Calls 2

xp_get_valueFunction · 0.85
ERRORFunction · 0.85

Tested by

no test coverage detected