Logo Search packages:      
Sourcecode: dbmail version File versions  Download package


/* $Id: mime.h,v 1.21 2003/03/17 16:04:08 roel Exp $ 
 * (c) 2000-2002 IC&S, The Netherlands */

#ifndef _MIME_H
#define _MIME_H

#include "config.h"

#include "dbmailtypes.h"

#define MEM_BLOCK 1024

struct mime_record
/* if these are to be changed to ptrs, the following has to be updated:
   mime.c (duh)
   a cleanup for all the memory allocated 
  char field[MIME_FIELD_MAX];
  char value[MIME_VALUE_MAX];

int mime_list(char *blkdata, struct list *mimelist);
void mime_findfield(const char *fname, struct list *mimelist, struct mime_record **mr);
int mail_adr_list(char *scan_for_field, struct list *targetlist, struct list *mimelist);
int mail_adr_list_special(int offset, int max, char *address_array[], struct list *users);
int mime_readheader(char *blkdata, u64_t *blkidx, 
                struct list *mimelist, u64_t *headersize);


Generated by  Doxygen 1.6.0   Back to index