diff options
author | Eduardo Chappa <echappa@gmx.com> | 2013-02-03 00:59:38 -0700 |
---|---|---|
committer | Eduardo Chappa <echappa@gmx.com> | 2013-02-03 00:59:38 -0700 |
commit | 094ca96844842928810f14844413109fc6cdd890 (patch) | |
tree | e60efbb980f38ba9308ccb4fb2b77b87bbc115f3 /alpine/send.h | |
download | alpine-094ca96844842928810f14844413109fc6cdd890.tar.xz |
Initial Alpine Version
Diffstat (limited to 'alpine/send.h')
-rw-r--r-- | alpine/send.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/alpine/send.h b/alpine/send.h new file mode 100644 index 00000000..4d216dd5 --- /dev/null +++ b/alpine/send.h @@ -0,0 +1,53 @@ +/* + * $Id: send.h 769 2007-10-24 00:15:40Z hubert@u.washington.edu $ + * + * ======================================================================== + * Copyright 2006-2007 University of Washington + * Copyright 2013 Eduardo Chappa + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * ======================================================================== + */ + +#ifndef PINE_SEND_INCLUDED +#define PINE_SEND_INCLUDED + + +#include "../pith/send.h" +#include "../pith/reply.h" +#include "../pith/state.h" +#include "../pith/pattern.h" +#include "../pith/filter.h" + + +#define SS_PROMPTFORTO 0x01 /* Simple_send: prompt for To */ +#define SS_NULLRP 0x02 /* Null Return-path */ + + +/* pine_send flags */ +#define PS_STICKY_FCC 0x01 +#define PS_STICKY_TO 0x02 + + +/* exported protoypes */ +void compose_screen(struct pine *); +void alt_compose_screen(struct pine *); +void compose_mail(char *, char *, ACTION_S *, PATMT *, gf_io_t); +int pine_simple_send(ENVELOPE *, BODY **, ACTION_S *, char *, char *, char **, int); +void pine_send(ENVELOPE *, BODY **, char *, ACTION_S *, char *, REPLY_S *, + REDRAFT_POS_S *, char *, PINEFIELD *, int); +int upload_msg_to_pico(char *, size_t, long *); +void phone_home(char *); +void create_message_body(BODY **, PATMT *, int); +char *pine_send_status(int, char *, char *, size_t, int *); +int confirm_daemon_send(void); +int build_address(char *, char **,char **, BUILDER_ARG *, int *); +void free_attachment_list(PATMT **); + + +#endif /* PINE_SEND_INCLUDED */ |