VirtualBox

Changeset 41186 in vbox for trunk/src/bldprogs/scmstream.h


Ignore:
Timestamp:
May 7, 2012 1:42:20 PM (13 years ago)
Author:
vboxsync
Message:

More preprocessing (disabled).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bldprogs/scmstream.h

    r41179 r41186  
    9999int         ScmStreamWriteToFile(PSCMSTREAM pStream, const char *pszFilenameFmt, ...);
    100100int         ScmStreamWriteToStdOut(PSCMSTREAM pStream);
     101
    101102size_t      ScmStreamTell(PSCMSTREAM pStream);
    102103size_t      ScmStreamTellLine(PSCMSTREAM pStream);
     
    106107int         ScmStreamSeekRelative(PSCMSTREAM pStream, ssize_t offRelative);
    107108int         ScmStreamSeekByLine(PSCMSTREAM pStream, size_t iLine);
     109
    108110const char *ScmStreamGetLineByNo(PSCMSTREAM pStream, size_t iLine, size_t *pcchLine, PSCMEOL penmEol);
    109111const char *ScmStreamGetLine(PSCMSTREAM pStream, size_t *pcchLine, PSCMEOL penmEol);
    110112unsigned    ScmStreamGetCh(PSCMSTREAM pStream);
     113const char *ScmStreamGetCur(PSCMSTREAM pStream);
    111114unsigned    ScmStreamPeekCh(PSCMSTREAM pStream);
    112115int         ScmStreamRead(PSCMSTREAM pStream, void *pvBuf, size_t cbToRead);
     
    114117SCMEOL      ScmStreamGetEol(PSCMSTREAM pStream);
    115118SCMEOL      ScmStreamGetEolByLine(PSCMSTREAM pStream, size_t iLine);
     119
    116120int         ScmStreamPutLine(PSCMSTREAM pStream, const char *pchLine, size_t cchLine, SCMEOL enmEol);
    117121int         ScmStreamWrite(PSCMSTREAM pStream, const char *pchBuf, size_t cchBuf);
    118122int         ScmStreamPutCh(PSCMSTREAM pStream, char ch);
     123ssize_t     ScmStreamPrintf(PSCMSTREAM pStream, const char *pszFormat, ...);
     124ssize_t     ScmStreamPrintfV(PSCMSTREAM pStream, const char *pszFormat, va_list va);
    119125int         ScmStreamCopyLines(PSCMSTREAM pDst, PSCMSTREAM pSrc, size_t cLines);
     126
     127bool        ScmStreamCMatchingWordM1(PSCMSTREAM pStream, const char *pszWord, size_t cchWord);
     128const char *ScmStreamCGetWord(PSCMSTREAM pStream, size_t *pcchWord);
     129const char *ScmStreamCGetWordM1(PSCMSTREAM pStream, size_t *pcchWord);
    120130
    121131RT_C_DECLS_END
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