This is Unofficial EPICS BASE Doxygen Site
logClient.h
Go to the documentation of this file.
1 /*************************************************************************\
2 * Copyright (c) 2002 The University of Chicago, as Operator of Argonne
3 * National Laboratory.
4 * Copyright (c) 2002 The Regents of the University of California, as
5 * Operator of Los Alamos National Laboratory.
6 * EPICS BASE Versions 3.13.7
7 * and higher are distributed subject to a Software License Agreement found
8 * in file LICENSE that is included with this distribution.
9 \*************************************************************************/
10 
11 /* logClient.h,v 1.5.2.1 2003/07/08 00:08:06 jhill Exp */
12 /*
13  *
14  * Author: Jeffrey O. Hill
15  * Date: 080791
16  */
17 
18 #ifndef INClogClienth
19 #define INClogClienth 1
20 #include "libComAPI.h"
21 #include "osiSock.h" /* for 'struct in_addr' */
22 
23 /* include default log client interface for backward compatibility */
24 #include "iocLog.h"
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 typedef void *logClientId;
31 LIBCOM_API logClientId epicsStdCall logClientCreate (
32  struct in_addr server_addr, unsigned short server_port);
33 LIBCOM_API void epicsStdCall logClientSend (logClientId id, const char *message);
34 LIBCOM_API void epicsStdCall logClientShow (logClientId id, unsigned level);
35 LIBCOM_API void epicsStdCall logClientFlush (logClientId id);
36 LIBCOM_API void epicsStdCall iocLogPrefix(const char* prefix);
37 
38 /* deprecated interface; retained for backward compatibility */
39 /* note: implementations are in iocLog.c, not logClient.c */
40 LIBCOM_API logClientId epicsStdCall logClientInit (void);
41 
42 #ifdef __cplusplus
43 }
44 #endif
45 
46 #endif /*INClogClienth*/
LIBCOM_API logClientId epicsStdCall logClientCreate(struct in_addr server_addr, unsigned short server_port)
Definition: logClient.c:453
LIBCOM_API void epicsStdCall logClientSend(logClientId id, const char *message)
Definition: logClient.c:200
void * logClientId
Definition: logClient.h:30
LIBCOM_API void epicsStdCall iocLogPrefix(const char *prefix)
Definition: logClient.c:549
LIBCOM_API void epicsStdCall logClientFlush(logClientId id)
Definition: logClient.c:219
LIBCOM_API void epicsStdCall logClientShow(logClientId id, unsigned level)
Definition: logClient.c:516
LIBCOM_API logClientId epicsStdCall logClientInit(void)
Definition: iocLog.c:157