Re: roadrunner ./API_CHANGES ./ChangeLog ./configu ...

Andrea Campi <[email protected]> Tue, 7 Jan 2003 16:41:43 +0100
Newsgroups gmane.network.beep.roadrunner.cvs
Organization I.NET S.p.A.
Message-ID <[email protected]>
On Thu, Dec 12, 2002 at 03:59:53PM +0100, Jonas Borgström wrote:
> Log message:
> 	2002-12-12  Jonas Borgström  <[email protected]>
[...]
> 	
> 	* librr/rr-mime.[ch]:
> 	A small, simple and fast mime parser. The api isn't quite finalized
> 	yet. Comments are welcome.
[...]

I was finally able to check this out. In general, I really like this
move, although I didn't change my code to take advantage of it yet
(and thus I didn't really try it).

However, on AIX I get an error because the prototype and the actual
implementation of rr_mime_parse don't agree on the type of the second
argument (apparently, sizeof(size_t) != sizeof(gsize)).

What about applying this patch?

--- rr-mime.h.orig      Tue Jan  7 16:40:32 2003
+++ rr-mime.h   Tue Jan  7 16:40:42 2003
@@ -22,7 +22,7 @@
 typedef void (*RRMimeFunc) (RRMimePart *part, gpointer user_data);

 RRMimePart  *rr_mime_parse              (const gchar *data,
-                                        size_t len);
+                                        gsize len);

 RRMimePart  *rr_mime_part_new           (const gchar *type);
 RRMimePart  *rr_mime_multipart_new      (const gchar *type);



Bye,
	Andrea

-- 
Andrea Campi                              mailto:[email protected]
I.NET S.p.A. - BT Ignite                  http://www.inet.it
Technical Dept. - R&D			  phone: +39 02 32863 ext 1
v. Darwin, 85 - I-20019			  fax: +39 02 32863 ext 7705
Settimo Milanese (MI), Italy