extra_attrs.h 681 B

1234567891011121314151617181920212223
  1. #ifndef __EXTRA_ATTRS_H
  2. #define __EXTRA_ATTRS_H
  3. #include "../../parser/msg_parser.h"
  4. #include "../../lib/srdb2/db.h"
  5. #include "../../sr_module.h"
  6. int declare_attr_group(modparam_t type, char* param);
  7. int init_extra_avp_queries(db_ctx_t *ctx);
  8. int init_extra_avp_locks();
  9. int load_extra_attrs(struct sip_msg* msg, char *_table, char* _id);
  10. int save_extra_attrs(struct sip_msg* msg, char* _table, char *_id);
  11. int remove_extra_attrs(struct sip_msg* msg, char *_table, char* _id);
  12. int extra_attrs_fixup(void** param, int param_no);
  13. int lock_extra_attrs(struct sip_msg* msg, char *_table, char* _id);
  14. int unlock_extra_attrs(struct sip_msg* msg, char *_table, char* _id);
  15. #endif