mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- 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
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user