@@ -791,58 +791,58 @@ instance Arbitrary GroupJoinFail where arbitrary = arbitraryBoundedEnum
791
791
type GroupJoinFailCb = ToxPtr -> Word32 -> CEnum GroupJoinFail -> Ptr () -> IO ()
792
792
foreign import ccall " wrapper" wrapGroupJoinFailCb :: GroupJoinFailCb -> IO (FunPtr GroupJoinFailCb )
793
793
foreign import ccall tox_callback_group_join_fail :: ToxPtr -> FunPtr GroupJoinFailCb -> IO ()
794
- data ErrGroupFounderSetPassword
795
- = ErrGroupFounderSetPasswordGroupNotFound
796
- | ErrGroupFounderSetPasswordPermissions
797
- | ErrGroupFounderSetPasswordTooLong
798
- | ErrGroupFounderSetPasswordFailSend
799
- | ErrGroupFounderSetPasswordMalloc
800
- | ErrGroupFounderSetPasswordDisconnected
801
- deriving (Eq , Ord , Enum , Bounded , Read , Show , Generic )
802
- instance MessagePack ErrGroupFounderSetPassword
803
- instance Arbitrary ErrGroupFounderSetPassword where arbitrary = arbitraryBoundedEnum
804
- foreign import ccall tox_group_founder_set_password :: ToxPtr -> Word32 -> CString -> CSize -> CErr ErrGroupFounderSetPassword -> IO Bool
805
- data ErrGroupFounderSetTopicLock
806
- = ErrGroupFounderSetTopicLockGroupNotFound
807
- | ErrGroupFounderSetTopicLockInvalid
808
- | ErrGroupFounderSetTopicLockPermissions
809
- | ErrGroupFounderSetTopicLockFailSet
810
- | ErrGroupFounderSetTopicLockFailSend
811
- | ErrGroupFounderSetTopicLockDisconnected
812
- deriving (Eq , Ord , Enum , Bounded , Read , Show , Generic )
813
- instance MessagePack ErrGroupFounderSetTopicLock
814
- instance Arbitrary ErrGroupFounderSetTopicLock where arbitrary = arbitraryBoundedEnum
815
- foreign import ccall tox_group_founder_set_topic_lock :: ToxPtr -> Word32 -> CEnum GroupTopicLock -> CErr ErrGroupFounderSetTopicLock -> IO Bool
816
- data ErrGroupFounderSetVoiceState
817
- = ErrGroupFounderSetVoiceStateGroupNotFound
818
- | ErrGroupFounderSetVoiceStatePermissions
819
- | ErrGroupFounderSetVoiceStateFailSet
820
- | ErrGroupFounderSetVoiceStateFailSend
821
- | ErrGroupFounderSetVoiceStateDisconnected
822
- deriving (Eq , Ord , Enum , Bounded , Read , Show , Generic )
823
- instance MessagePack ErrGroupFounderSetVoiceState
824
- instance Arbitrary ErrGroupFounderSetVoiceState where arbitrary = arbitraryBoundedEnum
825
- foreign import ccall tox_group_founder_set_voice_state :: ToxPtr -> Word32 -> CEnum GroupVoiceState -> CErr ErrGroupFounderSetVoiceState -> IO Bool
826
- data ErrGroupFounderSetPrivacyState
827
- = ErrGroupFounderSetPrivacyStateGroupNotFound
828
- | ErrGroupFounderSetPrivacyStatePermissions
829
- | ErrGroupFounderSetPrivacyStateFailSet
830
- | ErrGroupFounderSetPrivacyStateFailSend
831
- | ErrGroupFounderSetPrivacyStateDisconnected
832
- deriving (Eq , Ord , Enum , Bounded , Read , Show , Generic )
833
- instance MessagePack ErrGroupFounderSetPrivacyState
834
- instance Arbitrary ErrGroupFounderSetPrivacyState where arbitrary = arbitraryBoundedEnum
835
- foreign import ccall tox_group_founder_set_privacy_state :: ToxPtr -> Word32 -> CEnum GroupPrivacyState -> CErr ErrGroupFounderSetPrivacyState -> IO Bool
836
- data ErrGroupFounderSetPeerLimit
837
- = ErrGroupFounderSetPeerLimitGroupNotFound
838
- | ErrGroupFounderSetPeerLimitPermissions
839
- | ErrGroupFounderSetPeerLimitFailSet
840
- | ErrGroupFounderSetPeerLimitFailSend
841
- | ErrGroupFounderSetPeerLimitDisconnected
842
- deriving (Eq , Ord , Enum , Bounded , Read , Show , Generic )
843
- instance MessagePack ErrGroupFounderSetPeerLimit
844
- instance Arbitrary ErrGroupFounderSetPeerLimit where arbitrary = arbitraryBoundedEnum
845
- foreign import ccall tox_group_founder_set_peer_limit :: ToxPtr -> Word32 -> Word16 -> CErr ErrGroupFounderSetPeerLimit -> IO Bool
794
+ data ErrGroupSetPassword
795
+ = ErrGroupSetPasswordGroupNotFound
796
+ | ErrGroupSetPasswordPermissions
797
+ | ErrGroupSetPasswordTooLong
798
+ | ErrGroupSetPasswordFailSend
799
+ | ErrGroupSetPasswordMalloc
800
+ | ErrGroupSetPasswordDisconnected
801
+ deriving (Eq , Ord , Enum , Bounded , Read , Show , Generic )
802
+ instance MessagePack ErrGroupSetPassword
803
+ instance Arbitrary ErrGroupSetPassword where arbitrary = arbitraryBoundedEnum
804
+ foreign import ccall tox_group_set_password :: ToxPtr -> Word32 -> CString -> CSize -> CErr ErrGroupSetPassword -> IO Bool
805
+ data ErrGroupSetTopicLock
806
+ = ErrGroupSetTopicLockGroupNotFound
807
+ | ErrGroupSetTopicLockInvalid
808
+ | ErrGroupSetTopicLockPermissions
809
+ | ErrGroupSetTopicLockFailSet
810
+ | ErrGroupSetTopicLockFailSend
811
+ | ErrGroupSetTopicLockDisconnected
812
+ deriving (Eq , Ord , Enum , Bounded , Read , Show , Generic )
813
+ instance MessagePack ErrGroupSetTopicLock
814
+ instance Arbitrary ErrGroupSetTopicLock where arbitrary = arbitraryBoundedEnum
815
+ foreign import ccall tox_group_set_topic_lock :: ToxPtr -> Word32 -> CEnum GroupTopicLock -> CErr ErrGroupSetTopicLock -> IO Bool
816
+ data ErrGroupSetVoiceState
817
+ = ErrGroupSetVoiceStateGroupNotFound
818
+ | ErrGroupSetVoiceStatePermissions
819
+ | ErrGroupSetVoiceStateFailSet
820
+ | ErrGroupSetVoiceStateFailSend
821
+ | ErrGroupSetVoiceStateDisconnected
822
+ deriving (Eq , Ord , Enum , Bounded , Read , Show , Generic )
823
+ instance MessagePack ErrGroupSetVoiceState
824
+ instance Arbitrary ErrGroupSetVoiceState where arbitrary = arbitraryBoundedEnum
825
+ foreign import ccall tox_group_set_voice_state :: ToxPtr -> Word32 -> CEnum GroupVoiceState -> CErr ErrGroupSetVoiceState -> IO Bool
826
+ data ErrGroupSetPrivacyState
827
+ = ErrGroupSetPrivacyStateGroupNotFound
828
+ | ErrGroupSetPrivacyStatePermissions
829
+ | ErrGroupSetPrivacyStateFailSet
830
+ | ErrGroupSetPrivacyStateFailSend
831
+ | ErrGroupSetPrivacyStateDisconnected
832
+ deriving (Eq , Ord , Enum , Bounded , Read , Show , Generic )
833
+ instance MessagePack ErrGroupSetPrivacyState
834
+ instance Arbitrary ErrGroupSetPrivacyState where arbitrary = arbitraryBoundedEnum
835
+ foreign import ccall tox_group_set_privacy_state :: ToxPtr -> Word32 -> CEnum GroupPrivacyState -> CErr ErrGroupSetPrivacyState -> IO Bool
836
+ data ErrGroupSetPeerLimit
837
+ = ErrGroupSetPeerLimitGroupNotFound
838
+ | ErrGroupSetPeerLimitPermissions
839
+ | ErrGroupSetPeerLimitFailSet
840
+ | ErrGroupSetPeerLimitFailSend
841
+ | ErrGroupSetPeerLimitDisconnected
842
+ deriving (Eq , Ord , Enum , Bounded , Read , Show , Generic )
843
+ instance MessagePack ErrGroupSetPeerLimit
844
+ instance Arbitrary ErrGroupSetPeerLimit where arbitrary = arbitraryBoundedEnum
845
+ foreign import ccall tox_group_set_peer_limit :: ToxPtr -> Word32 -> Word16 -> CErr ErrGroupSetPeerLimit -> IO Bool
846
846
data ErrGroupSetIgnore
847
847
= ErrGroupSetIgnoreGroupNotFound
848
848
| ErrGroupSetIgnorePeerNotFound
@@ -851,28 +851,28 @@ data ErrGroupSetIgnore
851
851
instance MessagePack ErrGroupSetIgnore
852
852
instance Arbitrary ErrGroupSetIgnore where arbitrary = arbitraryBoundedEnum
853
853
foreign import ccall tox_group_set_ignore :: ToxPtr -> Word32 -> Word32 -> Bool -> CErr ErrGroupSetIgnore -> IO Bool
854
- data ErrGroupModSetRole
855
- = ErrGroupModSetRoleGroupNotFound
856
- | ErrGroupModSetRolePeerNotFound
857
- | ErrGroupModSetRolePermissions
858
- | ErrGroupModSetRoleAssignment
859
- | ErrGroupModSetRoleFailAction
860
- | ErrGroupModSetRoleSelf
861
- deriving (Eq , Ord , Enum , Bounded , Read , Show , Generic )
862
- instance MessagePack ErrGroupModSetRole
863
- instance Arbitrary ErrGroupModSetRole where arbitrary = arbitraryBoundedEnum
864
- foreign import ccall tox_group_mod_set_role :: ToxPtr -> Word32 -> Word32 -> CEnum GroupRole -> CErr ErrGroupModSetRole -> IO Bool
865
- data ErrGroupModKickPeer
866
- = ErrGroupModKickPeerGroupNotFound
867
- | ErrGroupModKickPeerPeerNotFound
868
- | ErrGroupModKickPeerPermissions
869
- | ErrGroupModKickPeerFailAction
870
- | ErrGroupModKickPeerFailSend
871
- | ErrGroupModKickPeerSelf
872
- deriving (Eq , Ord , Enum , Bounded , Read , Show , Generic )
873
- instance MessagePack ErrGroupModKickPeer
874
- instance Arbitrary ErrGroupModKickPeer where arbitrary = arbitraryBoundedEnum
875
- foreign import ccall tox_group_mod_kick_peer :: ToxPtr -> Word32 -> Word32 -> CErr ErrGroupModKickPeer -> IO Bool
854
+ data ErrGroupSetRole
855
+ = ErrGroupSetRoleGroupNotFound
856
+ | ErrGroupSetRolePeerNotFound
857
+ | ErrGroupSetRolePermissions
858
+ | ErrGroupSetRoleAssignment
859
+ | ErrGroupSetRoleFailAction
860
+ | ErrGroupSetRoleSelf
861
+ deriving (Eq , Ord , Enum , Bounded , Read , Show , Generic )
862
+ instance MessagePack ErrGroupSetRole
863
+ instance Arbitrary ErrGroupSetRole where arbitrary = arbitraryBoundedEnum
864
+ foreign import ccall tox_group_set_role :: ToxPtr -> Word32 -> Word32 -> CEnum GroupRole -> CErr ErrGroupSetRole -> IO Bool
865
+ data ErrGroupKickPeer
866
+ = ErrGroupKickPeerGroupNotFound
867
+ | ErrGroupKickPeerPeerNotFound
868
+ | ErrGroupKickPeerPermissions
869
+ | ErrGroupKickPeerFailAction
870
+ | ErrGroupKickPeerFailSend
871
+ | ErrGroupKickPeerSelf
872
+ deriving (Eq , Ord , Enum , Bounded , Read , Show , Generic )
873
+ instance MessagePack ErrGroupKickPeer
874
+ instance Arbitrary ErrGroupKickPeer where arbitrary = arbitraryBoundedEnum
875
+ foreign import ccall tox_group_kick_peer :: ToxPtr -> Word32 -> Word32 -> CErr ErrGroupKickPeer -> IO Bool
876
876
data GroupModEvent
877
877
= GroupModEventKick
878
878
| GroupModEventObserver
0 commit comments