This is Unofficial EPICS BASE Doxygen Site
epicsReadline.h
Go to the documentation of this file.
1 /*************************************************************************\
2 * Copyright (c) 2014 UChicago Argonne LLC, 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 is distributed subject to a Software License Agreement found
7 * in file LICENSE that is included with this distribution.
8 \*************************************************************************/
9 
19 #ifndef INC_epicsReadline_H
20 #define INC_epicsReadline_H
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 #include <libComAPI.h>
27 #include <stdio.h>
33 LIBCOM_API void * epicsStdCall epicsReadlineBegin (FILE *in);
40 LIBCOM_API char * epicsStdCall epicsReadline (const char *prompt, void *context);
45 LIBCOM_API void epicsStdCall epicsReadlineEnd (void *context);
46 
47 #ifdef __cplusplus
48 }
49 #endif
50 
51 #endif /* INC_epicsReadline_H */
LIBCOM_API void *epicsStdCall epicsReadlineBegin(FILE *in)
Create a command-line context.
Definition: epicsReadline.c:64
LIBCOM_API void epicsStdCall epicsReadlineEnd(void *context)
Destroy a command-line context.
LIBCOM_API char *epicsStdCall epicsReadline(const char *prompt, void *context)
Read a line of input.
Definition: epicsReadline.c:81