MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / rlsubs_table_update

Function rlsubs_table_update

modules/rls/rls.c:583–598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

581}
582
583void rlsubs_table_update(unsigned int ticks,void *param)
584{
585 int no_lock= 0;
586
587 if(ticks== 0 && param == NULL)
588 no_lock= 1;
589
590 if(rls_dbf.use_table(rls_db, &rlsubs_table)< 0)
591 {
592 LM_ERR("sql use table failed\n");
593 return;
594 }
595 pres_update_db_subs(rls_db, &rls_dbf, rls_table, hash_size,
596 no_lock, handle_expired_record);
597
598}
599
600int rls_restore_db_subs(void)
601{

Callers 1

destroyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected