Method
GcrParserparse_stream_async
Declaration [src]
void
gcr_parser_parse_stream_async (
  GcrParser* self,
  GInputStream* input,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)
Description [src]
Parse items from the data in a GInputStream. This function completes
asyncronously and doesn’t block.
The GcrParser::parsed and GcrParser::authenticate signals
may fire during the parsing.
This method completes asynchronously. Use gcr_parser_parse_stream_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
- input
- 
            Type: GInputStreamThe input stream. The data is owned by the caller of the method. 
- cancellable
- 
            Type: GCancellableAn optional cancellation object. The argument can be NULL.The data is owned by the caller of the method. 
- callback
- 
            Type: GAsyncReadyCallbackCalled when the operation result is ready. The argument can be NULL.
- user_data
- 
            Type: gpointerData to pass to callback. The argument can be NULL.The data is owned by the caller of the method.