EPICS Base  7.0.6.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 * SPDX-License-Identifier: EPICS
7 * EPICS BASE is distributed subject to a Software License Agreement found
8 * in file LICENSE that is included with this distribution.
9 \*************************************************************************/
10 
20 #ifndef INC_epicsReadline_H
21 #define INC_epicsReadline_H
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 #include <libComAPI.h>
28 #include <stdio.h>
34 LIBCOM_API void * epicsStdCall epicsReadlineBegin (FILE *in);
41 LIBCOM_API char * epicsStdCall epicsReadline (const char *prompt, void *context);
46 LIBCOM_API void epicsStdCall epicsReadlineEnd (void *context);
47 
48 #ifdef __cplusplus
49 }
50 #endif
51 
52 #endif /* INC_epicsReadline_H */
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.
LIBCOM_API void *epicsStdCall epicsReadlineBegin(FILE *in)
Create a command-line context.