Copy the body of an email. More...
#include "config.h"#include <stdbool.h>#include <stdio.h>#include <string.h>#include "mutt/lib.h"#include "copy_body.h"#include "attach/lib.h"#include "send/lib.h"#include "body.h"#include "muttlib.h"#include "parameter.h"
Include dependency graph for copy_body.c:Go to the source code of this file.
Functions | |
| int | mutt_body_copy (FILE *fp, struct Body **b_dst, struct Body *b_src) |
| Create a send-mode duplicate from a receive-mode body. | |
Copy the body of an email.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file copy_body.c.
Create a send-mode duplicate from a receive-mode body.
| [in] | fp | FILE pointer to attachments |
| [out] | b_dst | New Body will be saved here |
| [in] | b_src | Source Body to copy |
| 0 | Success |
| -1 | Failure |
Definition at line 50 of file copy_body.c.
Here is the call graph for this function:
Here is the caller graph for this function: