🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

4 total messages Started by Tor Lillqvist Wed, 23 Dec 1992 21:43
RFC822 parser library?
#3274
Author: Tor Lillqvist
Date: Wed, 23 Dec 1992 21:43
22 lines
1499 bytes
I am looking for a parser library for RFC 822 headers.  The interface
could be something like this:

	1) First call some function that parses the headers from a
text stream (fil, buffer, whatever), and stores it in some internal
data structure. 

	2) After this, you can call funtions to enumerate and retrieve
what headers were present.  The headers are available both in "raw"
form (exactly as in the text stream), and in some pre-digested form
with comments stripped, multiple recipients in a linked list, dates
converted to time_t (or perhaps struct tm), etc.

Not wanting to re-invent the wheel, is such a beast perhaps already
(freely) available?  Thanks for any pointers. Reply by both posting
(to the benefit of others, and I'm probably too busy to make a
summary), and by mail (I might forget what newsgroups I posted this
question to :-), please.
--
Tor Lillqvist,
working, but not speaking, for the Technical Research Centre of Finland,
Laboratory for Information Processing (VTT/TIK).
Re: RFC822 parser library?
#3278
Author: Tor Lillqvist
Date: Wed, 23 Dec 1992 23:37
9 lines
980 bytes
In article <TML.92Dec23214353@hemuli.tik.vtt.fi> I wrote:
> I am looking for a parser library for RFC 822 headers.

The c-client library (from IMAP, ftpable from ftp.cac.washington.edu)
seems to be what I need, but I have to look into it more to be sure.
--
Tor Lillqvist,
working, but not speaking, for the Technical Research Centre of Finland,
Laboratory for Information Processing (VTT/TIK).
Re: RFC822 parser library?
#3281
Author: Terry Gray
Date: Thu, 24 Dec 1992 15:47
15 lines
996 bytes
In article <TML.92Dec23214353@hemuli.tik.vtt.fi> tml@tik.vtt.fi (Tor Lillqvist) writes:
>I am looking for a parser library for RFC 822 headers.  The interface
>could be something like this:

<details deleted>

Tor,
You might check out Mark Crispin's C-client library.  I believe it will
do what you need, and also includes low-level support for IMAP and MIME.
It's freely available from "ftp.cac.washington.edu" in the "mail" directory.

--
Terry Gray
 University of Washington
  gray@cac.washington.edu
Re: RFC822 parser library?
#3285
Author: Germann Associates
Date: Fri, 25 Dec 1992 17:09
43 lines
2240 bytes
Try the c-client available from cac.washington.edu (somewhere under the
pub tree).  The name is c-client.tar.Z


Eric
============================================================================
Eric Germann                               Quote for the campaign:
The Germann Associates                     "Lead, follow, or get out of the 
eric@tga.com                                way"   - Lee Iacocca 



In article <TML.92Dec23214353@hemuli.tik.vtt.fi> tml@tik.vtt.fi (Tor Lillqvist) writes:
>I am looking for a parser library for RFC 822 headers.  The interface
>could be something like this:
>
>	1) First call some function that parses the headers from a
>text stream (fil, buffer, whatever), and stores it in some internal
>data structure. 
>
>	2) After this, you can call funtions to enumerate and retrieve
>what headers were present.  The headers are available both in "raw"
>form (exactly as in the text stream), and in some pre-digested form
>with comments stripped, multiple recipients in a linked list, dates
>converted to time_t (or perhaps struct tm), etc.
>
>Not wanting to re-invent the wheel, is such a beast perhaps already
>(freely) available?  Thanks for any pointers. Reply by both posting
>(to the benefit of others, and I'm probably too busy to make a
>summary), and by mail (I might forget what newsgroups I posted this
>question to :-), please.
>--
>Tor Lillqvist,
>working, but not speaking, for the Technical Research Centre of Finland,
>Laboratory for Information Processing (VTT/TIK).


-- 
============================================================================
Eric Germann                               Quote for the campaign:
The Germann Associates                     "Lead, follow, or get out of the 
eric@tga.com                                way"   - Lee Iacocca 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads