Hi,
The tm module in git master does not compile at the moment.
The output I get is:
CC (gcc) [M tm.so] dlg.o
CC (gcc) [M tm.so] select.o
CC (gcc) [M tm.so] t_reply.o
CC (gcc) [M tm.so] config.o
CC (gcc) [M tm.so] t_msgbuilder.o
CC (gcc) [M tm.so] tm.o
tm.c:310:5: error: conflicting types for 'contacts_avp'
In file included from t_lookup.h:46:0,
from tm_load.h:46,
from tm.c:171:
t_funcs.h:83:16: note: previous declaration of 'contacts_avp' was here
tm.c: In function 'mod_init':
tm.c:848:2: error: too few arguments to function 'init_avp_params'
In file included from t_lookup.h:46:0,
from tm_load.h:46,
from tm.c:171:
t_funcs.h:156:5: note: declared here
make[1]: *** [tm.o] Error 1
make: *** [modules] Error 1
Regards,
Peter
--
Peter Dunkley
Technical Director
Crocodile RCS Ltd
many xavp api functions take name (str) as argument and calculate hash
based on it. when name of xavp is constant (not a pv value) hash
could pre-calculated and passed as integer argument to xavp api
functions.
to me calculating hash each time when api function is called looks like
waste of cpu resources. any comments on this?
-- juha