On Thu, 29 Oct 2020 16:49:03 +0200 "Yordan Karadzhov (VMware)" <y.karadz@xxxxxxxxx> wrote: > Maybe I don't understand your idea very well, but I think what you > suggest has very different behavior. What I want is the implementation > of the interface to stay in the same header file (libkshark.h). In the > future we can add more interfaces but this will be again in the same > header (libkshark.h). Maybe I got confused ;-) Is there going to be different interface structures? Why the "void *" and not just supply a "struct kshark_data_stream *"? That way at least you have some kind of type checking when tasks move things around. I try to avoid using "void *" because it can easily be the source of unwanted bugs, due to the lack of type checking. -- Steve