summaryrefslogtreecommitdiffstats
path: root/src/include/cm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/cm.h')
-rw-r--r--src/include/cm.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/include/cm.h b/src/include/cm.h
index a317c835a..240735a3b 100644
--- a/src/include/cm.h
+++ b/src/include/cm.h
@@ -1,3 +1,4 @@
+/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* include/cm.h
*
@@ -29,14 +30,14 @@
struct select_state {
int max, nfds;
fd_set rfds, wfds, xfds;
- struct timeval end_time; /* magic: tv_sec==0 => never time out */
+ struct timeval end_time; /* magic: tv_sec==0 => never time out */
};
/* Select state flags. */
-#define SSF_READ 0x01
-#define SSF_WRITE 0x02
-#define SSF_EXCEPTION 0x04
+#define SSF_READ 0x01
+#define SSF_WRITE 0x02
+#define SSF_EXCEPTION 0x04
static const char *const state_strings[] = {
@@ -62,13 +63,13 @@ struct conn_state {
int (*service)(struct conn_state *, struct select_state *, int);
struct addrinfo *addr;
struct {
- struct {
- sg_buf sgbuf[2];
- sg_buf *sgp;
- int sg_count;
- unsigned char msg_len_buf[4];
- } out;
- struct incoming_krb5_message in;
+ struct {
+ sg_buf sgbuf[2];
+ sg_buf *sgp;
+ int sg_count;
+ unsigned char msg_len_buf[4];
+ } out;
+ struct incoming_krb5_message in;
} x;
};
@@ -80,4 +81,4 @@ struct sendto_callback_info {
krb5_error_code krb5int_cm_call_select (const struct select_state *,
- struct select_state *, int *);
+ struct select_state *, int *);