ctdb-tests: Add test templates for various data types
authorAmitay Isaacs <amitay@gmail.com>
Thu, 27 Jul 2017 07:38:47 +0000 (17:38 +1000)
committerMartin Schwenke <martins@samba.org>
Wed, 30 Aug 2017 12:59:21 +0000 (14:59 +0200)
commit62229f4c93934f10bb4d7321d6d2f7edefa907f9
treea50ceacd66b4176166802eb1449afa3c53d1bfce
parentc16d2585bc8af01225c3b8903bb261196461f25f
ctdb-tests: Add test templates for various data types

These test templates will use new style of len/push/pull functions.
The differences in the new style of marshalling functions are:

1. len/push functions will be passed pointer to a value instead of the value
2. push/pull functions will additionally return the number of bytes consumed

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/tests/src/protocol_common.h