diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2018-01-28 06:50:39 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2018-01-28 06:50:39 +0000 |
commit | 3a7e1666843ba386946f65d8ea89fe4ddf9ed9bf (patch) | |
tree | ec2d3a035ff39e5f5786460ac09f31df45d5469f /include/sg_lib.h | |
parent | 6293187a432dd0bbf85961a897755bd0260f28ad (diff) | |
download | sg3_utils-3a7e1666843ba386946f65d8ea89fe4ddf9ed9bf.tar.gz |
add sg_seek and sg_stream_ctl utilities; properly identify vendor-specific sense; documentation cleanup
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@747 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'include/sg_lib.h')
-rw-r--r-- | include/sg_lib.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/sg_lib.h b/include/sg_lib.h index 0f12b107..1b3d4794 100644 --- a/include/sg_lib.h +++ b/include/sg_lib.h @@ -481,7 +481,7 @@ void dStrHexErr(const char * str, int len, int no_ascii); * right of each line; 1 don't (so just output ASCII hex). Returns * number of bytes written to 'b' excluding the trailing '\0'. */ int dStrHexStr(const char * str, int len, const char * leadin, int format, - int b_len, char * b); + int cb_len, char * cbp); /* The following 3 functions are equivalent to dStrHex(), dStrHexErr() and * dStrHexStr() respectively. The difference is the type of the first of @@ -490,12 +490,11 @@ int dStrHexStr(const char * str, int len, const char * leadin, int format, void hex2stdout(const uint8_t * b_str, int len, int no_ascii); void hex2stderr(const uint8_t * b_str, int len, int no_ascii); int hex2str(const uint8_t * b_str, int len, const char * leadin, int format, - int b_len, char * b); + int cb_len, char * cbp); /* Returns true when executed on big endian machine; else returns false. * Useful for displaying ATA identify words (which need swapping on a - * big endian machine). -*/ + * big endian machine). */ bool sg_is_big_endian(); /* Returns true if byte sequence starting at bp with a length of b_len is |