Cross reference for modules/mm/mm.h of index.

# File modules/mm/mm.h

      $Revision: 1.6 $

      mm - MIME Parser module. Functions to parse a mail message,
      find if it is MIME-encapsulated, and return the parts of
      the message which are supported by the UP module.

      Status: NOT COMPLETE, NOT REVUED, NOT TESTED

      Design and implementation by: Daniele Arena

Included in: | modules/mm/mm.c

## Included Files

- `#include "/home/daniele/downloads/solaris/imap-4.7b/c-client/mail.h"`
  - `#include "/home/daniele/downloads/solaris/imap-4.7b/c-client/linkage.h"`

- `#include "/home/daniele/downloads/solaris/imap-4.7b/c-client/osdep.h"`
  - `#include <string.h>`
  - `#include <sys/types.h>`
  - `#include <stdlib.h>`
  - `#include <dirent.h>`
  - `#include <fcntl.h>`
  - `#include <unistd.h>`
  - `#include <time.h>`
  - `#include <utime.h>`
  - `#include <syslog.h>`
  - `#include <sys/file.h>`
  - `#include <ustat.h>`
  - `#include "/home/daniele/downloads/solaris/imap-4.7b/c-client/env_unix.h"`
    - `#include "/home/daniele/downloads/solaris/imap-4.7b/c-client/env.h"`
  - `#include "/home/daniele/downloads/solaris/imap-4.7b/c-client/fs.h"`
  - `#include "/home/daniele/downloads/solaris/imap-4.7b/c-client/ftl.h"`
  - `#include "/home/daniele/downloads/solaris/imap-4.7b/c-client/nl.h"`
  - `#include "/home/daniele/downloads/solaris/imap-4.7b/c-client/tcp.h"`
  - `#include "/home/daniele/downloads/solaris/imap-4.7b/c-client/lockfix.h"`

- `#include "/home/daniele/downloads/solaris/imap-4.7b/c-client/misc.h"`

## Preprocessor definitions

`#define NO_DEBUG 0`

`#define DO_DEBUG 1`

`#define DEFAULT_DEBUG DO_DEBUG`

`#define TEMPDIR "/tmp"`

`#define FILENAMELEN 1024`

`#define GLOBALPREFIX "mime"`

`#define STR_S 63`

`#define STR_M 255`

`#define STR_L 1023`

`#define STR_XL 4095`

`#define STR_XXL 16383`

## Typedef sectptr

`typedef struct MM_body_section* sectptr`

## Typedef MM_b_section

`typedef struct MM_body_section MM_b_section`

`struct MM_body_section` |
`{` |
`char* number;` |
`char* type;` |
`unsigned long size;` |
`char* mime_headers;` |
`char* contents;` |
`short supported;` |
`sectptr next;` |
`}` |

## Typedef MM_bs_list

`typedef struct MM_body_section_list MM_bs_list`

`struct MM_body_section_list` |
`{` |
`int size;` |
`MM_b_section* head;` |
`MM_b_section* tail;` |
`}` |

## Typedef partptr

`typedef struct MM_extracted_mimepart* partptr`

## Typedef MM_xmp

`typedef struct MM_extracted_mimepart MM_xmp`

`struct MM_extracted_mimepart` |
`{` |
`char* number;` |
`char* type;` |
`char* file;` |
`short supported;` |
`partptr next;` |
`}` |

## Typedef MM_xmp_list

`typedef struct MM_extracted_mimepart_list MM_xmp_list`

`struct MM_extracted_mimepart_list` |
`{` |
`int size;` |
`MM_xmp* head;` |
`MM_xmp* tail;` |
`}` |

## Typedef MM_header

`typedef struct MM_mail_header MM_header`

`struct MM_mail_header` |
`{` |
`char* from;` |
`char* subject;` |
`char* date;` |
`char* message_id;` |
`char* reply_to;` |
`char* cc;` |
`}` |