libassuan uses a context approach to keep state. The following data type is used all over the place:
The
assuan_context_t
type is a pointer to an object maintained internally by the library. Certain Assuan functions allocate such a context and return it to the caller using this data type. Other functions take this data type to access the state created by these functions.
For compatibility with older versions of libassuan a data type for error return values exists: