diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2011-06-29 13:15:05 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-12-04 22:21:57 +0100 |
commit | aa1b87b6d8a8d51632ab31b637d85183944ac3a8 (patch) | |
tree | 51e699f03570ee70edd7c7f1b636134a25a62d4d /gobex/gobex-defs.c | |
parent | 31ebc74e69a833122cdc1c25078e614c7d7895bb (diff) | |
download | bluez-aa1b87b6d8a8d51632ab31b637d85183944ac3a8.tar.gz |
gobex: Add initial GError support
Diffstat (limited to 'gobex/gobex-defs.c')
-rw-r--r-- | gobex/gobex-defs.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gobex/gobex-defs.c b/gobex/gobex-defs.c new file mode 100644 index 000000000..f1f3b38ff --- /dev/null +++ b/gobex/gobex-defs.c @@ -0,0 +1,29 @@ +/* + * + * OBEX library with GLib integration + * + * Copyright (C) 2011 Intel Corporation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#include <glib.h> + +#include "gobex-defs.h" + +GQuark g_obex_error_quark(void) +{ + return g_quark_from_static_string("g-obex-error-quark"); +} |