another.im-ios/Monal/Classes/MLStreamRedirect.h

24 lines
519 B
C
Raw Normal View History

2024-11-18 14:53:52 +00:00
//
// MLStreamRedirect.h
// monalxmpp
//
// Created by Thilo Molitor on 18.08.23.
// Copyright © 2023 monal-im.org. All rights reserved.
//
#import <Foundation/Foundation.h>
#include <stdio.h>
#ifndef MLStreamRedirect_h
#define MLStreamRedirect_h
@interface MLStreamRedirect : NSObject
-(instancetype) initWithStream:(FILE*) stream;
-(void) flush;
-(void) flushWithTimeout:(double) timeout;
-(void) flushAndClose;
-(void) flushAndCloseWithTimeout:(NSTimeInterval) timeout;
@end
#endif /* MLStreamRedirect_h */