[OpenSIPS-Devel] [OpenSIPS/opensips] d68757: Split out globals from main into a separate file. ...

Maksym Sobolyev noreply at github.com
Wed Dec 16 04:36:20 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d68757ed557b91cdf61de389a4329273c5a176ad
      https://github.com/OpenSIPS/opensips/commit/d68757ed557b91cdf61de389a4329273c5a176ad
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2020-11-05 (Thu, 05 Nov 2020)

  Changed paths:
    A globals.c
    M main.c

  Log Message:
  -----------
  Split out globals from main into a separate file. No functional
changes at this point.


  Commit: fac187f7293b9a597391d052441db13e0e382d04
      https://github.com/OpenSIPS/opensips/commit/fac187f7293b9a597391d052441db13e0e382d04
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2020-11-05 (Thu, 05 Nov 2020)

  Changed paths:
    M cfg.y
    M globals.c
    M globals.h
    M modules/dialog/dlg_hash.c
    M modules/nathelper/sip_pinger.h
    M modules/tm/t_msgbuilder.c
    M msg_translator.c
    M msg_translator.h
    M receive.c
    M socket_info.c
    M test/unit_tests.c

  Log Message:
  -----------
  Convert global str parameters into str * const. This allows
globals.h to be used without str.h.


  Commit: ad9db90677b37a10e1ada7f5718142d228e44411
      https://github.com/OpenSIPS/opensips/commit/ad9db90677b37a10e1ada7f5718142d228e44411
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2020-11-05 (Thu, 05 Nov 2020)

  Changed paths:
    M globals.h
    M main.c
    M pt.h
    A shutdown.c
    A shutdown.h
    A signals.c
    A signals.h

  Log Message:
  -----------
  Split out signal handling routines and shutdown-related routines
out of giantic main.c TU to make it more manageable.


  Commit: 6f62e23facec2cc50d6dcb529cf0c2addf285aa9
      https://github.com/OpenSIPS/opensips/commit/6f62e23facec2cc50d6dcb529cf0c2addf285aa9
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M cfg.y
    A globals.c
    M globals.h
    M main.c
    M modules/dialog/dlg_hash.c
    M modules/nathelper/sip_pinger.h
    M modules/tm/t_msgbuilder.c
    M msg_translator.c
    M msg_translator.h
    M pt.h
    M receive.c
    A shutdown.c
    A shutdown.h
    A signals.c
    A signals.h
    M socket_info.c
    M test/unit_tests.c

  Log Message:
  -----------
  Merge pull request #2300 from sippy/pr_split_main

Split out gigantic main.c into 3 more TUs: globals.c, shutdown.c and signals.c. This is to allow unit tests to be build and executed outside of the main OpenSIPS executable.


Compare: https://github.com/OpenSIPS/opensips/compare/600cd1c3d881...6f62e23facec



More information about the Devel mailing list