1 // Protocol Buffers - Google's data interchange format 2 // Copyright 2024 Google LLC. All rights reserved. 3 // 4 // Use of this source code is governed by a BSD-style 5 // license that can be found in the LICENSE file or at 6 // https://developers.google.com/open-source/licenses/bsd 7 8 #ifndef UPB_TEXT_OPTIONS_H_ 9 #define UPB_TEXT_OPTIONS_H_ 10 11 enum { 12 // When set, prints everything on a single line. 13 UPB_TXTENC_SINGLELINE = 1, 14 15 // When set, unknown fields are not printed. 16 UPB_TXTENC_SKIPUNKNOWN = 2, 17 18 // When set, maps are *not* sorted (this avoids allocating tmp mem). 19 UPB_TXTENC_NOSORT = 4 20 }; 21 22 #endif // UPB_TEXT_OPTIONS_H_ 23