static int child_init(int rank) { if (rank == PROC_INIT) { if (init_sl_stats_child() < 0) { ERR("init_sl_stats_child failed\n"); return -1; } } return 0; }
static int child_init(int rank) { if (rank == PROC_INIT) { if (init_sl_stats_child() < 0) { ERR("init_sl_stats_child failed\n"); return -1; } if(sl_bind_tm!=0 && tmb.register_tmcb==0) { if(load_tm_api(&tmb)==-1) { LM_INFO("could not bind tm module - only stateless mode" " available during runtime\n"); sl_bind_tm=0; } } } return 0; }