Compose Attachments. More...
#include "config.h"
#include <stdbool.h>
#include <stddef.h>
#include "private.h"
#include "mutt/lib.h"
#include "config/lib.h"
#include "email/lib.h"
#include "core/lib.h"
#include "gui/lib.h"
#include "attach/lib.h"
#include "convert/lib.h"
#include "expando/lib.h"
#include "menu/lib.h"
#include "attach_data.h"
#include "shared_data.h"
Go to the source code of this file.
Functions | |
unsigned long | cum_attachs_size (struct ConfigSubset *sub, struct ComposeAttachData *adata) |
Cumulative Attachments Size. | |
static int | attach_email_observer (struct NotifyCallback *nc) |
Notification that the Email has changed - Implements observer_t -. | |
static int | attach_config_observer (struct NotifyCallback *nc) |
Notification that a Config Variable has changed - Implements observer_t -. | |
static int | attach_window_observer (struct NotifyCallback *nc) |
Notification that a Window has changed - Implements observer_t -. | |
static int | compose_attach_tag (struct Menu *menu, int sel, int act) |
Tag an attachment - Implements Menu::tag() -. | |
static int | compose_make_entry (struct Menu *menu, int line, int max_cols, struct Buffer *buf) |
Format an Attachment for the Menu - Implements Menu::make_entry() -. | |
struct MuttWindow * | attach_new (struct MuttWindow *parent, struct ComposeSharedData *shared) |
Create the Attachments Menu. | |
Compose Attachments.
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 attach.c.
unsigned long cum_attachs_size | ( | struct ConfigSubset * | sub, |
struct ComposeAttachData * | adata | ||
) |
Cumulative Attachments Size.
sub | Config Subset |
adata | Attachment data |
num | Bytes in attachments |
Returns the total number of bytes used by the attachments in the attachment list after content-transfer-encodings have been applied.
Definition at line 84 of file attach.c.
|
static |
Notification that a Window has changed - Implements observer_t -.
Definition at line 167 of file attach.c.
struct MuttWindow * attach_new | ( | struct MuttWindow * | parent, |
struct ComposeSharedData * | shared | ||
) |
Create the Attachments Menu.
parent | Parent Window |
shared | Shared compose data |
Definition at line 241 of file attach.c.