Print this page
4174 Torch the old and unmaintained Sun-dhcp
Reviewed by: Josef Sipek <jeffpc@josefsipek.net>
Reviewed by: Garrett D'Amore <garrett@damore.org>

*** 17,60 **** * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _DHCP_SYMBOL_H #define _DHCP_SYMBOL_H - #pragma ident "%Z%%M% %I% %E% SMI" - /* * This file, along with <dhcp_symbol_common.h>, contains the DHCP symbol * constants and the definitions for the external interfaces to the parsing * logic (contained in dhcp_symbol.c) for symbol definitions. These * definitions can and should be used by all consumers of DHCP symbols. */ #include <sys/types.h> - #include <dhcp_svc_private.h> #include <dhcp_symbol_common.h> #ifdef __cplusplus extern "C" { #endif /* * Vendor class length (and implicitly, the number of classes) */ ! #define DSYM_CLASS_SIZE DSVC_MAX_MACSYM_LEN /* Single class max */ #define DSYM_MAX_CLASS_SIZE (DSYM_CLASS_SIZE * 10) /* At least 10 */ /* ! * Maximum symbol length is defined by the libdhcpsvc. */ ! #define DSYM_MAX_SYM_LEN DSVC_MAX_MACSYM_LEN /* * symbol parsing error codes */ typedef enum { --- 17,59 ---- * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + * * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _DHCP_SYMBOL_H #define _DHCP_SYMBOL_H /* * This file, along with <dhcp_symbol_common.h>, contains the DHCP symbol * constants and the definitions for the external interfaces to the parsing * logic (contained in dhcp_symbol.c) for symbol definitions. These * definitions can and should be used by all consumers of DHCP symbols. */ #include <sys/types.h> #include <dhcp_symbol_common.h> #ifdef __cplusplus extern "C" { #endif /* * Vendor class length (and implicitly, the number of classes) */ ! #define DSYM_CLASS_SIZE 128 /* Single class max */ #define DSYM_MAX_CLASS_SIZE (DSYM_CLASS_SIZE * 10) /* At least 10 */ /* ! * Maximum symbol length */ ! #define DSYM_MAX_SYM_LEN 128 /* * symbol parsing error codes */ typedef enum {