2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #ifndef __DOTNET_LAUNCHER_PLUGIN_H__
18 #define __DOTNET_LAUNCHER_PLUGIN_H__
20 #include "coreclr_host.h"
24 typedef void (*plugin_initialize_ptr)(const char* mode);
25 typedef void (*plugin_preload_ptr)();
26 typedef void (*plugin_set_app_info_ptr)(
28 const char* managedAssemblyPath);
29 typedef void (*plugin_set_coreclr_info_ptr)(
31 unsigned int domainId,
32 coreclr_create_delegate_ptr delegateFunc);
33 typedef char* (*plugin_get_dll_path_ptr)();
34 typedef void (*plugin_before_execute_ptr)();
35 typedef void (*plugin_finalize_ptr)();
38 #endif /* __DOTNET_LAUNCHER_PLUGIN_H__ */