Hi list,

While going through mod_init's and finding things like
rtpp_table_name.len = strlen(rtpp_table_name.s);

I became curious if using of deprecated STR_PARAM in new modules is done on
purpose. Why not using PARAM_STR for string module parameters?

Quote from sr_module.h:
#define PARAM_STRING     (1U<<0)  /**< String (char *) parameter type */
#define PARAM_STR        (1U<<2)  /**< struct str parameter type */
#define STR_PARAM PARAM_STRING

P.S.: That's not only about curiosity but to avoid any bugs in my kamailio
extensions.
-- 
Best regards,
Alekzander Spiridonov
_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to