[sr-dev] git:master:b84e680f: topos_redis: update the signature for branch record loading function
Daniel-Constantin Mierla
miconda at gmail.com
Tue Aug 8 14:22:42 CEST 2017
Module: kamailio
Branch: master
Commit: b84e680f9ccb7b6f1e2fa917ced3d5d82147d9ea
URL: https://github.com/kamailio/kamailio/commit/b84e680f9ccb7b6f1e2fa917ced3d5d82147d9ea
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-08-08T14:21:55+02:00
topos_redis: update the signature for branch record loading function
---
Modified: src/modules/topos_redis/topos_redis_storage.c
Modified: src/modules/topos_redis/topos_redis_storage.h
---
Diff: https://github.com/kamailio/kamailio/commit/b84e680f9ccb7b6f1e2fa917ced3d5d82147d9ea.diff
Patch: https://github.com/kamailio/kamailio/commit/b84e680f9ccb7b6f1e2fa917ced3d5d82147d9ea.patch
---
diff --git a/src/modules/topos_redis/topos_redis_storage.c b/src/modules/topos_redis/topos_redis_storage.c
index e32fd445b1..7753cd89c8 100644
--- a/src/modules/topos_redis/topos_redis_storage.c
+++ b/src/modules/topos_redis/topos_redis_storage.c
@@ -440,7 +440,8 @@ int tps_redis_clean_branches(void)
/**
*
*/
-int tps_redis_load_branch(sip_msg_t *msg, tps_data_t *md, tps_data_t *sd)
+int tps_redis_load_branch(sip_msg_t *msg, tps_data_t *md, tps_data_t *sd,
+ uint32_t mode)
{
char* argv[TPS_REDIS_NR_KEYS];
size_t argvlen[TPS_REDIS_NR_KEYS];
diff --git a/src/modules/topos_redis/topos_redis_storage.h b/src/modules/topos_redis/topos_redis_storage.h
index 674b50d39a..aa4631bddb 100644
--- a/src/modules/topos_redis/topos_redis_storage.h
+++ b/src/modules/topos_redis/topos_redis_storage.h
@@ -36,7 +36,8 @@ int tps_redis_insert_dialog(tps_data_t *td);
int tps_redis_clean_dialogs(void);
int tps_redis_insert_branch(tps_data_t *td);
int tps_redis_clean_branches(void);
-int tps_redis_load_branch(sip_msg_t *msg, tps_data_t *md, tps_data_t *sd);
+int tps_redis_load_branch(sip_msg_t *msg, tps_data_t *md, tps_data_t *sd,
+ uint32_t mode);
int tps_redis_load_dialog(sip_msg_t *msg, tps_data_t *md, tps_data_t *sd);
int tps_redis_update_branch(sip_msg_t *msg, tps_data_t *md, tps_data_t *sd,
uint32_t mode);
More information about the sr-dev
mailing list