[OpenSIPS-Devel] [OpenSIPS/opensips] 197fb8: Extent get_flag_id_by_name() to get len's name also

Bogdan Andrei IANCU noreply at github.com
Tue May 12 21:21:33 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 197fb811b6406cc01a5ba3a96a4cf551f8051525
      https://github.com/OpenSIPS/opensips/commit/197fb811b6406cc01a5ba3a96a4cf551f8051525
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-05-13 (Wed, 13 May 2020)

  Changed paths:
    M cfg.y
    M flags.c
    M flags.h
    M lib/reg/common.c
    M modules/auth_aaa/authaaa_mod.c
    M modules/call_control/call_control.c
    M modules/nathelper/nathelper.c
    M modules/pua_dialoginfo/pua_dialoginfo.c
    M modules/qos/qos.c
    M modules/sst/sst.c
    M modules/tm/tm.c
    M modules/usrloc/ul_mod.c

  Log Message:
  -----------
  Extent get_flag_id_by_name() to get len's name also

The function may optionally receive the len of the name (if <=0, the len is ignored and strlen() over name is done).
This will help using the function with char* and str* inputs


  Commit: 4f44f5a346bd60d8d7c5016effac8189df76ca5f
      https://github.com/OpenSIPS/opensips/commit/4f44f5a346bd60d8d7c5016effac8189df76ca5f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-05-13 (Wed, 13 May 2020)

  Changed paths:
    M pvar.c
    M pvar.h

  Log Message:
  -----------
  Added $msg.flag(name) and $branch.flag(name)[] variables

These are read/write variables to give you per-flag access.
The great addition of these value is the posibility to print the status of a single flag.


Compare: https://github.com/OpenSIPS/opensips/compare/6d19da093f70...4f44f5a346bd



More information about the Devel mailing list