API Guide
2-164 API Functions 601355 Rev A
52 printf ( “*** Criteria # %d
***\n”, i );
53 printf ( “ Field Index ==> %d\n”,
field );
54 printf ( “ Mount Criteria Order
==> %d\n”, sort );
55 printf ( “Number of Expressions
==> %d\n”, numexpr );
56
57 for ( j = 0 ; j < numexpr ; j++ )
58 {
59 /* get the expression to print
*/
60 VS_Criteria_GetFields (
criteriah,
61 VSID_EXPRESSION_HANDLE_ENTRY, j,
&exprh,
62 VSID_ENDFIELD );
63
64 /* get the expression’s
parameters */
65 VS_Expression_GetFields (
exprh,
66 VSID_MOUNT_CRITERIA_OPT,
&relopt,
67 VSID_CONNECTIVE_OP,
&conop,
68 VSID_MEDIA_STAT_VALUE,
value,
69 VSID_ENDFIELD );
70
71 printf ( “*** Expression # %d
***\n”, j );
72 printf ( “Mount Criteria
Option ==> %d\n”, relopt);
73 printf ( “ Media Stat Value ==>
%s\n”, value);
74 printf ( “ Connective
Operation ==> %d\n”, conop);
75 }
76 }