/* rfc822-error.c generated by valac 0.56.3, the Vala compiler
 * generated from rfc822-error.vala, do not modify */

/* Copyright 2016 Software Freedom Conservancy Inc.
 *
 * This software is licensed under the GNU Lesser General Public License
 * (version 2.1 or later).  See the COPYING file in this distribution.
 */

#include "geary-engine.h"

/**
 * An error that is thrown when manipulating RFC 822 objects and data.
 */

GQuark
geary_rf_c822_error_quark (void)
{
	return g_quark_from_static_string ("geary-rf-c822-error-quark");
}

 G_GNUC_NO_INLINE static GType
geary_rf_c822_error_get_type_once (void)
{
	static const GEnumValue values[] = {{GEARY_RF_C822_ERROR_INVALID, "GEARY_RF_C822_ERROR_INVALID", "invalid"}, {GEARY_RF_C822_ERROR_NOT_FOUND, "GEARY_RF_C822_ERROR_NOT_FOUND", "not-found"}, {GEARY_RF_C822_ERROR_FAILED, "GEARY_RF_C822_ERROR_FAILED", "failed"}, {0, NULL, NULL}};
	GType geary_rf_c822_error_type_id;
	geary_rf_c822_error_type_id = g_enum_register_static ("GearyRFC822Error", values);
	return geary_rf_c822_error_type_id;
}

GType
geary_rf_c822_error_get_type (void)
{
	static gsize geary_rf_c822_error_type_id__once = 0;
	if (g_once_init_enter (&geary_rf_c822_error_type_id__once)) {
		GType geary_rf_c822_error_type_id;
		geary_rf_c822_error_type_id = geary_rf_c822_error_get_type_once ();
		g_once_init_leave (&geary_rf_c822_error_type_id__once, geary_rf_c822_error_type_id);
	}
	return geary_rf_c822_error_type_id__once;
}

