Make libquote reentrant by passing struct quoting_slots to any functions
commit4c4c38dc4eb6f4c996b1f0bbd6e2c4c1030d3b22
authorSergey Sushilin <sergeysushilin@protonmail.com>
Sat, 6 Aug 2022 15:53:18 +0000 (6 18:53 +0300)
committerSergey Sushilin <sergeysushilin@protonmail.com>
Wed, 10 Aug 2022 18:04:36 +0000 (10 21:04 +0300)
tree3974f66a4e976deb45396041ff36f669030ce742
parent50f833e8d19d4043fac210173583bd0063a82335
Make libquote reentrant by passing struct quoting_slots to any functions
  that requires it. (struct quoting_slots defined in quoting-slots.h header
  that must not be used separately).

Make mandatary to pass non-NULL pointer to struct quoting_options to any
  functions that requires it.

More assert() added to simplify debugging.
Makefile
quote.h
quotearg.c
quotearg.h
quoting-slots.h [new file with mode: 0644]