Hi Lucas,
> >> struct gps_data {
> >> GAtChat *chat;
> >> - GAtChat *data_chat;
> >> +
> >> + struct {
> >> + GIOChannel *channel;
> >> + guint idle_source;
> >> + gsize written;
> >> + ofono_location_reporting_enable_cb_t cb;
> >> + void *cb_data;
> >> + } stream;
> >> };
> >
> > why do you bother with the struct in struct here?
>
> Just to group these related fields.
I let Denis decide to take this or not. My preference is to not do this
unless it has some clear benefit, but that is just me ;)
Regards
Marcel
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono