[OpenSIPS-Devel] [OpenSIPS/opensips] a85dba: usrloc: Simplify the callback API

Liviu Chircu liviu at opensips.org
Thu Jan 11 09:54:46 EST 2018


  Branch: refs/heads/feature/usrloc-kv-contact-storage
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a85dbaf650875cf380bd245580bf3402964327b5
      https://github.com/OpenSIPS/opensips/commit/a85dbaf650875cf380bd245580bf3402964327b5
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-01-11 (Thu, 11 Jan 2018)

  Changed paths:
    M modules/mid_registrar/mid_registrar.c
    M modules/mid_registrar/mid_registrar.h
    M modules/mid_registrar/save.c
    M modules/mid_registrar/ulcb.c
    M modules/mid_registrar/ulcb.h
    M modules/pua_bla/pua_bla.c
    M modules/pua_bla/registrar_cb.c
    M modules/pua_bla/registrar_cb.h
    M modules/pua_usrloc/pua_usrloc.c
    M modules/pua_usrloc/pua_usrloc.h
    M modules/pua_usrloc/ul_publish.c
    M modules/snmpstats/interprocess_buffer.c
    M modules/snmpstats/interprocess_buffer.h
    M modules/snmpstats/openserSIPRegUserTable.c
    M modules/usrloc/ucontact.c
    M modules/usrloc/ucontact.h
    M modules/usrloc/ul_callback.c
    M modules/usrloc/ul_callback.h
    M modules/usrloc/urecord.c
    M modules/usrloc/urecord.h

  Log Message:
  -----------
  usrloc: Simplify the callback API

The opaque buffer extension for the API (commit b0241c1318) is no longer
needed, as the K/V usrloc extension completely replaces it.

This commit also refactors the usrloc callback types as "ul_cb_type",
thus making them easier to pick up / work with.




More information about the Devel mailing list