[OpenSIPS-Devel] [OpenSIPS/opensips] 8177e2: lib/csv.h: Add an RFC 4180 CSV parser

Liviu Chircu noreply at github.com
Fri Jul 5 04:15:35 EDT 2019


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8177e21d0b86673980822ceefb84ae498708da71
      https://github.com/OpenSIPS/opensips/commit/8177e21d0b86673980822ceefb84ae498708da71
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-05 (Fri, 05 Jul 2019)

  Changed paths:
    M lib/csv.c
    M lib/csv.h
    M lib/url.c
    M modules/freeswitch_scripting/fss_db.c
    M modules/mmgeoip/geoip2.c
    M modules/nathelper/nathelper.c
    M modules/presence/clustering.c
    M str.h
    M test/unit_tests.c

  Log Message:
  -----------
  lib/csv.h: Add an RFC 4180 CSV parser

    * also invert the CSV_SIMPLE flag into CSV_RFC_4180
    * adjust all calling code to use the new set of parsing flags

(cherry picked from commit 477d0f67861a6f494902846a574507d9087e87b4)


  Commit: b31872339fe6a9dda4e6e16ed3f94b300fe4e7d7
      https://github.com/OpenSIPS/opensips/commit/b31872339fe6a9dda4e6e16ed3f94b300fe4e7d7
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-05 (Fri, 05 Jul 2019)

  Changed paths:
    M Makefile.test
    A lib/test/test_csv.c
    A lib/test/test_csv.h

  Log Message:
  -----------
  lib/csv.h: Full unit test coverage

(cherry picked from commit 769ddedf3990028f8650d436798f9a52e1d8883b)


  Commit: 600df4c92b96df6e46458acbaf51530cc057cacd
      https://github.com/OpenSIPS/opensips/commit/600df4c92b96df6e46458acbaf51530cc057cacd
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-05 (Fri, 05 Jul 2019)

  Changed paths:
    M transformations.c

  Log Message:
  -----------
  {csv.} transformation: Use the lib/csv.h parser

Fixes #1220
Closes #1416

(cherry picked from commit 394f57a8da54de0161eafee643e7def4db2d74ed)


Compare: https://github.com/OpenSIPS/opensips/compare/190e1d3ff3ae...600df4c92b96



More information about the Devel mailing list