attr.h (xinetd-2.3.15) | : | attr.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 ATTR_H | #ifndef ATTR_H | |||
#define ATTR_H | #define ATTR_H | |||
/* | /* | |||
* $Id: attr.h,v 1.3 2005-10-05 17:15:33 bbraun Exp $ | * $Id$ | |||
*/ | */ | |||
/* | /* | |||
* Attribute IDs | * Attribute IDs | |||
*/ | */ | |||
#define A_NONE 0 | #define A_NONE 0 | |||
#define A_WAIT 1 | #define A_WAIT 1 | |||
#define A_SOCKET_TYPE 2 | #define A_SOCKET_TYPE 2 | |||
#define A_PROTOCOL 3 | #define A_PROTOCOL 3 | |||
#define A_USER 4 | #define A_USER 4 | |||
skipping to change at line 64 | skipping to change at line 64 | |||
#define A_RLIMIT_DATA 36 | #define A_RLIMIT_DATA 36 | |||
#define A_RLIMIT_RSS 37 | #define A_RLIMIT_RSS 37 | |||
#define A_RLIMIT_STACK 38 | #define A_RLIMIT_STACK 38 | |||
#define A_V6ONLY 39 | #define A_V6ONLY 39 | |||
#define A_DENY_TIME 40 | #define A_DENY_TIME 40 | |||
#define A_UMASK 41 | #define A_UMASK 41 | |||
#define A_ENABLED 42 | #define A_ENABLED 42 | |||
#define A_DISABLED 43 | #define A_DISABLED 43 | |||
#define A_MDNS 44 | #define A_MDNS 44 | |||
#define A_LIBWRAP 45 | #define A_LIBWRAP 45 | |||
#define A_RLIMIT_FILES 46 | ||||
/* | /* | |||
* SERVICE_ATTRIBUTES is the number of service attributes and also | * SERVICE_ATTRIBUTES is the number of service attributes and also | |||
* the number from which defaults-only attributes start. | * the number from which defaults-only attributes start. | |||
*/ | */ | |||
#define SERVICE_ATTRIBUTES ( A_MDNS + 1 ) | #define SERVICE_ATTRIBUTES ( A_MDNS + 2 ) | |||
/* | /* | |||
* Mask of attributes that must be specified. | * Mask of attributes that must be specified. | |||
*/ | */ | |||
#define NECESSARY_ATTRS ( XMASK( A_SOCKET_TYPE ) + XMASK( A_WAIT ) ) | #define NECESSARY_ATTRS ( XMASK( A_SOCKET_TYPE ) + XMASK( A_WAIT ) ) | |||
#define NECESSARY_ATTRS_EXTERNAL ( XMASK( A_SERVER ) + XMASK( A_USER ) ) | #define NECESSARY_ATTRS_EXTERNAL ( XMASK( A_SERVER ) + XMASK( A_USER ) ) | |||
#define NECESSARY_ATTRS_UNLISTED ( XMASK( A_PROTOCOL ) + XMASK( A_PORT ) ) | #define NECESSARY_ATTRS_UNLISTED ( XMASK( A_PROTOCOL ) + XMASK( A_PORT ) ) | |||
#define NECESSARY_ATTRS_UNLISTED_MUX ( XMASK( A_PROTOCOL ) ) | #define NECESSARY_ATTRS_UNLISTED_MUX ( XMASK( A_PROTOCOL ) ) | |||
#define NECESSARY_ATTRS_RPC ( XMASK( A_PROTOCOL ) + \ | #define NECESSARY_ATTRS_RPC ( XMASK( A_PROTOCOL ) + \ | |||
XMASK( A_RPC_VERSION ) ) | XMASK( A_RPC_VERSION ) ) | |||
End of changes. 3 change blocks. | ||||
2 lines changed or deleted | 3 lines changed or added |