Merge pull request #980 from StephenMcConnel/bug-18638
[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) MONO_INTERNAL;
17
18 #ifndef DISABLE_REMOTING
19
20 MonoMethod *
21 mono_marshal_get_remoting_invoke (MonoMethod *method) MONO_INTERNAL;
22
23 MonoMethod *
24 mono_marshal_get_xappdomain_invoke (MonoMethod *method) MONO_INTERNAL;
25
26 MonoMethod *
27 mono_marshal_get_remoting_invoke_for_target (MonoMethod *method, MonoRemotingTarget target_type) MONO_INTERNAL;
28
29 MonoMethod *
30 mono_marshal_get_remoting_invoke_with_check (MonoMethod *method) MONO_INTERNAL;
31
32 MonoMethod *
33 mono_marshal_get_stfld_wrapper (MonoType *type) MONO_INTERNAL;
34
35 MonoMethod *
36 mono_marshal_get_ldfld_wrapper (MonoType *type) MONO_INTERNAL;
37
38 MonoMethod *
39 mono_marshal_get_ldflda_wrapper (MonoType *type) MONO_INTERNAL;
40
41 MonoMethod *
42 mono_marshal_get_ldfld_remote_wrapper (MonoClass *klass) MONO_INTERNAL;
43
44 MonoMethod *
45 mono_marshal_get_stfld_remote_wrapper (MonoClass *klass) MONO_INTERNAL;
46
47 MonoMethod *
48 mono_marshal_get_proxy_cancast (MonoClass *klass) MONO_INTERNAL;
49
50 #endif
51
52 #endif