Qsmtp  0.30dev
mime.h
Go to the documentation of this file.
1 
4 #ifndef MIME_H
5 #define MIME_H
6 
7 #include "qrdata.h"
8 #include <sstring.h>
9 
10 #include <sys/types.h>
11 
12 extern const char *skipwhitespace(const char *line, const size_t len) __attribute__ ((pure)) __attribute__ ((nonnull(1)));
13 extern int is_multipart(const cstring *, cstring *) __attribute__ ((pure)) __attribute__ ((nonnull(1,2)));
14 extern size_t getfieldlen(const char *, const size_t) __attribute__ ((pure)) __attribute__ ((nonnull(1)));
15 extern off_t find_boundary(const char *, const off_t, const cstring *) __attribute__ ((pure)) __attribute__ ((nonnull (1,3)));
16 
17 #endif
size_t getfieldlen(const char *, const size_t)
Definition: mime.c:287
int is_multipart(const cstring *, cstring *)
Definition: mime.c:165
off_t find_boundary(const char *, const off_t, const cstring *)
Definition: mime.c:320
const char * skipwhitespace(const char *line, const size_t len)
Definition: mime.c:37
definition of string record and headers of corresponding helper functions
record of a constant string
Definition: sstring.h:23
function definitions for Qremote's handling of message bodies