remoting.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /**
  2. * \file
  3. * Remoting support
  4. *
  5. * (C) 2014 Xamarin, Inc. http://www.xamarin.com
  6. *
  7. */
  8. #ifndef __MONO_REMOTING_H__
  9. #define __MONO_REMOTING_H__
  10. #include "config.h"
  11. #include <mono/metadata/class.h>
  12. #include <mono/metadata/object-internals.h>
  13. #include <mono/metadata/class-internals.h>
  14. void mono_remoting_init (void);
  15. #ifndef DISABLE_REMOTING
  16. MonoMethod *
  17. mono_marshal_get_remoting_invoke (MonoMethod *method, MonoError *error);
  18. MonoMethod *
  19. mono_marshal_get_xappdomain_invoke (MonoMethod *method, MonoError *error);
  20. MonoMethod *
  21. mono_marshal_get_remoting_invoke_for_target (MonoMethod *method, MonoRemotingTarget target_type, MonoError *error);
  22. MonoMethod *
  23. mono_marshal_get_remoting_invoke_with_check (MonoMethod *method, MonoError *error);
  24. MonoMethod *
  25. mono_marshal_get_stfld_wrapper (MonoType *type);
  26. MonoMethod *
  27. mono_marshal_get_ldfld_wrapper (MonoType *type);
  28. MonoMethod *
  29. mono_marshal_get_ldflda_wrapper (MonoType *type);
  30. MonoMethod *
  31. mono_marshal_get_proxy_cancast (MonoClass *klass);
  32. #endif
  33. #endif