Change in ...nfs-ganesha[next]: display_buffer improvements
Frank Filz has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/458495 Change subject: display_buffer improvements ...................................................................... display_buffer improvements Make some (char *) parameters (const char *) to allow more callers. Add display_opaque_bytes_flags to allow control of how opaque bytes are displayed. Options include whether it uses %02x or %02X, whether it leads the string with "0x" and how it handles various issues with the buffer passed (negative length, NULL pointer, 0 length). Add an OPAQUE_BYTES_SIZE macro to compte the buffer size necessary (note that if the "0x" lead is not used, the buffer size will be 2 bytes larger than necessary. Change-Id: Ie09ce0252140b73d4026213369cbde8b89468031 Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com> --- M src/MainNFSD/libganesha_nfsd.ver M src/include/display.h M src/log/display.c 3 files changed, 71 insertions(+), 14 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/95/458495/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/458495 To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: Ie09ce0252140b73d4026213369cbde8b89468031 Gerrit-Change-Number: 458495 Gerrit-PatchSet: 1 Gerrit-Owner: Frank Filz <ffilzlnx@mindspring.com> Gerrit-MessageType: newchange
participants (1)
-
Frank Filz (GerritHub)