mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
add libetpan 0.48 to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3763 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
37
libs/libetpan/tests/readmsg-common.h
Normal file
37
libs/libetpan/tests/readmsg-common.h
Normal file
@@ -0,0 +1,37 @@
|
||||
#ifndef READMSG_COMMON_H
|
||||
|
||||
#define READMSG_COMMON_H
|
||||
|
||||
#include <libetpan/libetpan.h>
|
||||
|
||||
#define DEST_CHARSET "iso-8859-1"
|
||||
|
||||
enum {
|
||||
/* SEB */
|
||||
#ifndef NO_ERROR
|
||||
NO_ERROR,
|
||||
#endif
|
||||
ERROR_FILE = 1,
|
||||
ERROR_MEMORY = 2,
|
||||
ERROR_INVAL = 3,
|
||||
ERROR_FETCH = 4,
|
||||
};
|
||||
|
||||
int etpan_mime_is_text(struct mailmime * build_info);
|
||||
|
||||
int show_part_info(FILE * f,
|
||||
struct mailmime_single_fields * mime_fields,
|
||||
struct mailmime_content * content);
|
||||
|
||||
int etpan_fetch_message(mailmessage * msg_info,
|
||||
struct mailmime * mime_part,
|
||||
struct mailmime_single_fields * fields,
|
||||
char ** result, size_t * result_len);
|
||||
|
||||
struct mailimf_fields * fetch_fields(mailmessage * msg_info,
|
||||
struct mailmime * mime);
|
||||
|
||||
int fields_write(FILE * f, int * col,
|
||||
struct mailimf_fields * fields);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user