nexmon – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /* source: filan.h */ |
2 | /* Copyright Gerhard Rieger 2001-2008 */ |
||
3 | |||
4 | /* Published under the GNU General Public License V.2, see file COPYING */ |
||
5 | |||
6 | #ifndef __filan_h_included |
||
7 | #define __filan_h_included 1 |
||
8 | |||
9 | struct sockaddr; /* prevent gcc from spitting silly warning */ |
||
10 | struct sockaddr_un; /* prevent gcc from spitting silly warning */ |
||
11 | struct sockaddr_in; /* prevent gcc from spitting silly warning */ |
||
12 | struct sockaddr_in6; /* prevent gcc from spitting silly warning */ |
||
13 | |||
14 | extern bool filan_followsymlinks; |
||
15 | extern bool filan_rawoutput; |
||
16 | |||
17 | extern int filan_file(const char *filename, FILE *outfile); |
||
18 | extern int filan_fd(int fd, FILE *outfile); |
||
19 | extern int filan_stat( |
||
20 | #if HAVE_STAT64 |
||
21 | struct stat64 *buf |
||
22 | #else |
||
23 | struct stat *buf |
||
24 | #endif /* !HAVE_STAT64 */ |
||
25 | , int statfd, int dynfd, FILE *outfile); |
||
26 | |||
27 | extern int cdevan(int fd, FILE *outfile); |
||
28 | |||
29 | #if _WITH_SOCKET |
||
30 | extern int isasocket(int fd); |
||
31 | extern int sockan(int fd, FILE *outfile); |
||
32 | extern int ipan(int fd, FILE *outfile); |
||
33 | extern int ip6an(int fd, FILE *outfile); |
||
34 | #endif /* _WITH_SOCKET */ |
||
35 | |||
36 | extern |
||
37 | int fdname(const char *file, int fd, FILE *outfile, const char *numform); |
||
38 | |||
39 | #endif /* !defined(__filan_h_included) */ |