1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-10 06:06:33 +00:00

socat V1.6.0.0 (initial GIT commit)

This commit is contained in:
Gerhard Rieger 2008-01-27 13:00:08 +01:00
commit b819572f5e
170 changed files with 59193 additions and 0 deletions

30
dalan.h Normal file
View file

@ -0,0 +1,30 @@
/* $Id: dalan.h,v 1.3 2001/06/30 14:02:39 gerhard Exp $ */
/* Copyright Gerhard Rieger 2001 */
/* Published under the GNU General Public License V.2, see file COPYING */
#ifndef __dalan_h_included
#define __dalan_h_included 1
#include "mytypes.h"
/* machine properties and command line options */
struct dalan_opts_s {
int c_int; /* natural int size / C int size */
int c_short; /* C short size */
int c_long; /* C long size */
int c_char; /* C char size */
int c_float; /* C float size */
int c_double; /* C double size */
int maxalign; /* maximal alignment (double after char) */
int minalign; /* minimal alignment (char after char) */
int byteorder; /* 0: Motorola, network, big endian; 1: Intel, little
endian */
} ;
extern struct dalan_opts_s dalan_opts;
extern void dalan_init(void);
extern struct dalan_opts_s *dalan_props(void);
extern int dalan(const char *line, char *data, size_t *p, size_t n);
#endif /* !defined(__dalan_h_included) */