Merge pull request #1225 from strawd/bug22307
[mono.git] / mono / metadata / remoting.h
1 /*
2  * remoting.h: Remoting support
3  *
4  * (C) 2014 Xamarin, Inc.  http://www.xamarin.com
5  *
6  */
7
8 #ifndef __MONO_REMOTING_H__
9 #define __MONO_REMOTING_H__
10
11 #include "config.h"
12 #include <mono/metadata/class.h>
13 #include <mono/metadata/object-internals.h>
14 #include <mono/metadata/class-internals.h>
15
16 void mono_remoting_init (void);
17
18 #ifndef DISABLE_REMOTING
19
20 MonoMethod *
21 mono_marshal_get_remoting_invoke (MonoMethod *method);
22
23 MonoMethod *
24 mono_marshal_get_xappdomain_invoke (MonoMethod *method);
25
26 MonoMethod *
27 mono_marshal_get_remoting_invoke_for_target (MonoMethod *method, MonoRemotingTarget target_type);
28
29 MonoMethod *
30 mono_marshal_get_remoting_invoke_with_check (MonoMethod *method);
31
32 MonoMethod *
33 mono_marshal_get_stfld_wrapper (MonoType *type);
34
35 MonoMethod *
36 mono_marshal_get_ldfld_wrapper (MonoType *type);
37
38 MonoMethod *
39 mono_marshal_get_ldflda_wrapper (MonoType *type);
40
41 MonoMethod *
42 mono_marshal_get_ldfld_remote_wrapper (MonoClass *klass);
43
44 MonoMethod *
45 mono_marshal_get_stfld_remote_wrapper (MonoClass *klass);
46
47 MonoMethod *
48 mono_marshal_get_proxy_cancast (MonoClass *klass);
49
50 #endif
51
52 #endif