[sr-dev] git:master:37eb8b00: htable: new functions sht_has_name(...) and sht_has_str_value(...)

Daniel-Constantin Mierla miconda at gmail.com
Tue Sep 4 11:20:07 CEST 2018


Module: kamailio
Branch: master
Commit: 37eb8b00c22da64df3d9f38645354af19c407bf5
URL: https://github.com/kamailio/kamailio/commit/37eb8b00c22da64df3d9f38645354af19c407bf5

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-09-04T11:04:59+02:00

htable: new functions sht_has_name(...) and sht_has_str_value(...)

- sht_has_name(htable, op, mval) - return >0 if there is an item
matching its name with mval based on operator op
- sht_has_str_valye(htable, op, mval) - return >0 if there is an item
matching its string value with mval based on operator op

---

Modified: src/modules/htable/ht_api.c
Modified: src/modules/htable/ht_api.h
Modified: src/modules/htable/htable.c

---

Diff:  https://github.com/kamailio/kamailio/commit/37eb8b00c22da64df3d9f38645354af19c407bf5.diff
Patch: https://github.com/kamailio/kamailio/commit/37eb8b00c22da64df3d9f38645354af19c407bf5.patch




More information about the sr-dev mailing list