~ubuntu-branches/ubuntu/vivid/postfix/vivid-proposed

« back to all changes in this revision

Viewing changes to src/util/warn_stat.h

  • Committer: Package Import Robot
  • Author(s): LaMont Jones
  • Date: 2012-03-20 13:47:16 UTC
  • mfrom: (1.1.33)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: package-import@ubuntu.com-20120320134716-v7ab94fmor2z9pvp
Tags: upstream-2.9.1
ImportĀ upstreamĀ versionĀ 2.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _WARN_STAT_H_
 
2
#define _WARN_STAT_H_
 
3
 
 
4
/*++
 
5
/* NAME
 
6
/*      warn_stat 3h
 
7
/* SUMMARY
 
8
/*      baby-sit stat() error returns
 
9
/* SYNOPSIS
 
10
/*      #include <warn_stat.h>
 
11
/* DESCRIPTION
 
12
/* .nf
 
13
 
 
14
 /*
 
15
  * External interface.
 
16
  */
 
17
#ifndef WARN_STAT_INTERNAL
 
18
#define stat(p, s) warn_stat((p), (s))
 
19
#define lstat(p, s) warn_lstat((p), (s))
 
20
#define fstat(f, s) warn_fstat((f), (s))
 
21
#endif
 
22
 
 
23
extern int warn_stat(const char *path, struct stat *);
 
24
extern int warn_lstat(const char *path, struct stat *);
 
25
extern int warn_fstat(int, struct stat *);
 
26
 
 
27
/* LICENSE
 
28
/* .ad
 
29
/* .fi
 
30
/*      The Secure Mailer license must be distributed with this software.
 
31
/* AUTHOR(S)
 
32
/*      Wietse Venema
 
33
/*      IBM T.J. Watson Research
 
34
/*      P.O. Box 704
 
35
/*      Yorktown Heights, NY 10598, USA
 
36
/*--*/
 
37
 
 
38
#endif