VirtualBox

Changeset 54724 in vbox for trunk/include


Ignore:
Timestamp:
Mar 11, 2015 8:37:08 PM (10 years ago)
Author:
vboxsync
Message:

Runtime/RTStream: Make it possible to disable echoing of typed characters from terminal input streams

Location:
trunk/include/iprt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/mangling.h

    r54415 r54724  
    14751475# define RTStrmFlush                                    RT_MANGLER(RTStrmFlush)
    14761476# define RTStrmGetCh                                    RT_MANGLER(RTStrmGetCh)
     1477# define RTStrmInputGetEchoChars                        RT_MANGLER(RTStrmInputGetEchoChars)
    14771478# define RTStrmGetLine                                  RT_MANGLER(RTStrmGetLine)
    14781479# define RTStrmOpen                                     RT_MANGLER(RTStrmOpen)
     
    14861487# define RTStrmReadEx                                   RT_MANGLER(RTStrmReadEx)
    14871488# define RTStrmRewind                                   RT_MANGLER(RTStrmRewind)
     1489# define RTStrmInputSetEchoChars                        RT_MANGLER(RTStrmInputSetEchoChars)
    14881490# define RTStrmSetMode                                  RT_MANGLER(RTStrmSetMode)
    14891491# define RTStrmWriteEx                                  RT_MANGLER(RTStrmWriteEx)
  • trunk/include/iprt/stream.h

    r51770 r54724  
    127127
    128128/**
     129 * Returns the current echo mode.
     130 * This works only for standard input streams.
     131 *
     132 * @returns iprt status code.
     133 * @param   pStream         The stream.
     134 * @param   pfEchoChars     Where to store the flag whether typed characters are echoed.
     135 */
     136RTR3DECL(int) RTStrmInputGetEchoChars(PRTSTREAM pStream, bool *pfEchoChars);
     137
     138/**
     139 * Changes the behavior for echoing inpit characters on the command line.
     140 * This works only for standard input streams.
     141 *
     142 * @returns iprt status code.
     143 * @param   pStream         The stream.
     144 * @param   fEchoChars      Flag whether echoing typed characters is wanted.
     145 */
     146RTR3DECL(int) RTStrmInputSetEchoChars(PRTSTREAM pStream, bool fEchoChars);
     147
     148/**
    129149 * Rewinds the stream.
    130150 *
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette