| 93 | } |
| 94 | |
| 95 | int get_dynamic_lock(struct sip_msg *msg, str *string) |
| 96 | { |
| 97 | int hash; |
| 98 | |
| 99 | hash = (int)core_hash(string, NULL, lock_pool_size); |
| 100 | |
| 101 | LM_DBG("Getting dynamic lock----- %d\n", hash); |
| 102 | lock_set_get(dynamic_locks, hash); |
| 103 | LM_DBG("Got dynamic lock----- %d\n", hash); |
| 104 | |
| 105 | return 1; |
| 106 | } |
| 107 | |
| 108 | int release_dynamic_lock(struct sip_msg *msg, str *string) |
| 109 | { |
nothing calls this directly
no test coverage detected