Re: [gmime-devel] Putting GMime into Bongo



On Sun, 2008-09-07 at 12:36 -0400, Jeffrey Stedfast wrote:
[snip]
> > One simple thing has turned up immediately: there doesn't seem to be an 
> > obvious way to get a byte offset for the end of the mail headers from 
> > the start of a message. What I've done as a sort of hack is use 
> > g_mime_object_get_headers() to get a raw copy, and then calculate the 
> > length of that string, but I'm thinking that it would be nice if GMime 
> > just had an internal value somewhere that got set as it parsed the 
> > message (assuming it doesn't already).
> 
> Sounds like a reasonable API request :)
> 

FWIW, I've implemented this feature in both the 2.3.x and 2.2.x branches
- I'll make a release of each of them today (2.3.10 and 2.2.23 I think)

Jeff




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