diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2013-06-15 12:19:50 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2013-07-11 09:39:21 +0200 |
commit | 8d0ec0fc246ad4be53b426ae99443e9b5f66a5f5 (patch) | |
tree | a419ad4a402b5b85a12dd3839764739a0d5463fc /plugins/huawei/mm-modem-helpers-huawei.h | |
parent | 5e82707b3fba0b7cb95df6b544741bdc1119bd51 (diff) |
huawei: new helper to parse ^NDISSTATQRY responses
Diffstat (limited to 'plugins/huawei/mm-modem-helpers-huawei.h')
-rw-r--r-- | plugins/huawei/mm-modem-helpers-huawei.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/plugins/huawei/mm-modem-helpers-huawei.h b/plugins/huawei/mm-modem-helpers-huawei.h new file mode 100644 index 00000000..cc32087d --- /dev/null +++ b/plugins/huawei/mm-modem-helpers-huawei.h @@ -0,0 +1,30 @@ +/* -*- 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) 2013 Huawei Technologies Co., Ltd + * Copyright (C) 2013 Aleksander Morgado <aleksander@gnu.org> + */ + +#ifndef MM_MODEM_HELPERS_HUAWEI_H +#define MM_MODEM_HELPERS_HUAWEI_H + +#include "glib.h" + +/* ^NDISSTATQRY response parser */ +gboolean mm_huawei_parse_ndisstatqry_response (const gchar *response, + gboolean *ipv4_available, + gboolean *ipv4_connected, + gboolean *ipv6_available, + gboolean *ipv6_connected, + GError **error); + +#endif /* MM_MODEM_HELPERS_HUAWEI_H */ |