MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / w_async_sql_query

Function w_async_sql_query

modules/sqlops/sqlops.c:811–823  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

809
810
811static int w_async_sql_query(struct sip_msg* msg, async_ctx *ctx,
812 str* query, void* dest, void* url)
813{
814 struct db_url *parsed_url;
815
816 if (url)
817 parsed_url = ((struct db_url_container *)url)->u.url;
818 else
819 parsed_url = default_db_url;
820
821 return ops_async_sql_query(msg, ctx, query, parsed_url,
822 (pvname_list_t *)dest, 0);
823}
824
825static int w_async_sql_query_one(struct sip_msg* msg, async_ctx *ctx,
826 str* query, void* dest, void* url)

Callers

nothing calls this directly

Calls 1

ops_async_sql_queryFunction · 0.85

Tested by

no test coverage detected