From 5a0a8d3fc245fbe83c80e39c974689d533cc00ca Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Fri, 19 Nov 1999 02:08:15 +0000 Subject: [PATCH] log client is now portable --- src/libCom/logClient/logClient.h | 43 ++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 src/libCom/logClient/logClient.h diff --git a/src/libCom/logClient/logClient.h b/src/libCom/logClient/logClient.h new file mode 100644 index 000000000..93c966552 --- /dev/null +++ b/src/libCom/logClient/logClient.h @@ -0,0 +1,43 @@ + +/* $Id$ */ +/* + * + * Author: Jeffrey O. Hill + * Date: 080791 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + */ + +#include "shareLib.h" + +typedef void *logClientId; +epicsShareFunc logClientId epicsShareAPI logClientInit (void); +epicsShareFunc void epicsShareAPI logClientSendMessage (logClientId id, const char *message); +void logClientShow (logClientId id, unsigned level); + +/* + * default log client interface + */ +extern int iocLogDisable; +int iocLogInit (void); +void iocLogShow (unsigned level);