mirror of
https://repo.or.cz/socat.git
synced 2025-07-12 14:43:24 +00:00
socat V1.6.0.0 (initial GIT commit)
This commit is contained in:
commit
b819572f5e
170 changed files with 59193 additions and 0 deletions
38
filan.h
Normal file
38
filan.h
Normal file
|
@ -0,0 +1,38 @@
|
|||
/* $Id: filan.h,v 1.8 2007/03/06 21:19:18 gerhard Exp $ */
|
||||
/* Copyright Gerhard Rieger 2001-2007 */
|
||||
|
||||
/* Published under the GNU General Public License V.2, see file COPYING */
|
||||
|
||||
#ifndef __filan_h_included
|
||||
#define __filan_h_included 1
|
||||
|
||||
struct sockaddr; /* prevent gcc from spitting silly warning */
|
||||
struct sockaddr_un; /* prevent gcc from spitting silly warning */
|
||||
struct sockaddr_in; /* prevent gcc from spitting silly warning */
|
||||
struct sockaddr_in6; /* prevent gcc from spitting silly warning */
|
||||
|
||||
extern bool filan_followsymlinks;
|
||||
extern bool filan_rawoutput;
|
||||
|
||||
extern int filan_file(const char *filename, FILE *outfile);
|
||||
extern int filan_fd(int fd, FILE *outfile);
|
||||
extern int filan_stat(
|
||||
#if HAVE_STAT64
|
||||
struct stat64 *buf
|
||||
#else
|
||||
struct stat *buf
|
||||
#endif /* !HAVE_STAT64 */
|
||||
, int statfd, int dynfd, FILE *outfile);
|
||||
|
||||
extern int cdevan(int fd, FILE *outfile);
|
||||
|
||||
#if WITH_SOCKET
|
||||
extern int isasocket(int fd);
|
||||
extern int sockan(int fd, FILE *outfile);
|
||||
extern int ipan(int fd, FILE *outfile);
|
||||
extern int ip6an(int fd, FILE *outfile);
|
||||
#endif /* WITH_SOCKET */
|
||||
|
||||
extern int fdname(const char *file, int fd, FILE *outfile);
|
||||
|
||||
#endif /* !defined(__filan_h_included) */
|
Loading…
Add table
Add a link
Reference in a new issue