* New version 2.21.999
[alpine.git] / pith / mailcap.h
bloba0a5186a5b03abf465641dfae73642dfc924e10e
1 /*
2 * $Id: mailcap.h 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $
4 * ========================================================================
5 * Copyright 2013-2018 Eduardo Chappa
6 * Copyright 2006-2008 University of Washington
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 PITH_MAILCAP_INCLUDED
18 #define PITH_MAILCAP_INCLUDED
21 typedef struct mcap_cmd {
22 char *command; /* command to execute */
23 int special_handling; /* special os handling */
24 } MCAP_CMD_S;
27 /* exported protoypes */
28 char *mc_conf_path(char *, char *, char *, int, char *);
29 int mailcap_can_display(int, char *, BODY *, int);
30 MCAP_CMD_S *mailcap_build_command(int, char *, BODY *, char *, int *, int);
31 void mailcap_free(void);
33 /* currently mandatory to implement stubs */
35 /* return exit status of test command */
36 int exec_mailcap_test_cmd(char *);
40 #endif /* PITH_MAILCAP_INCLUDED */