chore, refactor bragging about instruments into separate\ function brag()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, import ud-sock.h from unserding project for use in quo-tws et al

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, start dccp and tcp listener in quo-tws, with acceptor but no response functionality

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, actually return a FIXML document for /secdef? queries

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

* feat/fixml-brag:
  minor, actually return a FIXML document for /secdef? queries
  minor, start dccp and tcp listener in quo-tws, with acceptor but no response functionality
  minor, import ud-sock.h from unserding project for use in quo-tws et al
  chore, refactor bragging about instruments into separate\ function brag()
minor, provide xml serialiser tws_cont_xml() along with IB specific tws_cont_y()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide secdef request aka requestContractDetails()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide tws_dup_cont() to duplicate tws_cont_t objects

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide abstract tws_sdef_t to hold security definitions, and a dup()er tws_dup_sdef()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, also provide ctor and dtor for tws_sdef_t objects

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

* lib/twscapi:
  minor, also provide ctor and dtor for tws_sdef_t objects
  minor, provide abstract tws_sdef_t to hold security definitions, and a dup()er tws_dup_sdef()
  minor, provide tws_dup_cont() to duplicate tws_cont_t objects
  minor, provide secdef request aka requestContractDetails()
  minor, provide xml serialiser tws_cont_xml() along with IB specific tws_cont_y()
minor, open tcp socket with REUSEADDR and LINGER set, and shutdown with ev_io_shut() helper

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
cosmetics, replace direct accesses to subs.inss by INS() accessor macro

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, actually read the integer past idx=

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, replace the \0 by \n in the (hdr_len - 1)-st byte of buf

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, let twscapi do the XML serialisation in websvc_secdef()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, request security definitions for each subscribed symbol and use them in INS() array instead of the user-provided ones

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, close connection after sending the security definitions

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

* quo/tws:
  chore, close connection after sending the security definitions
  minor, request security definitions for each subscribed symbol and use them in INS() array instead of the user-provided ones
  minor, let twscapi do the XML serialisation in websvc_secdef()
  fix, replace the \0 by \n in the (hdr_len - 1)-st byte of buf
  fix, actually read the integer past idx=
  cosmetics, replace direct accesses to subs.inss by INS() accessor macro
  minor, open tcp socket with REUSEADDR and LINGER set, and shutdown with ev_io_shut() helper
Merge branch 'next'

* next:
  chore, close connection after sending the security definitions
  minor, request security definitions for each subscribed symbol and use them in INS() array instead of the user-provided ones
  minor, let twscapi do the XML serialisation in websvc_secdef()
  fix, replace the \0 by \n in the (hdr_len - 1)-st byte of buf
  fix, actually read the integer past idx=
  cosmetics, replace direct accesses to subs.inss by INS() accessor macro
  minor, open tcp socket with REUSEADDR and LINGER set, and shutdown with ev_io_shut() helper
  minor, also provide ctor and dtor for tws_sdef_t objects
  minor, provide abstract tws_sdef_t to hold security definitions, and a dup()er tws_dup_sdef()
  minor, provide tws_dup_cont() to duplicate tws_cont_t objects
  minor, provide secdef request aka requestContractDetails()
  minor, provide xml serialiser tws_cont_xml() along with IB specific tws_cont_y()
  minor, actually return a FIXML document for /secdef? queries
  minor, start dccp and tcp listener in quo-tws, with acceptor but no response functionality
  minor, import ud-sock.h from unserding project for use in quo-tws et al
  chore, refactor bragging about instruments into separate\ function brag()