From: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
To: ofono@ofono.org
Subject: Re: [PATCHv6 3/3] Mobile broadband provider info plugin
Date: Tue, 20 Sep 2011 16:44:21 +0300 [thread overview]
Message-ID: <4E7898B5.2050705@intel.com> (raw)
In-Reply-To: <4E699CFB.7090500@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1609 bytes --]
Hello Denis,
On 09/09/2011 07:58 AM, Denis Kenzior wrote:
> After reviewing this patch I got the impression that you were still
> making things just way too complicated and not taking full advantage of
> the push/pop semantics. So just for fun I wrote my own version in
> plugins/mbpi.[ch] and reworked tools/lookup-apn to use that. The code
> seems to be valgrind clean and can handle duplicate detection, bail out
> early, etc.
>
> Can you please take a look and suggest improvements? Once you think it
> is good enough, I'd like you to rewrite this patch series to utilize
> mbpi.c parser.
Thanks, I have just looked. I am fine with this approach too.
One of the ideas of the implementation in PATCHv6 is to have the naming of
tag_start() / tag_end() handlers to correspond to the actual tag names.
Can the same be achieved here? Can you please check PATCHv6 once again in order
to check that idea?
A few cosmetic issues:
- the naming of struct gsm_data, perhaps, parser_data or provider_info would fit?
- gsm_start() could be broken down into smaller functions?
- Marcel wished the plugin naming "mobile-broadband-provider-info", even though
it's a very long name. Shall we stick to that? I am fine with both.
Perhaps, some diagnostic output should be added too, in case anybody will need
to troubleshoot it. For that, something like body_isprint() and ap_type_name()
would be needed.
Are you fine with these?
Regards,
Oleg
--
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki
Business Identity Code: 0357606 - 4
Domiciled in Helsinki
next prev parent reply other threads:[~2011-09-20 13:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-14 13:16 [PATCHv6 0/3] Mobile broadband provider info plugin Oleg Zhurakivskyy
2011-09-14 13:16 ` [PATCHv6 1/3] Mobile broadband provider info plugin makefile changes Oleg Zhurakivskyy
2011-09-14 13:16 ` [PATCHv6 2/3] Mobile broadband provider info plugin autoconf support Oleg Zhurakivskyy
2011-09-14 13:16 ` [PATCHv6 3/3] Mobile broadband provider info plugin Oleg Zhurakivskyy
2011-09-09 4:58 ` Denis Kenzior
2011-09-20 13:44 ` Oleg Zhurakivskyy [this message]
2011-09-12 8:37 ` Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E7898B5.2050705@intel.com \
--to=oleg.zhurakivskyy@intel.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox