MySQL 9.3.0
Source Code Documentation
s_mysql_external_library Struct Reference

A service to parse library code. More...

#include <language_service.h>

Public Attributes

mysql_service_status_t(* is_language_supported )(mysql_cstring_with_length language, bool *result)
 Check if the language of the library is supported. More...
 
mysql_service_status_t(* parse )(mysql_cstring_with_length name, mysql_cstring_with_length language, mysql_cstring_with_length body)
 Parses library code. More...
 

Detailed Description

A service to parse library code.

Member Data Documentation

◆ is_language_supported

mysql_service_status_t(* s_mysql_external_library::is_language_supported) (mysql_cstring_with_length language, bool *result)

Check if the language of the library is supported.

Parameters
[in]languageLanguage of the library source code
[out]resultReturns true if the language is supported
Returns
Status of the performed operation
Return values
falsesuccess
truefailure

◆ parse

Parses library code.

Parameters
[in]nameName of the library
[in]languageLanguage of the library source code
[in]bodyLibrary's source code in UTF8MB4 charset
Returns
Status of the performed operation
Return values
falsesuccess
truefailure

The documentation for this struct was generated from the following file: