Re: [RFC v0 01/11] core: Add btd_service to represent device services

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mikel,

On Fri, Mar 22, 2013, Mikel Astiz wrote:
> >> +void service_unavailable(struct btd_service *service)
> >> +{
> >> +     service->profile = NULL;
> >> +     service->err = 0;
> >> +     service_set_state(service, SERVICE_STATE_UNAVAILABLE);
> >> +}
> >
> > Why aren't these function names prefixed with btd_?
> 
> I had a look at some other existing headers such as device.h and
> didn't understand the criteria to add or not the prefix.
> 
> I'll add to it to all functions in the next revision.

In principle any symbols that should be accessible from plugins
should be prefixed with btd_. There are many cases which do not follow
this in the old code, but we're trying to gradually fix it.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux