Module: kamailio
Branch: master
Commit: 3bf550468d3a84cac3886ca872377ce1d1a8978f
URL: 
https://github.com/kamailio/kamailio/commit/3bf550468d3a84cac3886ca872377ce1d1a8978f

Author: Federico Cabiddu <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2025-12-09T12:10:25+01:00

lib/srdb1: take db url instead of connection in raw_query_async

---

Modified: src/lib/srdb1/db.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/3bf550468d3a84cac3886ca872377ce1d1a8978f.diff
Patch: 
https://github.com/kamailio/kamailio/commit/3bf550468d3a84cac3886ca872377ce1d1a8978f.patch

---

diff --git a/src/lib/srdb1/db.h b/src/lib/srdb1/db.h
index e114ec5fe97..b2c3d8f338e 100644
--- a/src/lib/srdb1/db.h
+++ b/src/lib/srdb1/db.h
@@ -207,11 +207,11 @@ typedef int (*db_raw_query_f)(
  * escape_common and unescape_common functions in the core for this task.
  * \see escape_common
  * \see unescape_common
- * \param _h structure representing database connection
+ * \param _u the database URL
  * \param _s the SQL query
  * \return returns 0 if everything is OK, otherwise returns value < 0
  */
-typedef int (*db_raw_query_async_f)(const db1_con_t *_h, const str *_s);
+typedef int (*db_raw_query_async_f)(const str *_u, const str *_s);
 
 
 /**

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to