Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/fstream.hfa

    rc8371b5 r7e7a076  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sun Oct 10 09:37:32 2021
    13 // Update Count     : 243
     12// Last Modified On : Wed Jul 28 07:35:50 2021
     13// Update Count     : 234
    1414//
    1515
     
    3636        char tupleSeparator$[ofstream_sepSize];
    3737        multiple_acquisition_lock lock$;
     38        bool acquired$;
    3839}; // ofstream
    3940
     
    5253void setPrt$( ofstream &, bool );
    5354
    54 void lock( ofstream & );
    55 void unlock( ofstream & );
    56 
    5755// public
    5856void sepOn( ofstream & );
     
    7775void open( ofstream &, const char name[] );
    7876void close( ofstream & );
    79 
    8077ofstream & write( ofstream &, const char data[], size_t size );
     78
     79void acquire( ofstream & );
     80void release( ofstream & );
     81
     82void lock( ofstream & );
     83void unlock( ofstream & );
     84
     85struct osacquire {
     86        ofstream & os;
     87};
     88void ?{}( osacquire & acq, ofstream & );
     89void ^?{}( osacquire & acq );
    8190
    8291void ?{}( ofstream & );
     
    101110        bool nlOnOff$;
    102111        multiple_acquisition_lock lock$;
     112        bool acquired$;
    103113}; // ifstream
    104114
    105115// Satisfies istream
    106 
    107 // private
    108 bool getANL$( ifstream & );
    109 
    110 void lock( ifstream & );
    111 void unlock( ifstream & );
    112116
    113117// public
    114118void nlOn( ifstream & );
    115119void nlOff( ifstream & );
     120bool getANL( ifstream & );
    116121void ends( ifstream & );
    117122int fmt( ifstream &, const char format[], ... ) __attribute__(( format(scanf, 2, 3) ));
     
    123128void open( ifstream & is, const char name[] );
    124129void close( ifstream & is );
    125 
    126130ifstream & read( ifstream & is, char data[], size_t size );
    127131ifstream & ungetc( ifstream & is, char c );
     132
     133void acquire( ifstream & is );
     134void release( ifstream & is );
     135
     136struct isacquire {
     137        ifstream & is;
     138};
     139void ?{}( isacquire & acq, ifstream & is );
     140void ^?{}( isacquire & acq );
    128141
    129142void ?{}( ifstream & is );
Note: See TracChangeset for help on using the changeset viewer.