diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-07-22 12:14:48 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-06 20:07:49 +0200 |
commit | a8516fa1f8cdab03f9e8b13cea15f03de10fe70d (patch) | |
tree | b4f3cb1eba091499d50000a0271e39b960928fa3 /plugins/zte/mm-common-zte.h | |
parent | 1f2a7bd87c2bd5b166b93150d07bb8ff56594d90 (diff) |
zte: new common code to setup unsolicited event handlers
Diffstat (limited to 'plugins/zte/mm-common-zte.h')
-rw-r--r-- | plugins/zte/mm-common-zte.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/plugins/zte/mm-common-zte.h b/plugins/zte/mm-common-zte.h new file mode 100644 index 00000000..66ee6eeb --- /dev/null +++ b/plugins/zte/mm-common-zte.h @@ -0,0 +1,31 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * 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: + * + * Copyright (C) 2008 - 2009 Novell, Inc. + * Copyright (C) 2009 - 2012 Red Hat, Inc. + * Copyright (C) 2012 Aleksander Morgado <aleksander@gnu.org> + */ + +#ifndef MM_COMMON_ZTE_H +#define MM_COMMON_ZTE_H + +#include "mm-broadband-modem.h" + +typedef struct _MMCommonZteUnsolicitedSetup MMCommonZteUnsolicitedSetup; +MMCommonZteUnsolicitedSetup *mm_common_zte_unsolicited_setup_new (void); +void mm_common_zte_unsolicited_setup_free (MMCommonZteUnsolicitedSetup *setup); + +void mm_common_zte_set_unsolicited_events_handlers (MMBroadbandModem *self, + MMCommonZteUnsolicitedSetup *setup, + gboolean enable); + +#endif /* MM_COMMON_ZTE_H */ |