Files
wireplumber/lib/wp/error.h
2020-01-16 18:50:07 +02:00

30 lines
525 B
C

/* WirePlumber
*
* Copyright © 2019 Collabora Ltd.
* @author George Kiagiadakis <george.kiagiadakis@collabora.com>
*
* SPDX-License-Identifier: MIT
*/
#ifndef __WP_ERROR_H__
#define __WP_ERROR_H__
#include <glib.h>
#include "defs.h"
G_BEGIN_DECLS
WP_API
GQuark wp_domain_library_quark (void);
#define WP_DOMAIN_LIBRARY (wp_domain_library_quark ())
typedef enum {
WP_LIBRARY_ERROR_INVARIANT,
WP_LIBRARY_ERROR_INVALID_ARGUMENT,
WP_LIBRARY_ERROR_OPERATION_FAILED,
} WpLibraryErrorEnum;
G_END_DECLS
#endif