| 106 | } |
| 107 | |
| 108 | int release_dynamic_lock(struct sip_msg *msg, str *string) |
| 109 | { |
| 110 | int hash; |
| 111 | |
| 112 | hash = (int)core_hash(string, NULL, lock_pool_size); |
| 113 | |
| 114 | lock_set_release(dynamic_locks, hash); |
| 115 | LM_DBG("Released dynamic lock----- %d\n", hash); |
| 116 | |
| 117 | return 1; |
| 118 | } |
| 119 | |
| 120 | int strings_share_lock(struct sip_msg *msg, str *s1, str *s2) |
| 121 | { |
nothing calls this directly
no test coverage detected