2
* $Id: mailcap.h 136 2006-09-22 20:06:05Z hubert@u.washington.edu $
4
* ========================================================================
5
* Copyright 2006 University of Washington
7
* Licensed under the Apache License, Version 2.0 (the "License");
8
* you may not use this file except in compliance with the License.
9
* You may obtain a copy of the License at
11
* http://www.apache.org/licenses/LICENSE-2.0
13
* ========================================================================
16
#ifndef PITH_MAILCAP_INCLUDED
17
#define PITH_MAILCAP_INCLUDED
20
typedef struct mcap_cmd {
21
char *command; /* command to execute */
22
int special_handling; /* special os handling */
26
/* exported protoypes */
27
char *mc_conf_path(char *, char *, char *, int, char *);
28
int mailcap_can_display(int, char *, PARAMETER *, int);
29
MCAP_CMD_S *mailcap_build_command(int, char *, PARAMETER *, char *, int *, int);
30
void mailcap_free(void);
32
/* currently mandatory to implement stubs */
34
/* return exit status of test command */
35
int exec_mailcap_test_cmd(char *);
39
#endif /* PITH_MAILCAP_INCLUDED */