Article View: news.software.nntp
Article #37169Re: Using libstorage
From: thetrick
Date: Fri, 30 Apr 1999 00:00
Date: Fri, 30 Apr 1999 00:00
43 lines
2073 bytes
2073 bytes
Ugh, sorry, wrong address. Need to get the squid anonymizer going. :-) Please respond to thetrick@wizard.net if you can't respond to the newsgroup. Tom Hetrick > Greetings - > > I am wondering how I would use the libstorage in another program to > access articles. I have managed to get it to compile after a few > modifications, but I have no idea if I will hose my system by running > it. Below are the changes I've made. Please let me know what damage I > might do. :-) If the library isn't safe for use by programs outside > the INN package, I would be willing to make it so it is safe. > > ... in my program ... > > #include "storage.h" > #include "libinn.h" > > ... in storage.h, because including clibrary.h resulted in even more > errors ... > > typedef long OFFSET_T; > typedef int BOOL; > typedef pid_t PID_T; > > ... in my makefile - adding qio.o cleared up some linker (?) complaints > ... > > CFLAGS= -Wall -g -c -O2 -I../include -I../zlib/zlib > -I/usr/local/news/include -I > /usr/local/src/inn-2.2/include > LDFLAGS= -L../lib/ -L../zlib/zlib/ /usr/local/news/lib/libstorage.a > /usr/local/news/lib/libinn.a /usr/local/src/inn-2.2/storage/qio.o > > TIA > > Tom Hetrick
Technical Details
Message-ID:
<3729CF79.4FB0CAD9@wizard.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<3729CD93.D5F6116A@wizard.net>Show Full Headers
Complete Article Headers
Message-ID: <3729CF79.4FB0CAD9@wizard.net> Subject: Re: Using libstorage Date: Fri, 30 Apr 1999 00:00:00 +0000 From: thetrick@wizard.net References: <3729CD93.D5F6116A@wizard.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 472725174 Content-Transfer-Encoding: 7bit Sender: techdom@gateway.loralorion.com X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@news1.loralorion.net X-Trace: news1.loralorion.net 925486914 8097 209.239.66.36 (30 Apr 1999 15:41:54 GMT) Organization: Loral Orion Mime-Version: 1.0 NNTP-Posting-Date: 30 Apr 1999 15:41:54 GMT Newsgroups: news.software.nntp