+/*
+ * Copyright 2000, International Business Machines Corporation and others.
+ * All Rights Reserved.
+ *
+ * This software has been released under the terms of the IBM Public
+ * License. For details, see the LICENSE file in the top-level source
+ * directory or online at http://www.openafs.org/dl/license10.html
+ */
+
/* seltest.h - Common RPC codes from client and server. */
#ifndef _SELTEST_H_
typedef struct {
#define SC_PROBE 0
#define SC_WRITE 1
-#define SC_END 2 /* server terminates with this. */
+#define SC_END 2 /* server terminates with this. */
int sc_cmd;
int sc_delay;
#define SC_WAIT_ONLY 0
#define SC_WAIT_OOB 1
int sc_flags;
- int sc_info; /* stores size of write for SC_WRITE */
+ int sc_info; /* stores size of write for SC_WRITE */
} selcmd_t;
#define MIN_D_VALUE 0
void OpenFDs(int);
void assertNullFDSet(int fd, fd_set *);
void Die(int flag, char *);
-void Log(char *fmt, ...);
+
+void Log(char *fmt, ...)
+ AFS_ATTRIBUTE_FORMAT(__printf__, 1, 2);
+
void sendOOB(int);
void recvOOB(int);
#ifdef NEEDS_ALLOCFDSET
/* Include these if testing against 32 bit fd_set IOMGR. */
fd_set *IOMGR_AllocFDSet(void);
-void IOMGR_FreeFDSet(fd_set *fds);
+void IOMGR_FreeFDSet(fd_set * fds);
#endif
#endif /* _SELTEST_H_ */