OSI/MHS P7 Application Programmatic Interface (P7 API) Manual

C Language Example Program
OSI/MHS P7 Application Programmatic Interface (P7 API) Manual424825-001
E-17
/* */
/***************************************************************************/
void
reportFileError( int function,
int error)
{
printf ("file Error : Function (%d) Error (%d) \n",
function,
error);
return;
}
/***************************************************************************/
/* Function name: reportError */
/* */
/* Arguments: string */
/* */
/* Description: This function reports any error that occurred to */
/* the user. */
/* */
/***************************************************************************/
void
reportError( char *string)
{
printf ("%s\n", string);
return;
}
/***************************************************************************/
/* Function name: statusError */
/* */
/* Arguments: string */
/* status */
/* */
/* Description: This function reports any error that occurred to */
/* the user, including the status code. */
/* */
/***************************************************************************/
void
statusError( char *string,
long status)
{
printf ("%s Status return (%ld) subcode (%ld)\n",
string,
(long int)(status >> 16),
(long int)(status & 0xFFFF));
return;
}
#pragma nowarn (93)
/* turning off warning 93 since one of the include files generates */
/* a large number of these warnings, which will appear at the end */
/* of this file. */
/*
* END
*/