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

Liviu Chircu noreply at github.com
Fri Jul 5 04:13:42 EDT 2019


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: cae8264a79db7ce35788448d84b47abf9a567a7b
      https://github.com/OpenSIPS/opensips/commit/cae8264a79db7ce35788448d84b47abf9a567a7b
  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 modules/rabbitmq_consumer/rmq_connection.c
    M modules/tls_mgm/tls_domain.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: 674b6767c2166d11ac4539d4f73b85bb3655fdab
      https://github.com/OpenSIPS/opensips/commit/674b6767c2166d11ac4539d4f73b85bb3655fdab
  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: a9249c4896ca0a746bab10c2df72b1f0b0c1bc5a
      https://github.com/OpenSIPS/opensips/commit/a9249c4896ca0a746bab10c2df72b1f0b0c1bc5a
  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/2e3db36efb00...a9249c4896ca



More information about the Devel mailing list