diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2018-02-22 07:00:28 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2018-02-22 07:00:28 +0000 |
commit | 252086533f8af0736c2a4987cd70a44366837ec1 (patch) | |
tree | 1f9245e247673fdb6ebea13b9aa559e1f869d78c /include/sg_cmds_extra.h | |
parent | 39ea1b548f21c006c311ace897b221b100bfa88d (diff) | |
download | sg3_utils-252086533f8af0736c2a4987cd70a44366837ec1.tar.gz |
sg_lib: add sg_if_can2stdout(); use uint8_t instead of unsigned char; Windows pass-through work
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@754 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'include/sg_cmds_extra.h')
-rw-r--r-- | include/sg_cmds_extra.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/sg_cmds_extra.h b/include/sg_cmds_extra.h index fbc23773..d7b82320 100644 --- a/include/sg_cmds_extra.h +++ b/include/sg_cmds_extra.h @@ -42,11 +42,10 @@ extern "C" { * data may be placed in *sensep in which case sensep[0]==0x70, prior to * SAT-2 descriptor sense format was required (i.e. sensep[0]==0x72). */ -int sg_ll_ata_pt(int sg_fd, const unsigned char * cdbp, int cdb_len, +int sg_ll_ata_pt(int sg_fd, const uint8_t * cdbp, int cdb_len, int timeout_secs, void * dinp, void * doutp, int dlen, - unsigned char * sensep, int max_sense_len, - unsigned char * ata_return_dp, int max_ata_return_len, - int * residp, int verbose); + uint8_t * sensep, int max_sense_len, uint8_t * ata_return_dp, + int max_ata_return_len, int * residp, int verbose); /* Invokes a FORMAT UNIT (SBC-3) command. Return of 0 -> success, * SG_LIB_CAT_INVALID_OP -> Format unit not supported, |