[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bluetooth-dev] Why to declare twice things ?
There is something that is a bit special in openBT. This is that some things are defined twice. Once for user land, once for kernel land.
Example : every ioctl value is defined in bt_if.h and bt_common.h. You will find exactly the same line to define HCISET_EVENT_FILTER in both files.
I think that these things should be defined in a .h file situated in /usr/src/linux/include/linux/bluetooth/. These definitions should be accessed by the kernel part and the userland part.
I there any reason to keep two definitions ? If yes, can someone explain me why ?
Alain Paschoud SMARTDATA SA
http://www.smartdata.ch 1015 Lausanne
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to firstname.lastname@example.org