GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Dt/MsgLog.h(file formats) Dt/MsgLog.h(file formats)

Dt/MsgLog.h — message logging definitions

#include &<Dt/MsgLog.h>

The Dt/MsgLog.h header defines data types and function prototypes for the Message Logging Service.

The Dt/MsgLog.h header provides the following data type declarations:

typedef enum {
		DtMsgLogInformation,
		DtMsgLogStderr,
		DtMsgLogDebug,
		DtMsgLogWarning,
		DtMsgLogError
	} DtMsgLogType;

typedef void (*DtMsgLogHandler) (
				 const char 	*program_name,
				 DtMsgLogType	msg_type,
				 const char 	*format,
				 va_list	args );

The Dt/MsgLog.h header defines the following functions:

void DtMsgLogMesssage(
		      const char   *program_name,
		      DtMsgLogType msg_type,
		      const char   *format,
		      …);

DtMsgLogHandler DtMsgLogSetHandler(
				   DtMsgLogHandler   handler;

FILE *DtMsgLogOpenFile(
		       const char   *type,
		       char	    **filename_return);

DtMsgLogMessage(3), DtMsgLogSetHandler(3), and DtMsgLogOpenFile(3).


Search for    or go to Top of page |  Section 5 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.