SMUX Error Logging Subroutines Examples

The advise and adios subroutines are example subroutines created to illustrate how the SNMP multiplexing (SMUX) _ll_log logging subroutine can be used.

The adios and advise sample subroutines are in the unixd.c and sampled.c sample programs.

The adios subroutine exits on a fatal error. This subroutine sends a fatal message to the log file and exits. If needed, other functionality can be added to the subroutine to help the failing program exit cleanly.

The advise subroutine sends an advisory message to the log. This subroutine allows the programmer to specify the message logging event type.