Module: kamailio
Branch: master
Commit: 7e7ffea767db9b2afd9dec6eea20389e21da1b50
URL:
https://github.com/kamailio/kamailio/commit/7e7ffea767db9b2afd9dec6eea20389…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-08-24T22:31:35+02:00
Merge pull request #299 from mslehto/warn-p_usrloc
modules/p_usrloc: fixes get_all_ucontacts() function signature
---
Modified: modules/p_usrloc/dlist.c
Modified: modules/p_usrloc/dlist.h
---
Diff:
https://github.com/kamailio/kamailio/commit/7e7ffea767db9b2afd9dec6eea20389…
Patch:
https://github.com/kamailio/kamailio/commit/7e7ffea767db9b2afd9dec6eea20389…
---
diff --git a/modules/p_usrloc/dlist.c b/modules/p_usrloc/dlist.c
index 9a6f806..5c16508 100644
--- a/modules/p_usrloc/dlist.c
+++ b/modules/p_usrloc/dlist.c
@@ -153,7 +153,7 @@ unsigned long get_number_of_users(void)
int get_all_ucontacts(void *buf, int len, unsigned int flags,
- unsigned int part_idx, unsigned int part_max)
+ unsigned int part_idx, unsigned int part_max, int options)
{
LM_INFO("not available with partitioned interface");
return -1;
diff --git a/modules/p_usrloc/dlist.h b/modules/p_usrloc/dlist.h
index 2114ac6..76c263e 100644
--- a/modules/p_usrloc/dlist.h
+++ b/modules/p_usrloc/dlist.h
@@ -107,7 +107,7 @@ int register_udomain(const char* _n, udomain_t** _d);
* \return 0 on success, positive if buffer size was not sufficient, negative on failure
*/
int get_all_ucontacts(void *, int, unsigned int,
- unsigned int part_idx, unsigned int part_max);
+ unsigned int part_idx, unsigned int part_max, int options);
/*!
* \brief Find a particular domain, small wrapper around find_dlist