body.texi
1.09 KB
@code{#include <mailutils/body.h>}
@deftypefun int body_create (body_t *@var{body}, void *@var{owner})
Initialize an object @var{bdy}.
@end deftypefun
@deftypefun void body_destroy (body_t *@var{pbody})
The resources allocate are release.
@end deftypefun
@deftypefun int body_get_stream (body_t @var{body}, stream_t *@var{pstream})
@end deftypefun
@deftypefun int body_set_stream (body_t @var{body}, stream_t @var{stream}, void *@var{owner})
@end deftypefun
@deftypefun int body_get_filename __P ((body_t @var{body}, char *@var{buffer}, size_t@var{buflen}, size_t *@var{pwriten})
@end deftypefun
@deftypefun int body_set_filename (body_t @var{body}, const char*@var{buffer})
@end deftypefun
@deftypefun int body_size (body_t @var{body}, size_t*@var{psize})
@end deftypefun
@deftypefun int body_set_size (body_t @var{body}, int (*@var{_size})(body_t, size_t*), void *@var{owner})
@end deftypefun
@deftypefun int body_lines (body_t @var{body}, size_t *@var{plines})
@end deftypefun
@deftypefun int body_set_lines (body_t @var{body}, int (*@var{_lines})(body_t, size_t*), void *@var{owner})
@end deftypefun