Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
6f866d2d
Commit
6f866d2d
authored
Jul 08, 2004
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WbLoad: arg to ignore oix in loadfile added. WbDump: arg to keep name of extern objecs added.
parent
a28665df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
wb/lib/wb/src/wb_wnav_command.cpp
wb/lib/wb/src/wb_wnav_command.cpp
+10
-5
No files found.
wb/lib/wb/src/wb_wnav_command.cpp
View file @
6f866d2d
...
@@ -276,7 +276,8 @@ dcli_tCmdTable wnav_command_table[] = {
...
@@ -276,7 +276,8 @@ dcli_tCmdTable wnav_command_table[] = {
{
{
"WB"
,
"WB"
,
&
wnav_wb_func
,
&
wnav_wb_func
,
{
"dcli_arg1"
,
"/OUTPUT"
,
"/HIERARCHY"
,
"/LOADFILE"
,
{
"dcli_arg1"
,
"/OUTPUT"
,
"/HIERARCHY"
,
"/LOADFILE"
,
"/NOINDEX"
,
"/KEEPNAME"
,
""
}
""
}
},
},
{
{
...
@@ -437,12 +438,11 @@ static int wnav_help_func( void *client_data,
...
@@ -437,12 +438,11 @@ static int wnav_help_func( void *client_data,
}
}
if
(
ODD
(
dcli_get_qualifier
(
"/VERSION"
,
0
)))
{
if
(
ODD
(
dcli_get_qualifier
(
"/VERSION"
,
0
)))
{
sts
=
CoXHelp
::
dhelp
(
"version"
,
""
,
navh_eHelpFile_Other
,
"$pwr_exe/
x
tt_version_help.dat"
,
strict
);
sts
=
CoXHelp
::
dhelp
(
"version"
,
""
,
navh_eHelpFile_Other
,
"$pwr_exe/
w
tt_version_help.dat"
,
strict
);
if
(
EVEN
(
sts
))
if
(
EVEN
(
sts
))
wnav
->
message
(
'E'
,
"No help on this subject"
);
wnav
->
message
(
'E'
,
"No help on this subject"
);
return
sts
;
return
sts
;
}
}
if
(
EVEN
(
dcli_get_qualifier
(
"dcli_arg1"
,
arg_str
)))
if
(
EVEN
(
dcli_get_qualifier
(
"dcli_arg1"
,
arg_str
)))
{
{
sts
=
CoXHelp
::
dhelp
(
"help command"
,
""
,
navh_eHelpFile_Base
,
NULL
,
strict
);
sts
=
CoXHelp
::
dhelp
(
"help command"
,
""
,
navh_eHelpFile_Base
,
NULL
,
strict
);
...
@@ -3707,6 +3707,7 @@ static int wnav_wb_func( void *client_data,
...
@@ -3707,6 +3707,7 @@ static int wnav_wb_func( void *client_data,
char
outputstr
[
200
];
char
outputstr
[
200
];
char
*
hierarchystr_p
;
char
*
hierarchystr_p
;
pwr_tStatus
sts
;
pwr_tStatus
sts
;
int
keepname
;
if
(
EVEN
(
dcli_get_qualifier
(
"/OUTPUT"
,
outputstr
)))
if
(
EVEN
(
dcli_get_qualifier
(
"/OUTPUT"
,
outputstr
)))
{
{
...
@@ -3719,9 +3720,11 @@ static int wnav_wb_func( void *client_data,
...
@@ -3719,9 +3720,11 @@ static int wnav_wb_func( void *client_data,
else
else
hierarchystr_p
=
0
;
hierarchystr_p
=
0
;
keepname
=
ODD
(
dcli_get_qualifier
(
"/KEEPNAME"
,
0
));
sts
=
wnav_wccm_get_ldhsession_cb
(
wnav
,
&
wnav
->
ldhses
);
sts
=
wnav_wccm_get_ldhsession_cb
(
wnav
,
&
wnav
->
ldhses
);
sts
=
ldh_WbDump
(
wnav
->
ldhses
,
hierarchystr_p
,
outputstr
);
sts
=
ldh_WbDump
(
wnav
->
ldhses
,
hierarchystr_p
,
outputstr
,
keepname
);
if
(
EVEN
(
sts
))
if
(
EVEN
(
sts
))
wnav
->
message
(
' '
,
wnav_get_message
(
sts
));
wnav
->
message
(
' '
,
wnav_get_message
(
sts
));
return
sts
;
return
sts
;
...
@@ -3730,16 +3733,18 @@ static int wnav_wb_func( void *client_data,
...
@@ -3730,16 +3733,18 @@ static int wnav_wb_func( void *client_data,
{
{
pwr_tStatus
sts
;
pwr_tStatus
sts
;
char
loadfilestr
[
80
];
char
loadfilestr
[
80
];
int
noindex
;
if
(
EVEN
(
dcli_get_qualifier
(
"/LOADFILE"
,
loadfilestr
)))
if
(
EVEN
(
dcli_get_qualifier
(
"/LOADFILE"
,
loadfilestr
)))
{
{
wnav
->
message
(
'E'
,
"Qualifer required"
);
wnav
->
message
(
'E'
,
"Qualifer required"
);
return
WNAV__QUAL
;
return
WNAV__QUAL
;
}
}
noindex
=
ODD
(
dcli_get_qualifier
(
"/NOINDEX"
,
0
));
sts
=
wnav_wccm_get_ldhsession_cb
(
wnav
,
&
wnav
->
ldhses
);
sts
=
wnav_wccm_get_ldhsession_cb
(
wnav
,
&
wnav
->
ldhses
);
sts
=
ldh_WbLoad
(
wnav
->
ldhses
,
loadfilestr
);
sts
=
ldh_WbLoad
(
wnav
->
ldhses
,
loadfilestr
,
noindex
);
if
(
EVEN
(
sts
))
if
(
EVEN
(
sts
))
wnav
->
message
(
' '
,
wnav_get_message
(
sts
));
wnav
->
message
(
' '
,
wnav_get_message
(
sts
));
return
sts
;
return
sts
;
...
...
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