OSF DCE Application Development Guide--Core Components
OSF DCE Application Development Guide—Core Components
and which could be altered by calling the filter control
routine below. */
printf("The progname is %s\n", prolog->progname);
if (prolog->attributes | svc_c_sev_notice)
printf("This is a Notice-type message\n");
switch (prolog->table_index)
{
case hel_s_main:
printf("Main subcomponent\n");
break;
default:
printf("Error\n");
break;
}
/* The routine returns 1, thus permitting the output
operation to go ahead; if 0 were returned here, the
operation would be suppressed ... */
return 1;
}
/*****
* Filter Control routine-- this routine is normally called
* through the remote interface.
*****/
void hel_filter_control(idl_long_int arg_size,
idl_byte *arg,
error_status_t *status)
{
/* Code would be inserted here to interpret the arg passed
and, on the basis of that, change the value(s) of one
or more static variables that control the operation of
hel_filter() */
}
4− 32 Tandem Computers Incorporated 124245