tcllib package mimetype and non-file-data
- From: "MartinLemburg@UGS" <martin.lemburg.ugs@xxxxxxx>
- Date: 13 Dec 2006 02:35:46 -0800
Hello,
I would really like to test data received as attachment with an eMail
without saving it into a file for its real mime type.
I found the tcllib package mimetype, but this package only allows to
recognize files.
So I took a look at the sources especially the rtcore and found that
the strbuf variable will be filled with the file contents, but that
often the opened file is used to extract data from it, instead of the
strbuf variable filled with the file data.
Could anyone help explaining me some of the procedures and the reason,
why the strbuf variable exists, is filled, but not really used, so that
I could try to extend the filetype and the mimetype packages to accept
non-file-data?
Thanks and best regards,
Martin
.
- Prev by Date: Re: Compiling Tcl with Msys/MinGW on Windows XP
- Next by Date: Re: expect_out(buffer) is empty with interactive script prompt
- Previous by thread: about the canvas widget
- Next by thread: Tclkit for MacOSX 10.3.9
- Index(es):
Relevant Pages
|