static int mongoc_stream_buffered_flush (mongoc_stream_t *stream) /* IN */ { mongoc_stream_buffered_t *buffered = (mongoc_stream_buffered_t *)stream; bson_return_val_if_fail(buffered, -1); return mongoc_stream_flush(buffered->base_stream); }
static int _mongoc_stream_debug_flush (mongoc_stream_t *stream) { return mongoc_stream_flush (((mongoc_stream_debug_t *) stream)->wrapped); }