python: Add various constants to the API.
commit14b7fe2e0de881e3dfc8803484ade29a61e323c9
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 21 Nov 2019 15:02:44 +0000 (21 15:02 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 9 Dec 2019 15:56:20 +0000 (9 15:56 +0000)
tree4cebbd262861dd18149ce3d01c16d4d873dc9171
parentf35a951915b56d60b38e2ca43abe590626ec711f
python: Add various constants to the API.

These are accessible from the plugin by:

  import nbdkit

  if flags & nbdkit.FLAG_MAY_TRIM:
  &c.

Many (all?) of these are not yet useful for plugins, some will never
be useful, but they only consume a tiny bit of memory and it's nice to
have the complete set available for future use.
plugins/python/python.c