On Wed, Aug 27, 2003 at 12:24:11AM +0200, Richard Eckart wrote:All the others are even more confusing probably (gal, gnet). I would say, stick to gnut for now. The gnut project doesn't seem to be alive. So a library which references to gnut probably won't be to confusing.
What would be a good prefix for the gtk-gnutella-functions? IHow about "gnet"? There is already a gnet.h which outlines some of the
suppose gtk-gnutella_upload_get_size() would get too long.
gnut_upload_get_size() might be confusing as there is allready a
program called gnut, right? ggl (gtk-gnutella lib) might not be
obvious enough.
events that you will want to have.
http://www.gnetlibrary.org/
Someone also mentioned gal, which is a gnome library. I think gnut
turned into mutella.
How are we going to document the library? I would prefer using the doxygen commenting style, using javadoc alike comments. If we are going to use this one. Are we going to document in the header file, or in the sources files? If we are going to document in the header file it might actually make a header file which isn't simple browseable, however, it allows instant documentation when a developer hasn't have the library source or the generated doxygen documentation available. If we are going to document in the header file I propose to split the downloads / uploads / gnutella net etc sections in seperate header files. eg gnutellalib/uploads.h gnutellalib/downloads.h etc... (or whatever the name of the library is going to be... gal/uploads.h or gnut/uploads.h)
Second issue. Running the library, as the library will only sent events, how should it run? Should the client call the 'run' function from the library everytime (as often as possible)? Or should the library create its own thread and handle the threading problems (mutal exclusion and such) when it comes to sending events. Are threads easy portable across currently supported platforms?
- Jeroen
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Gtk-gnutella-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel
