~ubuntu-branches/debian/stretch/alpine/stretch

« back to all changes in this revision

Viewing changes to pith/mailcap.h

  • Committer: Bazaar Package Importer
  • Author(s): Asheesh Laroia
  • Date: 2007-02-17 13:17:42 UTC
  • Revision ID: james.westby@ubuntu.com-20070217131742-99x5c6cpg1pbkdhw
Tags: upstream-0.82+dfsg
ImportĀ upstreamĀ versionĀ 0.82+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * $Id: mailcap.h 136 2006-09-22 20:06:05Z hubert@u.washington.edu $
 
3
 *
 
4
 * ========================================================================
 
5
 * Copyright 2006 University of Washington
 
6
 *
 
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
 
10
 *
 
11
 *     http://www.apache.org/licenses/LICENSE-2.0
 
12
 *
 
13
 * ========================================================================
 
14
 */
 
15
 
 
16
#ifndef PITH_MAILCAP_INCLUDED
 
17
#define PITH_MAILCAP_INCLUDED
 
18
 
 
19
 
 
20
typedef struct mcap_cmd {
 
21
    char *command;                              /* command to execute      */
 
22
    int   special_handling;                     /* special os handling     */
 
23
} MCAP_CMD_S;
 
24
 
 
25
 
 
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);
 
31
 
 
32
/* currently mandatory to implement stubs */
 
33
 
 
34
/* return exit status of test command */
 
35
int     exec_mailcap_test_cmd(char *);
 
36
 
 
37
 
 
38
 
 
39
#endif /* PITH_MAILCAP_INCLUDED */