* Update to packages/alpine.spec to account for the new location of man
[alpine.git] / alpine / send.h
blobe08c7d8deb5b379c3992ec2b231ed0f34d23e257
1 /*
2 * $Id: send.h 769 2007-10-24 00:15:40Z hubert@u.washington.edu $
4 * ========================================================================
5 * Copyright 2006-2007 University of Washington
6 * Copyright 2013-2017 Eduardo Chappa
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * ========================================================================
17 #ifndef PINE_SEND_INCLUDED
18 #define PINE_SEND_INCLUDED
21 #include "../pith/send.h"
22 #include "../pith/reply.h"
23 #include "../pith/state.h"
24 #include "../pith/pattern.h"
25 #include "../pith/filter.h"
28 #define SS_PROMPTFORTO 0x01 /* Simple_send: prompt for To */
29 #define SS_NULLRP 0x02 /* Null Return-path */
32 /* pine_send flags */
33 #define PS_STICKY_FCC 0x01
34 #define PS_STICKY_TO 0x02
37 /* exported protoypes */
38 void compose_screen(struct pine *);
39 void alt_compose_screen(struct pine *);
40 void compose_mail(char *, char *, ACTION_S *, PATMT *, gf_io_t);
41 int pine_simple_send(ENVELOPE *, BODY **, ACTION_S **, char *, char *, char **, int);
42 void pine_send(ENVELOPE *, BODY **, char *, ACTION_S *, char *, REPLY_S *,
43 REDRAFT_POS_S *, char *, PINEFIELD *, int);
44 int upload_msg_to_pico(char *, size_t, long *);
45 void create_message_body(BODY **, PATMT *, int);
46 char *pine_send_status(int, char *, char *, size_t, int *);
47 int confirm_daemon_send(void);
48 int build_address(char *, char **,char **, BUILDER_ARG *, int *);
49 void free_attachment_list(PATMT **);
50 void phone_home(char *);
53 #endif /* PINE_SEND_INCLUDED */