diff options
author | stepych <stepych@yandex-team.ru> | 2022-02-10 16:50:51 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:51 +0300 |
commit | 252a6c9fbded23dfee8729dc34c97159962216a7 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/uri/common.h | |
parent | e43b253871ab6f365f22f9a139a082da542d32f7 (diff) | |
download | ydb-252a6c9fbded23dfee8729dc34c97159962216a7.tar.gz |
Restoring authorship annotation for <stepych@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/uri/common.h')
-rw-r--r-- | library/cpp/uri/common.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/library/cpp/uri/common.h b/library/cpp/uri/common.h index 8008bcca3a..8025357763 100644 --- a/library/cpp/uri/common.h +++ b/library/cpp/uri/common.h @@ -442,12 +442,12 @@ namespace NUri { #define FEATURE_NAME(f) _BitFeature##f #define FEATURE_FLAG_NAME(f) Feature##f -#define FEATURE_FLAG(f) FEATURE_FLAG_NAME(f) = 1UL << FEATURE_NAME(f) - +#define FEATURE_FLAG(f) FEATURE_FLAG_NAME(f) = 1UL << FEATURE_NAME(f) + struct TQueryArg { TStringBuf Name; TStringBuf Value; - + private: enum EBit { FEATURE_NAME(Filter), @@ -456,7 +456,7 @@ namespace NUri { FEATURE_NAME(RewriteDirty), _FeatureMAX }; - + public: enum EPublic : ui32 { FeatureMAX = _FeatureMAX, @@ -465,25 +465,25 @@ namespace NUri { FEATURE_FLAG(RemoveEmptyQuery), FEATURE_FLAG(RewriteDirty), }; - + enum EProcessed { // OK and clean. ProcessedOK = 0, - + // OK, but query stored in internal buffer and TUri::Rewrite() is required. ProcessedDirty = 1, - + ProcessedMalformed = 2, ProcessedTooMany = 3, }; }; - + typedef bool (*TQueryArgFilter)(const TQueryArg& arg, void* filterData); - -#undef FEATURE_NAME -#undef FEATURE_FLAG_NAME -#undef FEATURE_FLAG - + +#undef FEATURE_NAME +#undef FEATURE_FLAG_NAME +#undef FEATURE_FLAG + const char* FieldToString(const TField::EField& t); const char* ParsedStateToString(const TState::EParsed& t); const char* SchemeKindToString(const TScheme::EKind& t); |