diff options
Diffstat (limited to 'src/include/iprop_hdr.h')
-rw-r--r-- | src/include/iprop_hdr.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/include/iprop_hdr.h b/src/include/iprop_hdr.h index cd6d3b440b..9027c76cf9 100644 --- a/src/include/iprop_hdr.h +++ b/src/include/iprop_hdr.h @@ -1,15 +1,16 @@ +/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ -#ifndef _IPROP_HDR_H -#define _IPROP_HDR_H +#ifndef _IPROP_HDR_H +#define _IPROP_HDR_H -/* #pragma ident "@(#)iprop_hdr.h 1.1 04/02/20 SMI" */ +/* #pragma ident "@(#)iprop_hdr.h 1.1 04/02/20 SMI" */ -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif @@ -22,16 +23,16 @@ extern "C" { * Maximum size for each ulog entry is 2KB and maximum * possible attribute-value pairs for each ulog entry is 20 */ -#define MAXENTRY_SIZE 2048 -#define MAXATTRS_SIZE 20 +#define MAXENTRY_SIZE 2048 +#define MAXATTRS_SIZE 20 -#define KIPROP_SVC_NAME "kiprop" -#define MAX_BACKOFF 300 /* Backoff for a maximum for 5 mts */ +#define KIPROP_SVC_NAME "kiprop" +#define MAX_BACKOFF 300 /* Backoff for a maximum for 5 mts */ enum iprop_role { - IPROP_NULL = 0, - IPROP_MASTER = 1, - IPROP_SLAVE = 2 + IPROP_NULL = 0, + IPROP_MASTER = 1, + IPROP_SLAVE = 2 }; typedef enum iprop_role iprop_role; @@ -42,7 +43,7 @@ typedef enum iprop_role iprop_role; #define IPROPX_VERSION_1 1 #define IPROPX_VERSION IPROPX_VERSION_1 -#ifdef __cplusplus +#ifdef __cplusplus } #endif |