From c635fb3ffe36e2f5cd7744cc2245f226661e59e8 Mon Sep 17 00:00:00 2001 From: Olaf Barthel Date: Wed, 15 Nov 2006 09:21:49 +0000 Subject: [PATCH] - Added a comment to clarify which version number is being used for the '_fd' data structure definition. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15167 87f5fb63-7c3d-0410-a384-fd976d0f7a62 --- library/include/sys/clib2_io.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/library/include/sys/clib2_io.h b/library/include/sys/clib2_io.h index 53dcb63..c750b25 100644 --- a/library/include/sys/clib2_io.h +++ b/library/include/sys/clib2_io.h @@ -1,5 +1,5 @@ /* - * $Id: clib2_io.h,v 1.2 2006-11-15 09:17:04 obarthel Exp $ + * $Id: clib2_io.h,v 1.3 2006-11-15 09:21:49 obarthel Exp $ * * :ts=4 * @@ -103,7 +103,8 @@ typedef int (*_file_action_fd_t)(struct _fd * _fd,struct file_action_message * f struct _fd { int fd_Version; /* Version number of this definition - of the '_fd' data structure. */ + of the '_fd' data structure (see + below). */ _file_action_fd_t fd_Action; /* Function to invoke to perform actions */ void * fd_UserData; /* To be used by custom file action functions */ @@ -118,6 +119,11 @@ struct _fd /****************************************************************************/ +/* The version of the '_fd' data structure, covering the fields 'fd_Version' + through 'fdu_Default' bears version number 1. */ + +/****************************************************************************/ + /* Sneaky preprocessor tricks to make access to the file/socket IDs work smoothly. */ #define fd_DefaultFile fdu_Default.fdu_File