#include <h/mime.h>
#include <h/mhparse.h>
#include <h/utils.h>
+#include "h/mhcachesbr.h"
+#include "mhmisc.h"
#include "../sbr/m_mktemp.h"
#include "../sbr/message_id.h"
#include "../sbr/mime_type.h"
} convert_list;
-/* mhmisc.c */
-void content_error (char *, CT, char *, ...);
-
-/* mhcachesbr.c */
-int find_cache (CT, int, int *, char *, char *, int);
-
/*
* static prototypes
*/
ct->c_ceclosefnx = close_encoding;
ct->c_cesizefnx = NULL; /* since unencoded */
ct->c_encoding = CE_7BIT; /* Seems like a reasonable default */
- ct->c_file = add(filename, NULL);
+ ct->c_file = mh_xstrdup(FENDNULL(filename));
return OK;
}