aboutsummaryrefslogtreecommitdiff
path: root/src/include/iprop_hdr.h
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2009-11-14 18:56:43 +0000
committerGreg Hudson <ghudson@mit.edu>2009-11-14 18:56:43 +0000
commitbe4e9d973c2717872663010c9c02f8bc75cb18a5 (patch)
tree7e9080437aebd7807d08a27ac454a3144ef5ec1d /src/include/iprop_hdr.h
parent8852050c9361822bd182634ee2ce833d4d9f14e8 (diff)
downloadkrb5-be4e9d973c2717872663010c9c02f8bc75cb18a5.zip
krb5-be4e9d973c2717872663010c9c02f8bc75cb18a5.tar.gz
krb5-be4e9d973c2717872663010c9c02f8bc75cb18a5.tar.bz2
Reindent include directory, reformatting prototypes as necessary.
Exclude include/gssrpc due to its Sun origin and k5-platform.h due to macros too hairy for emacs c-mode to handle. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23180 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/iprop_hdr.h')
-rw-r--r--src/include/iprop_hdr.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/include/iprop_hdr.h b/src/include/iprop_hdr.h
index cd6d3b4..9027c76 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