[linux-dvb] What do you think of mpsys library ? (for ca_zap)

Manu Abraham manu at kromtek.com
Wed Apr 6 10:06:01 CEST 2005

Kenneth Aafløy wrote:
> On Sunday 03 April 2005 09:15, you wrote:
>>Johannes Stezenbach wrote:
>>>Typedefs have a purpose: Creating an abstraction, i.e. hiding
>>>information about the type from the user. IMHO it is totally useless to
>>>stick a typedef on every struct or enum definition. All you get is
>>>obfuscation. And the _t suffixes are ugly, too.
>>>Please ask yourself if and why you want to hide from the users
>>>of your API why e.g. vid_dev_hierarchy_t is an enum.
>>Yes, typedef's really make opaque data types, The programmer feels 
>>really comfortable, but a newbie would find it quite a bit hard, ie, a 
>>larger learning curve for the new types. ie, a longer period somebody 
>>has to work on that to get moving.
> Ack!
> I'm currently playing with implementing an interface based on the ideas in
> this discussion, can't promise when I'll have something even close to what
> is desired, so don't hold your breath.

Why don't we have a standard interface what i mentioned in my previous 
mail ?


More information about the linux-dvb mailing list