ProviewR Programmer's Reference Manual  V6.1.4
Functions
rt_errh.c File Reference

Functions for Errh System log messages. More...

#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <pthread.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <mqueue.h>
#include "pwr_msg.h"
#include "co_msg.h"
#include "co_time.h"
#include "rt_gdh.h"
#include "rt_errh_msg.h"
#include "rt_pwr_msg.h"

Go to the source code of this file.

Functions

pwr_tStatus errh_Init (const char *name, errh_eAnix anix)
 Initialize errh. Set up a queue to write to, set application name. More...
 
void errh_SetStatus (pwr_tStatus sts)
 Set application status. The application status is showed in the Node graph. The application can set this status with a call to errh_SetStatus. The status should be defined in the message file. More...
 
errh_eAnix errh_Anix (void)
 Get application index for the process. More...
 
void errh_SetAnix (errh_eAnix anix)
 Set application index for the process.
 
void errh_SetName (char *name)
 Set application name for the process.
 
void errh_Success (const char *msg,...)
 Log a success message. The function has a variable argument list similar to sprintf. More...
 
void errh_Info (const char *msg,...)
 Log an info message. The function has a variable argument list similar to sprintf. More...
 
void errh_Warning (const char *msg,...)
 Log a warning message. The function has a variable argument list similar to sprintf. More...
 
void errh_Error (const char *msg,...)
 Log an error message. The function has a variable argument list similar to sprintf. More...
 
void errh_Fatal (const char *msg,...)
 Log a fatal message. The function has a variable argument list similar to sprintf. More...
 

Detailed Description

Functions for Errh System log messages.

Definition in file rt_errh.c.