Module: wine Branch: master Commit: df699a89faaa30ccd6d8ec90b2b0ec4f3e4762eb URL: http://source.winehq.org/git/wine.git/?a=commit;h=df699a89faaa30ccd6d8ec90b2... Author: Frédéric Delanoy <frederic.delanoy(a)gmail.com> Date: Mon Sep 5 17:57:54 2011 +0200 cmd: Associate comments with their respective descripted structures in header file. --- programs/cmd/wcmd.h | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/programs/cmd/wcmd.h b/programs/cmd/wcmd.h index 27d9d9a..462ecd9 100644 --- a/programs/cmd/wcmd.h +++ b/programs/cmd/wcmd.h @@ -30,7 +30,7 @@ #include <ctype.h> #include <wine/unicode.h> -/* Data structure to hold commands to be processed */ +/* Data structure to hold commands delimitors/separators */ typedef enum _CMDdelimiters { CMD_NONE, /* End of line or single & */ @@ -39,6 +39,8 @@ typedef enum _CMDdelimiters { CMD_PIPE /* Single | */ } CMD_DELIMITERS; +/* Data structure to hold commands to be processed */ + typedef struct _CMD_LIST { WCHAR *command; /* Command string to execute */ WCHAR *redirects; /* Redirects in place */ @@ -117,7 +119,7 @@ void WCMD_execute (const WCHAR *orig_command, const WCHAR *redirects, const WCHAR *parameter, const WCHAR *substitution, CMD_LIST **cmdList); -/* Data structure to hold context when executing batch files */ +/* Data structure to hold context when executing batch files */ typedef struct { WCHAR *command; /* The command which invoked the batch file */ @@ -129,7 +131,7 @@ typedef struct { CMD_LIST *toExecute; /* Commands left to be executed */ } BATCH_CONTEXT; -/* Data structure to save setlocal and pushd information */ +/* Data structure to handle building lists during recursive calls */ struct env_stack { @@ -141,7 +143,7 @@ struct env_stack WCHAR *strings; }; -/* Data structure to handle building lists during recursive calls */ +/* Data structure to save setlocal and pushd information */ typedef struct _DIRECTORY_STACK {