text: #include <Common/config.h>
  
  namespace DB
  {
  
  class FunctionFactory;
  
  void registerFunctionEmpty(FunctionFactory &);
  void registerFunctionNotEmpty(FunctionFactory &);
  void registerFunctionLength(FunctionFactory &);
  void registerFunctionLengthUTF8(FunctionFactory &);
  void registerFunctionValidUTF8(FunctionFactory &);
  void registerFunctionLower(FunctionFactory &);
  void registerFunctionUpper(FunctionFactory &);
  void registerFunctionLowerUTF8(FunctionFactory &);
  void registerFunctionUpperUTF8(FunctionFactory &);
  void registerFunctionReverse(FunctionFactory &);
  void registerFunctionReverseUTF8(FunctionFactory &);
  void registerFunctionsConcat(FunctionFactory &);
  void registerFunctionSubstring(FunctionFactory &);
  void registerFunctionAppendTrailingCharIfAbsent(FunctionFactory &);
  void registerFunctionStartsWith(FunctionFactory &);
  void registerFunctionEndsWith(FunctionFactory &);
  void registerFunctionTrim(FunctionFactory &);
  void registerFunctionRegexpQuoteMeta(FunctionFactory &);
  
  #if USE_BASE64
  void registerFunctionBase64Encode(FunctionFactory &);
  void registerFunctionBase64Decode(FunctionFactory &);
  void registerFunctionTryBase64Decode(FunctionFactory &);
  #endif
  
  void registerFunctionsString(FunctionFactory & factory)
  {
      registerFunctionEmpty(factory);
      registerFunctionNotEmpty(factory);
      registerFunctionLength(factory);
      registerFunctionLengthUTF8(factory);
      registerFunctionValidUTF8(factory);
      registerFunctionLower(factory);
      registerFunctionUpper(factory);
      registerFunctionLowerUTF8(factory);
      registerFunctionUpperUTF8(factory);
      registerFunctionReverse(factory);
      registerFunctionReverseUTF8(factory);
      registerFunctionsConcat(factory);
      registerFunctionSubstring(factory);
      registerFunctionAppendTrailingCharIfAbsent(factory);
      registerFunctionStartsWith(factory);
      registerFunctionEndsWith(factory);
      registerFunctionTrim(factory);
      registerFunctionRegexpQuoteMeta(factory);
  #if USE_BASE64
      registerFunctionBase64Encode(factory);
      registerFunctionBase64Decode(factory);
      registerFunctionTryBase64Decode(factory);
  #endif
  }
  
  }
  
  