API Guide
601355 Rev A API Functions 2-127
Functions
95 conop = atoi(gets(input));
96
97 /* set the expression’s
parameters */
98 VS_Expression_SetFields (
exprh,
99 VSID_MOUNT_CRITERIA_OPT,
relopt,
100 VSID_CONNECTIVE_OP,
conop,
101 VSID_MEDIA_STAT_VALUE,
value,
102 VSID_ENDFIELD );
103
104 /* add the expression to the
criteria */
105 VS_Criteria_SetFields (
criteriah,
106 VSID_EXPRESSION_HANDLE_ENTRY, j,
exprh,
107 VSID_ENDFIELD );
108 }
109
110 /* add the criteria to the
criteria group */
111 VS_CriteriaGroup_SetFields (
grouph,
112 VSID_CRITERIA_HANDLE_ENTRY,
i, criteriah,
113 VSID_ENDFIELD );
114 }
115
116 /* if it failed, destroy the criteria
group handle */
117 if ( rc == VSE_FALSE )
118 {
119 /* criteria group will destroy any
*/
120 /* criteria and their expressions
*/
121 /* for us */