API Guide
601355 Rev A API Functions 2-339
Functions
17 #endif
18 {
19 VST_BOOLEAN done, rc;
20 int i, count,
timeout;
21 unsigned long prognum,
versnum, procnum;
22 VST_TIME_OUT t;
23 VST_TABLE_HANDLE table;
24 VST_MEDIA_CLASS_NAME class,
newclass;
25 VST_NOTIFY_HANDLE h;
26
27 rc = VSE_TRUE;
28 done = VSE_FALSE;
29 NumNotifies = 0;
30
31 /* get parameters from user */
32 printf(“*** Notify Parameters ***\n”
);
33 printf(“Program Number ==> “ );
34 prognum = (VST_PROGRAM_NUMBER)
atol(gets(input));
35
36 printf(“Version Number ==> “ );
37 versnum = (VST_VERSION_NUMBER)
atol(gets(input));
38
39 printf(“Procedure Number ==> “ );
40 procnum = (VST_PROCEDURE_NUMBER)
atol(gets(input));
41
42 printf(“Number of Notifies to listen
==> “ );
43 count = atoi(gets(input));
44
45 printf(“Timeout Value ==> “ );
46 t = atoi(gets(input));
47
48 printf(“Number of Timeouts to process
==> “ );
49 timeout = atoi(gets(input));