API Guide
601355 Rev A API Functions 2-139
Functions
43
44 /* get the criteria parameters */
45 VS_Criteria_GetFields (
criteriah,
46 VSID_FIELD,
&field,
47 VSID_MOUNT_CRITERIA_ORDER,
&sort,
48 VSID_NUMBER_ENTRIES,
&numexpr,
49 VSID_ENDFIELD );
50
51 printf ( “*** Criteria # %d
***\n”, i );
52 printf ( “ Field Index ==> %d\n”,
field );
53 printf ( “ Mount Criteria Order
==> %d\n”, sort );
54 printf ( “Number of Expressions
==> %d\n”, numexpr );
55
56 for ( j = 0 ; j < numexpr ; j++ )
57 {
58 /* get the expression to print
*/
59 VS_Criteria_GetFields (
criteriah,
60
VSID
_EXPRESSION_HANDLE_ENTRY, j,
&exprh,
61 VSID_ENDFIELD );
62
63 /* get the expression’s
parameters */
64 VS_Expression_GetFields (
exprh,
65 VSID_MOUNT_CRITERIA_OPT,
&relopt,
66 VSID_CONNECTIVE_OP,
&conop,
67 VSID_MEDIA_STAT_VALUE,
value,