cmd: Associate comments with their respective descripted structures in header file.
This commit is contained in:
parent
312f50a26f
commit
df699a89fa
|
@ -30,7 +30,7 @@
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <wine/unicode.h>
|
#include <wine/unicode.h>
|
||||||
|
|
||||||
/* Data structure to hold commands to be processed */
|
/* Data structure to hold commands delimitors/separators */
|
||||||
|
|
||||||
typedef enum _CMDdelimiters {
|
typedef enum _CMDdelimiters {
|
||||||
CMD_NONE, /* End of line or single & */
|
CMD_NONE, /* End of line or single & */
|
||||||
|
@ -39,6 +39,8 @@ typedef enum _CMDdelimiters {
|
||||||
CMD_PIPE /* Single | */
|
CMD_PIPE /* Single | */
|
||||||
} CMD_DELIMITERS;
|
} CMD_DELIMITERS;
|
||||||
|
|
||||||
|
/* Data structure to hold commands to be processed */
|
||||||
|
|
||||||
typedef struct _CMD_LIST {
|
typedef struct _CMD_LIST {
|
||||||
WCHAR *command; /* Command string to execute */
|
WCHAR *command; /* Command string to execute */
|
||||||
WCHAR *redirects; /* Redirects in place */
|
WCHAR *redirects; /* Redirects in place */
|
||||||
|
@ -129,7 +131,7 @@ typedef struct {
|
||||||
CMD_LIST *toExecute; /* Commands left to be executed */
|
CMD_LIST *toExecute; /* Commands left to be executed */
|
||||||
} BATCH_CONTEXT;
|
} BATCH_CONTEXT;
|
||||||
|
|
||||||
/* Data structure to save setlocal and pushd information */
|
/* Data structure to handle building lists during recursive calls */
|
||||||
|
|
||||||
struct env_stack
|
struct env_stack
|
||||||
{
|
{
|
||||||
|
@ -141,7 +143,7 @@ struct env_stack
|
||||||
WCHAR *strings;
|
WCHAR *strings;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Data structure to handle building lists during recursive calls */
|
/* Data structure to save setlocal and pushd information */
|
||||||
|
|
||||||
typedef struct _DIRECTORY_STACK
|
typedef struct _DIRECTORY_STACK
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue