To have more consisten python API, value should be used for secor
size and alignment instead of flags. This patch set replaces flags
with values in public API, expose tuples with supported sector size
and alignment values and add some related tests.
The seventh version of this patch doesn't contain any changes wrt v6,
but should be sent with 8bit encoding instead of base64.
Vojtech Juranek (2):
Accept values instead of flags for sector and aling parameters.
Expose tuples with supported align and sector values
python/example.py | 4 +-
python/sanlock.c | 137 ++++++++++++++++++++++++++++++++++---------
tests/python_test.py | 59 +++++++++++++++++++
3 files changed, 170 insertions(+), 30 deletions(-)
--
2.20.1