PDU handling fixes
[gsmd2.git] / src / gsmd-error.h
blobcd725db7085810606670631b3c0778eb3caf0263
1 /*
2 * gsmd-error.c
4 * Copyright(C) 2008 Ixonos Plc
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2, or (at your option)
9 * any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Boston, MA 02111.
22 * Written by
23 * Heikki Paajanen
26 #ifndef GSMD_ERROR_H
27 #define GSMD_ERROR_H
29 #include <glib-object.h>
31 #define GSMD_ERROR gsmd_error_quark ()
33 GQuark gsmd_error_quark();
35 typedef enum {
36 GSMD_ERROR_TIMEOUT = 1,
37 GSMD_ERROR_UNKNOWN,
38 GSMD_ERROR_RESET,
39 GSMD_ERROR_NOTSUPPORTED,
40 GSMD_ERROR_NOCARRIER,
41 GSMD_ERROR_AUTH
42 } GsmdErrorCode;
43 #endif /* GSMD_ERROR_H */