From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [RFC PATCH 4/6] SetProperty for UseDeliveryReports.
Date: Fri, 04 Jun 2010 12:08:35 -0500 [thread overview]
Message-ID: <201006041208.35564.denkenz@gmail.com> (raw)
In-Reply-To: <1275650257-30593-5-git-send-email-pasi.miettinen@ixonos.com>
[-- Attachment #1: Type: text/plain, Size: 1093 bytes --]
Hi Pasi,
> ---
> src/sms.c | 34 +++++++++++++++++++++++++++++++++-
> src/smsutil.c | 5 +++--
> src/smsutil.h | 3 ++-
> test/send-sms | 7 ++++++-
> unit/test-sms.c | 10 +++++-----
Please break this up into a series of 4 patches:
1. smsutil changes
2. unit test changes
3. sms core atom changes
4. unit test changes.
> --- a/src/sms.c
> +++ b/src/sms.c
> @@ -67,6 +67,7 @@ struct ofono_sms {
> const struct ofono_sms_driver *driver;
> void *driver_data;
> struct ofono_atom *atom;
> + gboolean use_delivery_reports;
Use ofono_bool_t as the type here
> };
>
> + if (!strcmp(property, "UseDeliveryReports")) {
> + const char *path = __ofono_atom_get_path(sms->atom);
> + gboolean value;
use dbus_bool_t as the type as it is more type-correct.
> GSList *sms_text_prepare(const char *utf8, guint16 ref,
> - gboolean use_16bit, int *ref_offset)
> + gboolean use_16bit, int *ref_offset,
> + const gboolean use_delivery_reports)
For basic integer types, no need to declare them const.
Regards,
-Denis
next prev parent reply other threads:[~2010-06-04 17:08 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-04 11:17 Next series of delivery report patches Pasi Miettinen
2010-06-04 11:17 ` [RFC PATCH 1/6] Change in at_cds_notify for status report Pasi Miettinen
2010-06-04 11:17 ` [RFC PATCH 2/6] Add IncomingStatusReport a{sv} signal Pasi Miettinen
2010-06-04 11:17 ` [RFC PATCH 3/6] Support for basic SMS Status Report Pasi Miettinen
2010-06-04 11:17 ` [RFC PATCH 4/6] SetProperty for UseDeliveryReports Pasi Miettinen
2010-06-04 11:17 ` [RFC PATCH 5/6] Support for concatenated SMS status report Pasi Miettinen
2010-06-04 11:17 ` [RFC PATCH 6/6] Save pending SMS Status Reports to disk Pasi Miettinen
2010-06-04 22:04 ` [RFC PATCH 5/6] Support for concatenated SMS status report Denis Kenzior
2010-06-05 5:57 ` VS: " Miettinen Pasi
2010-06-07 12:22 ` Miettinen Pasi
2010-06-07 13:02 ` Miettinen Pasi
2010-06-07 17:45 ` Denis Kenzior
2010-06-04 17:08 ` Denis Kenzior [this message]
2010-06-04 17:01 ` [RFC PATCH 3/6] Support for basic SMS Status Report Denis Kenzior
2010-06-04 16:58 ` [RFC PATCH 2/6] Add IncomingStatusReport a{sv} signal Denis Kenzior
2010-06-04 16:52 ` [RFC PATCH 1/6] Change in at_cds_notify for status report Denis Kenzior
2010-06-04 11:28 ` VS: Next series of delivery report patches Miettinen Pasi
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=201006041208.35564.denkenz@gmail.com \
--to=denkenz@gmail.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