[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: timescale of 'search-linuxkb'



Hugo Rabson wrote:
> 
> I'll end up writing routines which will be useful to other programmers
> (html-parsing, etc.) so if anyone knows how to turn these routines into a
> library someday... Actually, that raises a few questions:-
> 
> 1) Should search-linuxkb be a proper '.lib' library, or is it ok that it'll
> be a regular application?

I would use either a static or a shared, I don't know, I have more
experience with libraries what will be used by more than one app(at
once), so I useually go with shared, but I doubt that people will be
running 2 or 3 different search-linuxkb apps so i don't think that
shared will give any benifit
 
> 2) Is it ok that it'll use wget to read the search page & send a POST
> request? There's probably a C library for doing the same thing but wget
> comes with most Linux installations anyway.

wget should be fine, is that prone to buffer problems? make sure you do
checking if it is. 

btw if you need a hand let me know, I've got a good background in c/c++