go-ceph/internal/cutil
John Mulligan e2a78eec02 cutil: allow passing free functions to command output type
The *_command functions in librados and libcephfs document the use
of specific free functions for data allocated. These functions are
currently just wrappers around C's free() function. However, to be
more strictly compliant this change adds a free-function callback
to the CommandOutput type and the specific free functions are now
used outside the unit tests.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2020-05-12 17:18:08 -04:00
..
command_input_test.go cutil: add a new internal package for c+go utility functions 2020-05-12 17:18:08 -04:00
command_input.go cutil: add a new internal package for c+go utility functions 2020-05-12 17:18:08 -04:00
command_output_test.go cutil: allow passing free functions to command output type 2020-05-12 17:18:08 -04:00
command_output.go cutil: allow passing free functions to command output type 2020-05-12 17:18:08 -04:00
type_aliases.go cutil: allow passing free functions to command output type 2020-05-12 17:18:08 -04:00