lcrzo_types(3)

NAME
lcrzo_types - lcrzo library : type definitions

CONTENTS
/*    Laurent Constantin's network library (lcrzo)
                 lcrzo_type module
  Definitions of standard types.
*/
/*-------------------------------------------------------------*/
/* integer of 8 bits*/
typedef char 		lcrzo_int8;
typedef unsigned char 	lcrzo_uint8;
/*-------------------------------------------------------------*/
/* integer of 16 bits*/
typedef short 		lcrzo_int16;
typedef unsigned short 	lcrzo_uint16;
/*-------------------------------------------------------------*/
/* integer of 32 bits*/
#if defined LCRZODEF_SYSTEMARCH_ia64 || defined LCRZODEF_SYSTEMARCH_alpha
 typedef int 		lcrzo_int32;
 typedef unsigned int 	lcrzo_uint32;
 #define LCRZODEF_INT32_ARELONGS 0
#else
 typedef long 		lcrzo_int32;
 typedef unsigned long 	lcrzo_uint32;
 #define LCRZODEF_INT32_ARELONGS 1
#endif
/*-------------------------------------------------------------*/
/* maximum size integer on the computer*/
typedef long            lcrzo_intmax;
typedef unsigned long   lcrzo_uintmax;
/*-------------------------------------------------------------*/
/* boolean type : 0 or 1*/
#define LCRZO_FALSE 0
#define LCRZO_TRUE  1
typedef unsigned char lcrzo_bool;
/*-------------------------------------------------------------*/
/* the FILE type is necessary to write to a file. It's defined
   in stdio.h, but I do not want to include ".h" files in lcrzo.
   So, we define LCRZOFILE which has the same utility as FILE*/
#define LCRZOFILE void

SEE ALSO
lcrzo(3), lcrzo_types(3), lcrzo_data(3), lcrzo_string(3), lcrzo_time(3), lcrzo_file(3), lcrzo_address(3), lcrzo_device(3), lcrzo_list(3), lcrzo_process(3), lcrzo_ipc(3), lcrzo_header(3), lcrzo_ipopt(3), lcrzo_tcpopt(3), lcrzo_packet(3), lcrzo_icmp(3), lcrzo_print(3), lcrzo_record(3), lcrzo_conf(3), lcrzo_spoof(3), lcrzo_sniff(3), lcrzo_sock(3), lcrzo_wait(3), lcrzo_global(3), lcrzo_error(3) lcrzo_misc(3), lcrzo_obso(3),