Re: mailmime_write - col parameter
"DINH Viêt Hoà" <[email protected]> Sat, 10 Nov 2007 09:55:36 +0100
| Newsgroups | gmane.mail.libetpan.user |
|---|---|
| Message-ID | <[email protected]> |
On 11/10/07, Stanislaw T. Findeisen <[email protected]> wrote: > int mailmime_write(FILE * f, int * col, > struct mailmime * build_info); > > What is this col parameter? In my documentation it is described as: > > "col current column is given for wrapping purpose in (* col), the > resulting columns will be returned.." > > Should I be concerned about this in top-level call? Is it enough to call > this function once for given FILE* and struct mailmime*? Hello, You should fill the given integer with a zero value and pass the address to the mailmime_write() function. void write_mime(FILE * f, struct mailmime * mime) { int col; col = 0; mailmime_write(f, &col, mime); } -- DINH Viêt Hoà ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/