plugins: Rename *_old slots in struct nbdkit_plugin to *_v1.
commit8ac7a9339eb9fddeb43ae9e2ef78f966e248cddf
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 14 Dec 2019 18:40:35 +0000 (14 18:40 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 14 Dec 2019 20:10:04 +0000 (14 20:10 +0000)
tree6b6e829b1b336d633060c1537c2d201f95badcb4
parentefea563692f9fdc7a265141af1d71e06d0ee55e0
plugins: Rename *_old slots in struct nbdkit_plugin to *_v1.

When API v2 is requested, and also internal to the server, the slots
used by old pread (etc) functions were called _pread_old (etc).  Since
we plan eventually to deprecate the v2 functions this would lead to
awkward renaming (_pread_old to _pread_old_old), and the _old suffix
is not descriptive of what the function signifies.  Instead name them
_pread_v1 (etc).
include/nbdkit-plugin.h
plugins/rust/src/lib.rs
server/plugins.c