*/
enum SYNCOpCode {
SYNC_COM_CHANNEL_CLOSE = 0, /**< request sync channel shutdown */
+ SYNC_OP_CODE_END
};
SYNC_COM_ERROR = 2, /**< sync protocol communicaions error */
SYNC_BAD_COMMAND = 3, /**< sync command code not implemented by server */
SYNC_FAILED = 4, /**< sync server-side procedure failed */
+ SYNC_REASON_CODE_END
};
/* SYNC protocol reason codes
FSYNC_VOL_FORCE_ERROR = SYNC_COM_CODE_DECL(16), /**< force volume into error state */
FSYNC_VOL_LEAVE_OFF = SYNC_COM_CODE_DECL(17), /**< end vol op, but leave volume offline */
FSYNC_VOL_QUERY_VNODE = SYNC_COM_CODE_DECL(18), /**< query vnode state */
+ FSYNC_OP_CODE_END
};
/**
FSYNC_NO_PENDING_VOL_OP = SYNC_REASON_CODE_DECL(7), /**< no volume operation pending */
FSYNC_VOL_PKG_ERROR = SYNC_REASON_CODE_DECL(8), /**< error in the volume package */
FSYNC_UNKNOWN_VNID = SYNC_REASON_CODE_DECL(9), /**< vnode id not known by fileserver */
+ FSYNC_REASON_CODE_END
};
/* FSYNC response codes */
VN_ON_HASH = 0x1, /**< vnode is on hash table */
VN_ON_LRU = 0x2, /**< vnode is on lru list */
VN_ON_VVN = 0x4, /**< vnode is on volume vnode list */
+ VN_FLAGS_END
};
#ifdef AFS_HPUX_ENV
#define static_inline static __inline
#elif defined(AFS_AIX_ENV)
-#define static_inline inline
+#define static_inline static
#else
#define static_inline static inline
#endif
#ifdef AFS_HPUX_ENV
#define static_inline static __inline
#elif defined(AFS_AIX_ENV)
-#define static_inline inline
+#define static_inline static
#else
#define static_inline static inline
#endif