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

i#2006 generalize drcachesim: improve custom field support #2244

Merged
merged 4 commits into from
Feb 28, 2017

Conversation

derekbruening
Copy link
Contributor

Adds a size-written OUT parameter to drmodtrack_offline_write() to avoid
callers needing an expensive strlen() to figure out how much to write from
the buffer to a file.

Includes the checksum and timestamp in the returned offline fields now, to
avoid having to check the struct size for compatibility when we inevitably
add them later.

Adds a size-written OUT parameter to drmodtrack_offline_write() to avoid
callers needing an expensive strlen() to figure out how much to write from
the buffer to a file.

Includes the checksum and timestamp in the returned offline fields now, to
avoid having to check the struct size for compatibility when we inevitably
add them later.
drmodtrack_offline_read() to avoid reading off the end for cases where the
buffer is standalone.
@derekbruening derekbruening merged commit 370a9b2 into master Feb 28, 2017
@derekbruening derekbruening deleted the i2006-modtrack-return-written branch February 28, 2017 01:11
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.

1 participant