Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
df699a89
Commit
df699a89
authored
Sep 05, 2011
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Sep 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: Associate comments with their respective descripted structures in header file.
parent
312f50a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
wcmd.h
programs/cmd/wcmd.h
+6
-4
No files found.
programs/cmd/wcmd.h
View file @
df699a89
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment