Skip to content

Simplify the driver interface #22

Description

Consider the abstract state machine and there are four states:

  1. Waiting for further input
  2. Waiting for further output
  3. Stream has been processed successfully.
  4. Stream has been processed unsuccessfully.

Those states should be reflected in the exit codes of the inflate driver function. That simplifies the logic for caller as well as it avoids most address calculations to see which state the library is currently in.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions