[2020-02] Fix leak in assembly-specific dllmap lookups (#21053)
[mono-project.git] / mono / metadata / remoting.h
blob856b3d4f16485caf36f0ed52f2466fa093a57056
1 /**
2 * \file
3 * Remoting support
5 * (C) 2014 Xamarin, Inc. http://www.xamarin.com
7 */
9 #ifndef __MONO_REMOTING_H__
10 #define __MONO_REMOTING_H__
12 #include "config.h"
13 #include <mono/metadata/class.h>
14 #include <mono/metadata/object-internals.h>
15 #include <mono/metadata/class-internals.h>
17 void mono_remoting_init (void);
19 #ifndef DISABLE_REMOTING
21 MonoMethod *
22 mono_marshal_get_remoting_invoke (MonoMethod *method, MonoError *error);
24 MonoMethod *
25 mono_marshal_get_xappdomain_invoke (MonoMethod *method, MonoError *error);
27 MonoMethod *
28 mono_marshal_get_remoting_invoke_for_target (MonoMethod *method, MonoRemotingTarget target_type, MonoError *error);
30 MonoMethod *
31 mono_marshal_get_remoting_invoke_with_check (MonoMethod *method, MonoError *error);
33 MonoMethod *
34 mono_marshal_get_stfld_wrapper (MonoType *type);
36 MonoMethod *
37 mono_marshal_get_ldfld_wrapper (MonoType *type);
39 MonoMethod *
40 mono_marshal_get_ldflda_wrapper (MonoType *type);
42 MonoMethod *
43 mono_marshal_get_proxy_cancast (MonoClass *klass);
45 #endif
47 #endif