aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/eventlog/evdecoder.h
blob: eedfc82174379c8fb4752370c53ebb3783f3e131 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <util/generic/yexception.h>
#include <util/generic/ptr.h>

#include "eventlog.h"

class TEvent;
class IInputStream;
class TEventFilter;

struct TEventDecoderError: public yexception {
};

THolder<TEvent> DecodeEvent(IInputStream& s, bool framed, ui64 frameAddr, const TEventFilter* const filter, IEventFactory* fac, bool strict = false);
bool AcceptableContent(TEventLogFormat);