OpenTP1 Version 7 Programming Reference C Language
dc_log_notify_open - Start message log reception
Format
ANSI C, C++
#include <dclog.h> DCLONG dc_log_notify_open (DCLONG id, DCLONG flags) |
K&R C
#include <dclog.h> DCLONG dc_log_notify_open (id, flags) DCLONG id; DCLONG flags; |
Description
The function dc_log_notify_open() starts reception of the message logs reported by OpenTP1.
Arguments whose values are set in the UAP
id
Specify 0.
flags
Return values
Return value | Return value (numeric) | Meaning |
---|---|---|
DC_OK | 0 | Normal termination. |
DCLOGER_PARAM_ARGS | -1900 | An incorrect value is specified as the argument. |
DCLOGER_PROTO | -1999 | The function dc_log_notify_open() has already been called. If DCLOG_CHKRTN is assigned to flags, the log service definition is specified so that the message log report facility will not be used. |
DCLOGER_DEFFILE | -1904 | The system definition is invalid. |
DCLOGER_MEMORY | -1902 | The memory became insufficient. |
DCLOGER_COMM | -1901 | Initialization of the communication path failed. |
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.