/* Returns CR_OK upon successfull completion, an error code otherwise.  */
enum CRStatus cr_doc_handler_get_ctxt(CRDocHandler *a_this, gpointer *a_ctxt)
/* Returns CR_OK upon successfull completion, an error code otherwise.  */
enum CRStatus cr_doc_handler_get_ctxt(CRDocHandler *a_this, gpointer *a_ctxt)
{
        g_return_val_if_fail (a_this && a_this->priv, CR_BAD_PARAM_ERROR);
        *a_ctxt = a_this->priv->context;
        return CR_OK;
}