defs.h (xinetd-2.3.15) | : | defs.h (xinetd-2.3.15.4.tar.xz) | ||
---|---|---|---|---|
skipping to change at line 12 | skipping to change at line 12 | |||
* (c) Copyright 1992 by Panagiotis Tsirigotis | * (c) Copyright 1992 by Panagiotis Tsirigotis | |||
* (c) Sections Copyright 1998-2001 by Rob Braun | * (c) Sections Copyright 1998-2001 by Rob Braun | |||
* All rights reserved. The file named COPYRIGHT specifies the terms | * All rights reserved. The file named COPYRIGHT specifies the terms | |||
* and conditions for redistribution. | * and conditions for redistribution. | |||
*/ | */ | |||
#ifndef DEFS_H | #ifndef DEFS_H | |||
#define DEFS_H | #define DEFS_H | |||
/* | /* | |||
* $Id: defs.h,v 1.4 2007-09-20 17:01:52 bbraun Exp $ | * $Id$ | |||
*/ | */ | |||
#include "config.h" | #include "config.h" | |||
#include <memory.h> | #include <memory.h> | |||
#include <string.h> | #include <string.h> | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <sys/socket.h> | #include <sys/socket.h> | |||
#include <netinet/in.h> | #include <netinet/in.h> | |||
union xsockaddr { | union xsockaddr { | |||
skipping to change at line 116 | skipping to change at line 116 | |||
* need to increase DESCRIPTORS_RESERVED. | * need to increase DESCRIPTORS_RESERVED. | |||
*/ | */ | |||
#define DESCRIPTORS_RESERVED 8 | #define DESCRIPTORS_RESERVED 8 | |||
/* | /* | |||
* Used for listen(2) | * Used for listen(2) | |||
*/ | */ | |||
#define LISTEN_BACKLOG 64 | #define LISTEN_BACKLOG 64 | |||
/* | /* | |||
* constants for limiting ps.rws.fd_list | ||||
*/ | ||||
#define MAX_FDS 4096 | ||||
/* | ||||
* When explicit values are given for enum's, that is because the structures | * When explicit values are given for enum's, that is because the structures | |||
* that the enum's are in may be initialized by a memory clear operation. | * that the enum's are in may be initialized by a memory clear operation. | |||
*/ | */ | |||
typedef enum { FAILED = 0, OK } status_e ; | typedef enum { FAILED = 0, OK } status_e ; | |||
typedef enum { NO = 0, YES } boolean_e ; | typedef enum { NO = 0, YES } boolean_e ; | |||
/* | /* | |||
* Possible outcomes of an identification attempt | * Possible outcomes of an identification attempt | |||
*/ | */ | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 7 lines changed or added |