minor, make pmml_socket() 1-adic, lose the vararg functionality

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, gcc, gcc cannot cope with pointers to unions of flexible arrays, so use the array of size 0 trick

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'code/hygiene' into next

* code/hygiene:
  fix, gcc, gcc cannot cope with pointers to unions of flexible arrays, so use the array of size 0 trick
  minor, make pmml_socket() 1-adic, lose the vararg functionality
doc, cosmetics, use ``` blocks for syntax highlighted markdown

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
doc, provide FAQ explaining the difference to 0mq

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
doc, chore, add build status to README.md

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'doc/general' into next

* doc/general:
  doc, chore, add build status to README.md
  doc, provide FAQ explaining the difference to 0mq
  doc, cosmetics, use ``` blocks for syntax highlighted markdown
doc, mention API stability

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, change output signature of pmml_chck(), return the number of bytes consumed

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
doc, code, explain that pmml_chck() and pmml_pack() will work regardless of subscriptions

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, iterate over all messages in pmml_wait() if less bytes than read are consumed

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'code/hygiene' into next

* code/hygiene:
  minor, iterate over all messages in pmml_wait() if less bytes than read are consumed
  doc, code, explain that pmml_chck() and pmml_pack() will work regardless of subscriptions
  minor, change output signature of pmml_chck(), return the number of bytes consumed
  doc, mention API stability
minor, rename sock specifiers PMML_FL_* -> PMML_*

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, lift PMML_CHNMSG_HAS_IDN (struct pmml_chnmsg_s flag) to pimmel.h

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, guard find_sockasso() against deref'ing NULL ptr

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'feat/libpimmel' into next

* feat/libpimmel:
  minor, guard find_sockasso() against deref'ing NULL ptr
  minor, lift PMML_CHNMSG_HAS_IDN (struct pmml_chnmsg_s flag) to pimmel.h
  minor, rename sock specifiers PMML_FL_* -> PMML_*
chore, check for netdb.h header so we can use getaddrinfo()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide pimmel-router program to capture all messages and route them to a specified remote address

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, support -d|--daemonise for pimmel-router

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
cosmetics, follow if/else-if-chains coding style

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>