MIME-C

所属分类:网络编程
开发工具:C/C++
文件大小:86KB
下载次数:113
上传日期:2008-07-19 21:33:25
上 传 者rechardfeng
说明:  mime的C语言实现,用于开发邮件客户端。
(mime of the C language for the development of e-mail client.)

文件列表:
MIME (0, 2008-07-19)
MIME\CVS (0, 2008-07-19)
MIME\CVS\Entries (2, 1998-08-25)
MIME\CVS\Entries.Log (41, 1998-08-25)
MIME\CVS\Repository (40, 1998-08-25)
MIME\CVS\Root (51, 1998-08-25)
MIME\include (0, 2008-07-19)
MIME\include\CVS (0, 2008-07-19)
MIME\include\CVS\Entries (321, 1998-08-25)
MIME\include\CVS\Repository (48, 1998-08-25)
MIME\include\CVS\Root (51, 1998-08-25)
MIME\include\mime.h (18894, 1998-08-25)
MIME\include\mimeparser.h (5501, 1998-08-25)
MIME\include\mimeparser_internal.h (6849, 1998-08-25)
MIME\include\mime_internal.h (7674, 1998-08-25)
MIME\include\nsmail_inputstream.h (2017, 1998-08-25)
MIME\include\util.h (4662, 1998-08-25)
MIME\include\vector.h (1849, 1998-08-25)
MIME\src (0, 2008-07-19)
MIME\src\CVS (0, 2008-07-19)
MIME\src\CVS\Entries (437, 1998-08-25)
MIME\src\CVS\Repository (44, 1998-08-25)
MIME\src\CVS\Root (51, 1998-08-25)
MIME\src\Makefile (1563, 1998-08-25)
MIME\src\mime.c (107474, 1998-08-25)
MIME\src\mime.def (2463, 1998-08-25)
MIME\src\mime.exp (1761, 1998-08-25)
MIME\src\mimeDataSink.c (5642, 1998-08-25)
MIME\src\mimeparser.c (97055, 1998-08-25)
MIME\src\mime_internal.c (45117, 1998-08-25)
MIME\src\nsmail_inputstream.c (4582, 1998-08-25)
MIME\src\util.c (40641, 1998-08-25)
MIME\src\vector.c (6245, 1998-08-25)
MIME\test (0, 2008-07-19)
MIME\test\CVS (0, 2008-07-19)
MIME\test\CVS\Entries (238, 1998-08-25)
MIME\test\CVS\Entries.Log (16, 1998-08-25)
MIME\test\CVS\Repository (45, 1998-08-25)
MIME\test\CVS\Root (51, 1998-08-25)
MIME\test\dynamic (0, 2008-07-19)
... ...

This directory contains example programs that demonstrate the use of the C MIME Encoder / Parser API. The needed include files mime.h nsmail.h and nsStream.h etc. are installed at /include/nsStream.h and /include/nsmail.h and /include/protocol/mime.h Where is where you installed the Netscape Messaging-sdk. How to compile and run: ----------------------- When compiling for UNIX platforms specify -DXP_UNIX. For Windows do not specify -DXP_UNIX. You would need to link with libmime.so library and libcomm.so. libmime library implements the MIME functionality and libcomm library contains the implementation of Stream I/O functions that are defined in nsStream.h NOTE: The .so extension for libraries is used on Solaris and other such platforms. The extension is different on other platforms. On NT it is .lib and .dll for example. An example compile statement for Solaris is shown below: cc -DXP_UNIX -I./ testMessage.c -lmime -lcomm -lnsl -lsocket To Run: ------ Be sure to set the LD_LIBRARY_PATH or the equivalents and run the program. For example, if you complied testMessage.c to generate a.out run the program as follows: Usage: a.out [encoding] Where encoding can be B (Base***), Q (QP). If the encoding parameter is not supplied the program assumes a default based on filename extension. For example: a.out IMAGE.JPG B a.out xxx.txt Q a.out xxx.txt

近期下载者

相关文件


收藏者