Cross reference for mm/mm.h of index.

# File mm/mm.h

      $Revision: 2.16 $

      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: COMPLETE, NOT REVUED, TESTED

      Design and implementation by: daniele@ripe.net

## Included Files

- `#include "/ncc/dbwork/c-client/sparc-sun-solaris2.7/imap-2000a/c-client/mail.h"`
  - `#include "/ncc/dbwork/c-client/sparc-sun-solaris2.7/imap-2000a/c-client/linkage.h"`

- `#include "/ncc/dbwork/c-client/sparc-sun-solaris2.7/imap-2000a/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 "/ncc/dbwork/c-client/sparc-sun-solaris2.7/imap-2000a/c-client/env_unix.h"`
    - `#include "/ncc/dbwork/c-client/sparc-sun-solaris2.7/imap-2000a/c-client/env.h"`
  - `#include "/ncc/dbwork/c-client/sparc-sun-solaris2.7/imap-2000a/c-client/fs.h"`
  - `#include "/ncc/dbwork/c-client/sparc-sun-solaris2.7/imap-2000a/c-client/ftl.h"`
  - `#include "/ncc/dbwork/c-client/sparc-sun-solaris2.7/imap-2000a/c-client/nl.h"`
  - `#include "/ncc/dbwork/c-client/sparc-sun-solaris2.7/imap-2000a/c-client/tcp.h"`
  - `#include "/ncc/dbwork/c-client/sparc-sun-solaris2.7/imap-2000a/c-client/lockfix.h"`

- `#include "/home/shane/code/RIP/include/gpg.h"`
  - `#include <netdb.h>`
  - `#include <unistd.h>`
  - `#include "/home/shane/code/RIP/include/mail_parser.h"`
    - `#include "/home/shane/code/RIP/include/gpg.h"`
    - `#include "/home/shane/code/RIP/include/memwrap.h"`
      - `#include </home/shane/code/RIP/include/erroutines.h>`
      - `#include <glib.h>`

- `#include "/home/shane/code/RIP/include/mail_parser.h"`

- `#include "/home/shane/code/RIP/include/memwrap.h"`

- `#include "/ncc/dbwork/platforms/yucca-debug/glib-indep/include/glib-1.2/glib.h"`

## Preprocessor definitions

`#define _MM_H`

`#define STR_S 63`

`#define STR_M 255`

`#define STR_L 1023`

`#define STR_XL 4095`

`#define STR_XXL 16383`

`#define LINELENGTH 80`

`#define MAXBUFSIZE 102400`

`#define NO_DEBUG 0`

`#define DO_DEBUG 1`

`#define DEFAULT_DEBUG NO_DEBUG`

`#define TEMPDIR "/tmp"`

`#define FILENAMELEN STR_L`

`#define GLOBALPREFIX "mime"`

`#define MAXSUPPTYPES 50`

`#define MM_get_headers( mail_file, mail_descr, custom_debug )`

`#define parse_application_pgp( stream, body, part_number, mailnode )`

`#define parse_unknown_unknown( stream, body, part_number, mailnode )`

`#define parse_multipart_mixed( stream, body, part_number, mailnode )`

`#define parse_multipart_digest( stream, body, part_number, mailnode )`

## 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;` |
`char* content_type;` |
`}` |

## Local Function asctime_r()

`static char* asctime_r ( const struct tm* __tm, char* __buf )`

Included from: | /usr/include/time.h
Calls: | __posix_asctime_r()

## Local Function ctime_r()

`static char* ctime_r ( const time_t* __time, char* __buf )`

Included from: | /usr/include/time.h
Calls: | __posix_ctime_r()

## Local Function getlogin_r()

`static int getlogin_r ( char* __name, int __len )`

Included from: | /usr/include/unistd.h
Calls: | __posix_getlogin_r()

## Local Function readdir_r()

`static int readdir_r ( DIR* __dp, struct dirent* __ent, struct dirent** __res )`

Included from: | /usr/include/dirent.h
Calls: | __posix_readdir_r()

## Local Function ttyname_r()

`static int ttyname_r ( int __fildes, char* __buf, size_t __size )`

Included from: | /usr/include/unistd.h
Calls: | __posix_ttyname_r()