diff options
author | Nathan Angelacos <nangel@alpinelinux.org> | 2007-09-22 09:12:55 +0000 |
---|---|---|
committer | Nathan Angelacos <nangel@alpinelinux.org> | 2007-09-22 09:12:55 +0000 |
commit | 2b2c0a4a34173fefd9cf254860252a203c189361 (patch) | |
tree | 640ce922a56d8e9eabe39b35b4e4f5313bdbd2bc /src/rfc2388.h | |
download | haserl-2b2c0a4a34173fefd9cf254860252a203c189361.tar.bz2 haserl-2b2c0a4a34173fefd9cf254860252a203c189361.tar.xz |
move to trunk/tags/branches arch
Diffstat (limited to 'src/rfc2388.h')
-rw-r--r-- | src/rfc2388.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/rfc2388.h b/src/rfc2388.h new file mode 100644 index 0000000..acad1ac --- /dev/null +++ b/src/rfc2388.h @@ -0,0 +1,28 @@ +#ifndef _RFC2388_H +#define _RFC2388_H 1 + +typedef struct +{ + char *name; /* the variable name */ + char *filename; /* the client-specified filename */ + char *type; /* the mime-type */ + char *tempname; /* the tempfilename */ + buffer_t value; /* the value of the variable */ + int fh; /* the output file handle */ + } mime_var_t; + + +/* rfc2388.c */ +void empty_stdin(void); +void mime_var_init(mime_var_t *obj); +void mime_var_destroy(mime_var_t *obj); +char *mime_substr(char *start, int len); +void mime_tag_add(mime_var_t *obj, char *str); +void mime_var_putenv(list_t *env, mime_var_t *obj); +void mime_exec(mime_var_t *obj, char *fifo); +void mime_var_open_target(mime_var_t *obj); +void mime_var_writer(mime_var_t *obj, char *str, int len); +int rfc2388_handler(list_t *env); + + +#endif /* _RFC2388_H */ |