[Libbt-devel] restructuring
Brought to you by:
ksmathers
From: Alien <ali...@us...> - 2005-02-22 20:37:54
|
in order to be able to compile a true shared library, i've been adding a few header files in include, that'll dictate how the future structure will look like. I started with copy pasting the types from all over and writing some functions declarations and how they could look. as this is far from incomplete, i'll continue writing on this, until this is done, before i go changing everything and probably break cvs HEAD. I've seen a few header files, and this presents a structural thing that really should be changed. it looks like the benc types are all in types.h and as i understand that most things started there, this is not how things should be: I intend to make the benc types and functions use benc instead of bt prefix. combined with making the bencObject_t a union instead of how it is now. furthermore, it has seemed to me that this allocated item that's in every benc type looks useless. it seems that this type should be filled out in one burst, to improve efficiency, (especially if frontends would use multithreading). of course i could be wrong, so tell me. anyway, i expect your thoughts about this... AL13N |