internal static extern int ZnWriteExt( IntPtr /*zn_session_t*/ rustSession, ResKey.NativeType zResKey, IntPtr payload, uint len, uint encoding, uint kind, CongestionControl congestion);
internal static extern IntPtr /*zn_subscriber_t*/ ZnDeclareSubscriber( IntPtr /*zn_session_t*/ rustSession, ResKey.NativeType zResKey, SubInfo.NativeType zSubInfo, SubscriberCallbackNative callback, IntPtr /*void* */ arg);
internal static extern int ZnWrite( IntPtr /*zn_session_t*/ rustSession, ResKey.NativeType zResKey, IntPtr payload, uint len);
internal static extern ulong ZnDeclareResource(IntPtr /*zn_session_t*/ rustSession, ResKey.NativeType zResKey);