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
c10e4f62
Commit
c10e4f62
authored
May 07, 2004
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New compmethod for GetIp. Status and NetStatus allowed in Get-StoIp
parent
e92caaf5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
14 deletions
+41
-14
wb/lib/wb/src/wb_gcg.c
wb/lib/wb/src/wb_gcg.c
+41
-14
No files found.
wb/lib/wb/src/wb_gcg.c
View file @
c10e4f62
...
@@ -6553,6 +6553,22 @@ vldh_t_node node;
...
@@ -6553,6 +6553,22 @@ vldh_t_node node;
return
GSX__NEXTNODE
;
return
GSX__NEXTNODE
;
}
}
break
;
break
;
case
pwr_eType_Int32
:
case
pwr_eType_UInt32
:
case
pwr_eType_Int16
:
case
pwr_eType_UInt16
:
case
pwr_eType_Int8
:
case
pwr_eType_UInt8
:
case
pwr_eType_Enum
:
case
pwr_eType_Mask
:
case
pwr_eType_Status
:
case
pwr_eType_NetStatus
:
if
(
node
->
ln
.
classid
!=
pwr_cClass_GetIp
)
{
gcg_error_msg
(
gcgctx
,
GSX__REFPARTYPE
,
node
);
return
GSX__NEXTNODE
;
}
break
;
case
pwr_eType_String
:
case
pwr_eType_String
:
if
(
node
->
ln
.
classid
!=
pwr_cClass_GetSp
)
if
(
node
->
ln
.
classid
!=
pwr_cClass_GetSp
)
{
{
...
@@ -8023,6 +8039,8 @@ vldh_t_node node;
...
@@ -8023,6 +8039,8 @@ vldh_t_node node;
case
pwr_eType_UInt8
:
case
pwr_eType_UInt8
:
case
pwr_eType_Enum
:
case
pwr_eType_Enum
:
case
pwr_eType_Mask
:
case
pwr_eType_Mask
:
case
pwr_eType_Status
:
case
pwr_eType_NetStatus
:
if
(
!
(
node
->
ln
.
classid
==
pwr_cClass_StoAtoIp
||
if
(
!
(
node
->
ln
.
classid
==
pwr_cClass_StoAtoIp
||
node
->
ln
.
classid
==
pwr_cClass_CStoAtoIp
||
node
->
ln
.
classid
==
pwr_cClass_CStoAtoIp
||
node
->
ln
.
classid
==
pwr_cClass_StoIp
||
node
->
ln
.
classid
==
pwr_cClass_StoIp
||
...
@@ -10719,10 +10737,13 @@ vldh_t_node node;
...
@@ -10719,10 +10737,13 @@ vldh_t_node node;
/* Check that the parameter exists in the referenced object */
/* Check that the parameter exists in the referenced object */
sts
=
ldh_GetObjectBodyDef
(
ldhses
,
class
,
"RtBody"
,
1
,
sts
=
ldh_GetObjectBodyDef
(
ldhses
,
class
,
"RtBody"
,
1
,
&
bodydef
,
&
rows
);
&
bodydef
,
&
rows
);
if
(
EVEN
(
sts
)
)
if
(
EVEN
(
sts
)
)
{
{
sts
=
ldh_GetObjectBodyDef
(
ldhses
,
class
,
"SysBody"
,
1
,
gcg_error_msg
(
gcgctx
,
GSX__REFCLASS
,
node
);
&
bodydef
,
&
rows
);
return
GSX__NEXTNODE
;
if
(
EVEN
(
sts
))
{
gcg_error_msg
(
gcgctx
,
GSX__REFCLASS
,
node
);
return
GSX__NEXTNODE
;
}
}
}
for
(
i
=
0
,
found
=
0
;
i
<
rows
;
i
++
)
for
(
i
=
0
,
found
=
0
;
i
<
rows
;
i
++
)
...
@@ -10772,14 +10793,16 @@ vldh_t_node node;
...
@@ -10772,14 +10793,16 @@ vldh_t_node node;
free
((
char
*
)
bodydef
);
free
((
char
*
)
bodydef
);
switch
(
info_type
)
{
switch
(
info_type
)
{
case
pwr_eType_Int32
:
case
pwr_eType_Int32
:
case
pwr_eType_UInt32
:
case
pwr_eType_UInt32
:
case
pwr_eType_Int16
:
case
pwr_eType_Int16
:
case
pwr_eType_UInt16
:
case
pwr_eType_UInt16
:
case
pwr_eType_Int8
:
case
pwr_eType_Int8
:
case
pwr_eType_UInt8
:
case
pwr_eType_UInt8
:
case
pwr_eType_Enum
:
case
pwr_eType_Enum
:
case
pwr_eType_Mask
:
case
pwr_eType_Mask
:
case
pwr_eType_Status
:
case
pwr_eType_NetStatus
:
if
(
!
(
node
->
ln
.
classid
!=
pwr_cClass_GetIpToA
||
if
(
!
(
node
->
ln
.
classid
!=
pwr_cClass_GetIpToA
||
node
->
ln
.
classid
!=
pwr_cClass_GetIp
))
{
node
->
ln
.
classid
!=
pwr_cClass_GetIp
))
{
gcg_error_msg
(
gcgctx
,
GSX__REFPARTYPE
,
node
);
gcg_error_msg
(
gcgctx
,
GSX__REFPARTYPE
,
node
);
...
@@ -13878,7 +13901,9 @@ vldh_t_node node;
...
@@ -13878,7 +13901,9 @@ vldh_t_node node;
info_type
==
pwr_eType_Int8
||
info_type
==
pwr_eType_Int8
||
info_type
==
pwr_eType_UInt8
||
info_type
==
pwr_eType_UInt8
||
info_type
==
pwr_eType_Enum
||
info_type
==
pwr_eType_Enum
||
info_type
==
pwr_eType_Mask
))
{
info_type
==
pwr_eType_Mask
||
info_type
==
pwr_eType_Status
||
info_type
==
pwr_eType_NetStatus
))
{
gcg_error_msg
(
gcgctx
,
GSX__REFPARTYPE
,
node
);
gcg_error_msg
(
gcgctx
,
GSX__REFPARTYPE
,
node
);
return
GSX__NEXTNODE
;
return
GSX__NEXTNODE
;
}
}
...
@@ -14370,7 +14395,9 @@ vldh_t_node node;
...
@@ -14370,7 +14395,9 @@ vldh_t_node node;
info_type
==
pwr_eType_Int8
||
info_type
==
pwr_eType_Int8
||
info_type
==
pwr_eType_UInt8
||
info_type
==
pwr_eType_UInt8
||
info_type
==
pwr_eType_Enum
||
info_type
==
pwr_eType_Enum
||
info_type
==
pwr_eType_Mask
))
{
info_type
==
pwr_eType_Mask
||
info_type
==
pwr_eType_Status
||
info_type
==
pwr_eType_NetStatus
))
{
gcg_error_msg
(
gcgctx
,
GSX__REFPARTYPE
,
node
);
gcg_error_msg
(
gcgctx
,
GSX__REFPARTYPE
,
node
);
return
GSX__NEXTNODE
;
return
GSX__NEXTNODE
;
}
}
...
...
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