Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup & reorganization #73

Merged
merged 1 commit into from
May 16, 2022
Merged

Cleanup & reorganization #73

merged 1 commit into from
May 16, 2022

Conversation

jmwilson
Copy link
Contributor

  • scsi::get_des & others should take a non-const buffer since they modify it
  • Reorder functions in main.cpp to declare internal functions static
  • Fix compile error in newer GCC (Compilation error #72) with more explicit cast
  • Remove some unused constants
  • Add KAD type enum
  • Pass key vector by reference instead of copying

{
auto it = s.data();
std::vector<uint8_t> bytes;
std::vector<std::uint8_t> bytes;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets rename "bytes" to something more meaningful later.

@jonasstein jonasstein merged commit 8caaf85 into scsitape:master May 16, 2022
@jmwilson jmwilson deleted the cleanup2 branch June 6, 2022 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants