/* Returns CR_OK upon successful completion, an error code otherwise  */
enum CRStatus cr_om_parser_simply_parse_paths_to_cascade(const guchar *a_author_path, const guchar *a_user_path, const guchar *a_ua_path, enum CREncoding a_encoding, CRCascade **a_result)
/* Returns CR_OK upon successful completion, an error code otherwise  */
enum CRStatus cr_om_parser_simply_parse_paths_to_cascade(const guchar *a_author_path, const guchar *a_user_path, const guchar *a_ua_path, enum CREncoding a_encoding, CRCascade **a_result)
{
        enum CRStatus status = CR_OK;
        CROMParser *parser = NULL;
        parser = cr_om_parser_new (NULL);
        if (!parser) {
                cr_utils_trace_info ("could not allocated om parser");
                cr_utils_trace_info ("System may be out of memory");
                return CR_ERROR;
        }
        status = cr_om_parser_parse_paths_to_cascade (parser,
                                                      a_author_path,
                                                      a_user_path,
                                                      a_ua_path,
                                                      a_encoding, a_result);
        if (parser) {
                cr_om_parser_destroy (parser);
                parser = NULL;
        }
        return status;
}