diff --git a/INSTALL b/INSTALL
index c772457b..ff5c6195 100644
--- a/INSTALL
+++ b/INSTALL
@@ -4,7 +4,7 @@ Requirements
To compile PokerTH you need following libs:
Linux:
-- Qt version >= 4.4.3, 4.8.0 recommended --> http://qtsoftware.com/
+- Qt version >= 4.4.3, 4.8.x recommended --> http://qtsoftware.com/
- zlib version >= 1.2.3 --> http://www.zlib.net/
- libcurl version >= 7.16 --> http://curl.haxx.se/
- libgcrypt (e.g. version 1.4.6) --> http://www.gnu.org/software/libgcrypt/
@@ -15,6 +15,7 @@ Linux:
- libSDL_mixer, libSDL --> http://www.libsdl.org/
- libSQLite3 --> http://sqlite.org/
- libtinyxml > 2.0 --> http://www.sourceforge.net/projects/tinyxml
+- protoc >= 2.3.0 (during build), libprotobuf >= 2.3.0 -> http://code.google.com/p/protobuf/downloads/list
- For the server: libircclient 1.3 --> http://www.sourceforge.net/projects/libircclient/
Windows:
diff --git a/docs/pokerth.asn1 b/docs/pokerth.asn1
index 9f824527..adddceaf 100644
--- a/docs/pokerth.asn1
+++ b/docs/pokerth.asn1
@@ -16,6 +16,9 @@
* along with this program. If not, see . *
*****************************************************************************/
+ /* This file is now deprecated! google protocol buffers are used instead.
+ * Please refer to pokerth.proto. */
+
POKERTH-PROTOCOL DEFINITIONS
IMPLICIT TAGS
EXTENSIBILITY IMPLIED ::=
diff --git a/pokerth_protocol.pro b/pokerth_protocol.pro
index 238b8b63..c45113f9 100644
--- a/pokerth_protocol.pro
+++ b/pokerth_protocol.pro
@@ -25,324 +25,81 @@ DEPENDPATH += . \
src/third_party/asn1
# Input
-HEADERS += src/third_party/asn1/AllInShowCardsMessage.h \
- src/third_party/asn1/ChatCleanerMessage.h \
- src/third_party/asn1/CleanerInitMessage.h \
- src/third_party/asn1/CleanerInitAckMessage.h \
- src/third_party/asn1/CleanerChatRequestMessage.h \
- src/third_party/asn1/CleanerChatReplyMessage.h \
- src/third_party/asn1/GuestLogin.h \
- src/third_party/asn1/AmountOfMoney.h \
- src/third_party/asn1/InitialAmountOfMoney.h \
- src/third_party/asn1/InitialNonZeroAmountOfMoney.h \
- src/third_party/asn1/AskKickDeniedMessage.h \
- src/third_party/asn1/AskKickPlayerMessage.h \
- src/third_party/asn1/AuthMessage.h \
- src/third_party/asn1/AuthClientResponse.h \
- src/third_party/asn1/AuthServerChallenge.h \
- src/third_party/asn1/AuthServerVerification.h \
- src/third_party/asn1/asn_application.h \
+HEADERS += src/third_party/asn1/asn_application.h \
src/third_party/asn1/asn_codecs.h \
src/third_party/asn1/asn_codecs_prim.h \
src/third_party/asn1/asn_internal.h \
src/third_party/asn1/asn_SEQUENCE_OF.h \
src/third_party/asn1/asn_SET_OF.h \
src/third_party/asn1/asn_system.h \
- src/third_party/asn1/AuthenticatedLogin.h \
- src/third_party/asn1/AvatarData.h \
- src/third_party/asn1/AvatarEnd.h \
- src/third_party/asn1/AvatarHash.h \
- src/third_party/asn1/AvatarHeader.h \
- src/third_party/asn1/AvatarReplyMessage.h \
- src/third_party/asn1/AvatarRequestMessage.h \
src/third_party/asn1/ber_decoder.h \
src/third_party/asn1/ber_tlv_length.h \
src/third_party/asn1/ber_tlv_tag.h \
src/third_party/asn1/BIT_STRING.h \
src/third_party/asn1/BOOLEAN.h \
- src/third_party/asn1/Card.h \
- src/third_party/asn1/ChatMessage.h \
- src/third_party/asn1/ChatTypeGame.h \
- src/third_party/asn1/ChatTypeLobby.h \
- src/third_party/asn1/ChatTypeBot.h \
- src/third_party/asn1/ChatTypeBroadcast.h \
- src/third_party/asn1/ChatRequestMessage.h \
- src/third_party/asn1/ChatRequestTypeLobby.h \
- src/third_party/asn1/ChatRequestTypeGame.h \
src/third_party/asn1/constraints.h \
src/third_party/asn1/constr_CHOICE.h \
src/third_party/asn1/constr_SEQUENCE.h \
src/third_party/asn1/constr_SEQUENCE_OF.h \
src/third_party/asn1/constr_SET_OF.h \
src/third_party/asn1/constr_TYPE.h \
- src/third_party/asn1/DealFlopCardsMessage.h \
- src/third_party/asn1/DealRiverCardMessage.h \
- src/third_party/asn1/DealTurnCardMessage.h \
src/third_party/asn1/der_encoder.h \
- src/third_party/asn1/DialogMessage.h \
- src/third_party/asn1/EndKickPetitionMessage.h \
- src/third_party/asn1/EndOfGameMessage.h \
- src/third_party/asn1/EndOfHandHideCards.h \
- src/third_party/asn1/EndOfHandMessage.h \
- src/third_party/asn1/EndOfHandShowCards.h \
- src/third_party/asn1/ErrorMessage.h \
- src/third_party/asn1/GameAdminChanged.h \
- src/third_party/asn1/GameListAdminChanged.h \
- src/third_party/asn1/GameListMessage.h \
- src/third_party/asn1/GameListNew.h \
- src/third_party/asn1/GameListPlayerJoined.h \
- src/third_party/asn1/GameListPlayerLeft.h \
- src/third_party/asn1/GameListUpdate.h \
- src/third_party/asn1/GamePlayerJoined.h \
- src/third_party/asn1/GamePlayerLeft.h \
- src/third_party/asn1/GamePlayerMessage.h \
- src/third_party/asn1/GameStartMessage.h \
- src/third_party/asn1/GameStartModeInitial.h \
- src/third_party/asn1/GameStartModeRejoin.h \
- src/third_party/asn1/Guid.h \
- src/third_party/asn1/HandStartMessage.h \
- src/third_party/asn1/Id.h \
- src/third_party/asn1/InitAckMessage.h \
- src/third_party/asn1/InitMessage.h \
src/third_party/asn1/INTEGER.h \
- src/third_party/asn1/InviteNotifyMessage.h \
- src/third_party/asn1/InvitePlayerToGameMessage.h \
- src/third_party/asn1/JoinExistingGame.h \
- src/third_party/asn1/JoinGameAck.h \
- src/third_party/asn1/JoinGameFailed.h \
- src/third_party/asn1/JoinGameReplyMessage.h \
- src/third_party/asn1/JoinGameRequestMessage.h \
- src/third_party/asn1/JoinNewGame.h \
- src/third_party/asn1/KickPetitionUpdateMessage.h \
- src/third_party/asn1/KickPlayerRequestMessage.h \
- src/third_party/asn1/LeaveGameRequestMessage.h \
- src/third_party/asn1/MyActionRequestMessage.h \
src/third_party/asn1/NativeEnumerated.h \
src/third_party/asn1/NativeInteger.h \
- src/third_party/asn1/NetAvatarType.h \
- src/third_party/asn1/NetGameInfo.h \
- src/third_party/asn1/NetGameMode.h \
- src/third_party/asn1/NetGameState.h \
- src/third_party/asn1/NetPlayerAction.h \
- src/third_party/asn1/NetPlayerState.h \
- src/third_party/asn1/NonZeroId.h \
src/third_party/asn1/OCTET_STRING.h \
src/third_party/asn1/per_decoder.h \
src/third_party/asn1/per_encoder.h \
src/third_party/asn1/per_opentype.h \
src/third_party/asn1/per_support.h \
- src/third_party/asn1/PlayerAllIn.h \
- src/third_party/asn1/PlayerIdChangedMessage.h \
- src/third_party/asn1/PlayerInfoData.h \
- src/third_party/asn1/PlayerInfoRights.h \
- src/third_party/asn1/PlayerInfoReplyMessage.h \
- src/third_party/asn1/PlayerInfoRequestMessage.h \
- src/third_party/asn1/PlayerListMessage.h \
- src/third_party/asn1/PlayerResult.h \
- src/third_party/asn1/PlayersActionDoneMessage.h \
- src/third_party/asn1/PlayersTurnMessage.h \
- src/third_party/asn1/PokerTHMessage.h \
- src/third_party/asn1/RejectGameInvitationMessage.h \
- src/third_party/asn1/RejectGameInvReason.h \
- src/third_party/asn1/RejectInvNotifyMessage.h \
- src/third_party/asn1/RejoinEvent.h \
- src/third_party/asn1/RejoinExistingGame.h \
- src/third_party/asn1/RejoinPlayerData.h \
- src/third_party/asn1/RemovedFromGame.h \
- src/third_party/asn1/ResetTimeoutMessage.h \
- src/third_party/asn1/StartEvent.h \
- src/third_party/asn1/StartEventAckMessage.h \
- src/third_party/asn1/StartEventMessage.h \
- src/third_party/asn1/StartKickPetitionMessage.h \
- src/third_party/asn1/StatisticsData.h \
- src/third_party/asn1/StatisticsMessage.h \
- src/third_party/asn1/SubscriptionRequestMessage.h \
- src/third_party/asn1/TimeoutWarningMessage.h \
- src/third_party/asn1/UnknownAvatar.h \
- src/third_party/asn1/UnknownPlayerInfo.h \
src/third_party/asn1/UTF8String.h \
- src/third_party/asn1/Version.h \
- src/third_party/asn1/VoteKickAck.h \
- src/third_party/asn1/VoteKickDenied.h \
- src/third_party/asn1/VoteKickReplyMessage.h \
- src/third_party/asn1/VoteKickRequestMessage.h \
src/third_party/asn1/xer_decoder.h \
src/third_party/asn1/xer_encoder.h \
src/third_party/asn1/xer_support.h \
- src/third_party/asn1/YourActionRejectedMessage.h \
- src/third_party/asn1/AnnounceMessage.h \
- src/third_party/asn1/UnauthenticatedLogin.h \
- src/third_party/asn1/AfterHandShowCardsMessage.h \
- src/third_party/asn1/ShowMyCardsRequestMessage.h \
- src/third_party/asn1/PlainCards.h \
- src/third_party/asn1/EncryptedCards.h \
- src/third_party/asn1/ChatRequestTypePrivate.h \
- src/third_party/asn1/ReportAvatarMessage.h \
- src/third_party/asn1/ReportAvatarAckMessage.h \
- src/third_party/asn1/ReportGameMessage.h \
- src/third_party/asn1/ReportGameAckMessage.h \
- src/third_party/asn1/CleanerChatTypeLobby.h \
- src/third_party/asn1/CleanerChatTypeGame.h \
- src/third_party/asn1/CleanerChatType.h \
- src/third_party/asn1/ChatTypePrivate.h \
- src/third_party/asn1/ChatRejectMessage.h
+ src/third_party/asn1/ChatCleanerMessage.h \
+ src/third_party/asn1/CleanerChatTypeLobby.h \
+ src/third_party/asn1/CleanerChatTypeGame.h \
+ src/third_party/asn1/CleanerChatType.h \
+ src/third_party/asn1/CleanerInitMessage.h \
+ src/third_party/asn1/CleanerInitAckMessage.h \
+ src/third_party/asn1/CleanerChatRequestMessage.h \
+ src/third_party/asn1/CleanerChatReplyMessage.h
+HEADERS += src/third_party/protobuf/pokerth.pb.h
SOURCES += src/third_party/asn1/ChatCleanerMessage.c \
+ src/third_party/asn1/CleanerChatTypeLobby.c \
+ src/third_party/asn1/CleanerChatTypeGame.c \
+ src/third_party/asn1/CleanerChatType.c \
src/third_party/asn1/CleanerInitMessage.c \
src/third_party/asn1/CleanerInitAckMessage.c \
src/third_party/asn1/CleanerChatRequestMessage.c \
src/third_party/asn1/CleanerChatReplyMessage.c \
- src/third_party/asn1/AmountOfMoney.c \
- src/third_party/asn1/InitialAmountOfMoney.c \
- src/third_party/asn1/InitialNonZeroAmountOfMoney.c \
- src/third_party/asn1/AuthMessage.c \
- src/third_party/asn1/AuthClientResponse.c \
- src/third_party/asn1/AuthServerChallenge.c \
- src/third_party/asn1/AuthServerVerification.c \
- src/third_party/asn1/AllInShowCardsMessage.c \
- src/third_party/asn1/YourActionRejectedMessage.c \
src/third_party/asn1/xer_support.c \
src/third_party/asn1/xer_encoder.c \
src/third_party/asn1/xer_decoder.c \
- src/third_party/asn1/VoteKickRequestMessage.c \
- src/third_party/asn1/VoteKickReplyMessage.c \
- src/third_party/asn1/VoteKickDenied.c \
- src/third_party/asn1/VoteKickAck.c \
- src/third_party/asn1/Version.c \
src/third_party/asn1/UTF8String.c \
- src/third_party/asn1/UnknownPlayerInfo.c \
- src/third_party/asn1/UnknownAvatar.c \
- src/third_party/asn1/TimeoutWarningMessage.c \
- src/third_party/asn1/SubscriptionRequestMessage.c \
- src/third_party/asn1/StatisticsMessage.c \
- src/third_party/asn1/StatisticsData.c \
- src/third_party/asn1/StartKickPetitionMessage.c \
- src/third_party/asn1/StartEvent.c \
- src/third_party/asn1/StartEventMessage.c \
- src/third_party/asn1/StartEventAckMessage.c \
- src/third_party/asn1/ResetTimeoutMessage.c \
- src/third_party/asn1/RemovedFromGame.c \
- src/third_party/asn1/PokerTHMessage.c \
- src/third_party/asn1/PlayersTurnMessage.c \
- src/third_party/asn1/PlayersActionDoneMessage.c \
- src/third_party/asn1/PlayerResult.c \
- src/third_party/asn1/PlayerInfoRequestMessage.c \
- src/third_party/asn1/PlayerInfoReplyMessage.c \
- src/third_party/asn1/PlayerInfoData.c \
- src/third_party/asn1/PlayerInfoRights.c \
- src/third_party/asn1/PlayerAllIn.c \
- src/third_party/asn1/PlayerIdChangedMessage.c \
- src/third_party/asn1/PlayerListMessage.c \
src/third_party/asn1/per_support.c \
src/third_party/asn1/per_opentype.c \
src/third_party/asn1/per_encoder.c \
src/third_party/asn1/per_decoder.c \
src/third_party/asn1/OCTET_STRING.c \
- src/third_party/asn1/NonZeroId.c \
- src/third_party/asn1/NetPlayerAction.c \
- src/third_party/asn1/NetPlayerState.c \
- src/third_party/asn1/NetGameState.c \
- src/third_party/asn1/NetGameMode.c \
- src/third_party/asn1/NetGameInfo.c \
- src/third_party/asn1/NetAvatarType.c \
src/third_party/asn1/NativeInteger.c \
src/third_party/asn1/NativeEnumerated.c \
- src/third_party/asn1/MyActionRequestMessage.c \
- src/third_party/asn1/LeaveGameRequestMessage.c \
- src/third_party/asn1/KickPlayerRequestMessage.c \
- src/third_party/asn1/KickPetitionUpdateMessage.c \
- src/third_party/asn1/JoinNewGame.c \
- src/third_party/asn1/JoinGameRequestMessage.c \
- src/third_party/asn1/JoinGameReplyMessage.c \
- src/third_party/asn1/JoinGameFailed.c \
- src/third_party/asn1/JoinGameAck.c \
- src/third_party/asn1/JoinExistingGame.c \
src/third_party/asn1/INTEGER.c \
- src/third_party/asn1/InitMessage.c \
- src/third_party/asn1/InitAckMessage.c \
- src/third_party/asn1/Id.c \
- src/third_party/asn1/HandStartMessage.c \
- src/third_party/asn1/Guid.c \
- src/third_party/asn1/GameStartMessage.c \
- src/third_party/asn1/GameStartModeInitial.c \
- src/third_party/asn1/GameStartModeRejoin.c \
- src/third_party/asn1/GamePlayerMessage.c \
- src/third_party/asn1/GamePlayerLeft.c \
- src/third_party/asn1/GamePlayerJoined.c \
- src/third_party/asn1/GameListUpdate.c \
- src/third_party/asn1/GameListPlayerLeft.c \
- src/third_party/asn1/GameListPlayerJoined.c \
- src/third_party/asn1/GameListNew.c \
- src/third_party/asn1/GameListMessage.c \
- src/third_party/asn1/GameListAdminChanged.c \
- src/third_party/asn1/GameAdminChanged.c \
- src/third_party/asn1/ErrorMessage.c \
- src/third_party/asn1/EndOfHandShowCards.c \
- src/third_party/asn1/EndOfHandMessage.c \
- src/third_party/asn1/EndOfHandHideCards.c \
- src/third_party/asn1/EndOfGameMessage.c \
- src/third_party/asn1/EndKickPetitionMessage.c \
- src/third_party/asn1/DialogMessage.c \
src/third_party/asn1/der_encoder.c \
- src/third_party/asn1/DealTurnCardMessage.c \
- src/third_party/asn1/DealRiverCardMessage.c \
- src/third_party/asn1/DealFlopCardsMessage.c \
src/third_party/asn1/constraints.c \
src/third_party/asn1/constr_TYPE.c \
src/third_party/asn1/constr_SET_OF.c \
src/third_party/asn1/constr_SEQUENCE_OF.c \
src/third_party/asn1/constr_SEQUENCE.c \
src/third_party/asn1/constr_CHOICE.c \
- src/third_party/asn1/ChatRequestMessage.c \
- src/third_party/asn1/ChatRequestTypeLobby.c \
- src/third_party/asn1/ChatRequestTypeGame.c \
- src/third_party/asn1/ChatMessage.c \
- src/third_party/asn1/ChatTypeGame.c \
- src/third_party/asn1/ChatTypeLobby.c \
- src/third_party/asn1/ChatTypeBot.c \
- src/third_party/asn1/ChatTypeBroadcast.c \
- src/third_party/asn1/Card.c \
src/third_party/asn1/BOOLEAN.c \
src/third_party/asn1/BIT_STRING.c \
src/third_party/asn1/ber_tlv_tag.c \
src/third_party/asn1/ber_tlv_length.c \
src/third_party/asn1/ber_decoder.c \
- src/third_party/asn1/AvatarRequestMessage.c \
- src/third_party/asn1/AvatarReplyMessage.c \
- src/third_party/asn1/AvatarHeader.c \
- src/third_party/asn1/AvatarHash.c \
- src/third_party/asn1/AvatarEnd.c \
- src/third_party/asn1/AvatarData.c \
- src/third_party/asn1/AuthenticatedLogin.c \
src/third_party/asn1/asn_SET_OF.c \
src/third_party/asn1/asn_SEQUENCE_OF.c \
- src/third_party/asn1/asn_codecs_prim.c \
- src/third_party/asn1/AskKickPlayerMessage.c \
- src/third_party/asn1/AskKickDeniedMessage.c \
- src/third_party/asn1/GuestLogin.c \
- src/third_party/asn1/AnnounceMessage.c \
- src/third_party/asn1/UnauthenticatedLogin.c \
- src/third_party/asn1/InvitePlayerToGameMessage.c \
- src/third_party/asn1/InviteNotifyMessage.c \
- src/third_party/asn1/RejectGameInvitationMessage.c \
- src/third_party/asn1/RejectInvNotifyMessage.c \
- src/third_party/asn1/RejectGameInvReason.c \
- src/third_party/asn1/RejoinEvent.c \
- src/third_party/asn1/RejoinExistingGame.c \
- src/third_party/asn1/RejoinPlayerData.c \
- src/third_party/asn1/AfterHandShowCardsMessage.c \
- src/third_party/asn1/ShowMyCardsRequestMessage.c \
- src/third_party/asn1/EncryptedCards.c \
- src/third_party/asn1/PlainCards.c \
- src/third_party/asn1/ChatRequestTypePrivate.c \
- src/third_party/asn1/ReportAvatarMessage.c \
- src/third_party/asn1/ReportAvatarAckMessage.c \
- src/third_party/asn1/ReportGameMessage.c \
- src/third_party/asn1/ReportGameAckMessage.c \
- src/third_party/asn1/CleanerChatTypeLobby.c \
- src/third_party/asn1/CleanerChatTypeGame.c \
- src/third_party/asn1/CleanerChatType.c \
- src/third_party/asn1/ChatTypePrivate.c \
- src/third_party/asn1/ChatRejectMessage.c
+ src/third_party/asn1/asn_codecs_prim.c
SOURCES += src/third_party/protobuf/pokerth.pb.cc
win32 {
DEFINES += CURL_STATICLIB
diff --git a/src/third_party/asn1/AfterHandShowCardsMessage.c b/src/third_party/asn1/AfterHandShowCardsMessage.c
deleted file mode 100644
index bb894ad1..00000000
--- a/src/third_party/asn1/AfterHandShowCardsMessage.c
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "AfterHandShowCardsMessage.h"
-
-static asn_TYPE_member_t asn_MBR_AfterHandShowCardsMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct AfterHandShowCardsMessage, playerResult),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
- 0,
- &asn_DEF_PlayerResult,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "playerResult"
- },
-};
-static ber_tlv_tag_t asn_DEF_AfterHandShowCardsMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (34 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_AfterHandShowCardsMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* playerResult at 595 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_AfterHandShowCardsMessage_specs_1 = {
- sizeof(struct AfterHandShowCardsMessage),
- offsetof(struct AfterHandShowCardsMessage, _asn_ctx),
- asn_MAP_AfterHandShowCardsMessage_tag2el_1,
- 1, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 0, /* Start extensions */
- 2 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_AfterHandShowCardsMessage = {
- "AfterHandShowCardsMessage",
- "AfterHandShowCardsMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_AfterHandShowCardsMessage_tags_1,
- sizeof(asn_DEF_AfterHandShowCardsMessage_tags_1)
- /sizeof(asn_DEF_AfterHandShowCardsMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_AfterHandShowCardsMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_AfterHandShowCardsMessage_tags_1)
- /sizeof(asn_DEF_AfterHandShowCardsMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_AfterHandShowCardsMessage_1,
- 1, /* Elements count */
- &asn_SPC_AfterHandShowCardsMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/AfterHandShowCardsMessage.h b/src/third_party/asn1/AfterHandShowCardsMessage.h
deleted file mode 100644
index d5dd3524..00000000
--- a/src/third_party/asn1/AfterHandShowCardsMessage.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _AfterHandShowCardsMessage_H_
-#define _AfterHandShowCardsMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "PlayerResult.h"
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* AfterHandShowCardsMessage */
- typedef struct AfterHandShowCardsMessage {
- PlayerResult_t playerResult;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } AfterHandShowCardsMessage_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_AfterHandShowCardsMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _AfterHandShowCardsMessage_H_ */
-#include
diff --git a/src/third_party/asn1/AllInShowCardsMessage.c b/src/third_party/asn1/AllInShowCardsMessage.c
deleted file mode 100644
index 9bd835d3..00000000
--- a/src/third_party/asn1/AllInShowCardsMessage.c
+++ /dev/null
@@ -1,140 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "AllInShowCardsMessage.h"
-
-static int
-memb_playersAllIn_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- size_t size;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- /* Determine the number of elements */
- size = _A_CSEQUENCE_FROM_VOID(sptr)->count;
-
- if((size >= 1 && size <= 10)) {
- /* Perform validation of the inner elements */
- return td->check_constraints(td, sptr, ctfailcb, app_key);
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static asn_TYPE_member_t asn_MBR_playersAllIn_3[] = {
- { ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
- 0,
- &asn_DEF_PlayerAllIn,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- ""
- },
-};
-static ber_tlv_tag_t asn_DEF_playersAllIn_tags_3[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_SET_OF_specifics_t asn_SPC_playersAllIn_specs_3 = {
- sizeof(struct playersAllIn),
- offsetof(struct playersAllIn, _asn_ctx),
- 0, /* XER encoding is XMLDelimitedItemList */
-};
-static /* Use -fall-defs-global to expose */
-asn_TYPE_descriptor_t asn_DEF_playersAllIn_3 = {
- "playersAllIn",
- "playersAllIn",
- SEQUENCE_OF_free,
- SEQUENCE_OF_print,
- SEQUENCE_OF_constraint,
- SEQUENCE_OF_decode_ber,
- SEQUENCE_OF_encode_der,
- SEQUENCE_OF_decode_xer,
- SEQUENCE_OF_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_playersAllIn_tags_3,
- sizeof(asn_DEF_playersAllIn_tags_3)
- /sizeof(asn_DEF_playersAllIn_tags_3[0]), /* 1 */
- asn_DEF_playersAllIn_tags_3, /* Same as above */
- sizeof(asn_DEF_playersAllIn_tags_3)
- /sizeof(asn_DEF_playersAllIn_tags_3[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_playersAllIn_3,
- 1, /* Single element */
- &asn_SPC_playersAllIn_specs_3 /* Additional specs */
-};
-
-static asn_TYPE_member_t asn_MBR_AllInShowCardsMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct AllInShowCardsMessage, gameId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct AllInShowCardsMessage, playersAllIn),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
- 0,
- &asn_DEF_playersAllIn_3,
- memb_playersAllIn_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "playersAllIn"
- },
-};
-static ber_tlv_tag_t asn_DEF_AllInShowCardsMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (31 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_AllInShowCardsMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 552 */
- { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* playersAllIn at 554 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_AllInShowCardsMessage_specs_1 = {
- sizeof(struct AllInShowCardsMessage),
- offsetof(struct AllInShowCardsMessage, _asn_ctx),
- asn_MAP_AllInShowCardsMessage_tag2el_1,
- 2, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_AllInShowCardsMessage = {
- "AllInShowCardsMessage",
- "AllInShowCardsMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_AllInShowCardsMessage_tags_1,
- sizeof(asn_DEF_AllInShowCardsMessage_tags_1)
- /sizeof(asn_DEF_AllInShowCardsMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_AllInShowCardsMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_AllInShowCardsMessage_tags_1)
- /sizeof(asn_DEF_AllInShowCardsMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_AllInShowCardsMessage_1,
- 2, /* Elements count */
- &asn_SPC_AllInShowCardsMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/AllInShowCardsMessage.h b/src/third_party/asn1/AllInShowCardsMessage.h
deleted file mode 100644
index ecaf20b0..00000000
--- a/src/third_party/asn1/AllInShowCardsMessage.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _AllInShowCardsMessage_H_
-#define _AllInShowCardsMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* Forward declarations */
- struct PlayerAllIn;
-
- /* AllInShowCardsMessage */
- typedef struct AllInShowCardsMessage {
- NonZeroId_t gameId;
- struct playersAllIn {
- A_SEQUENCE_OF(struct PlayerAllIn) list;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } playersAllIn;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } AllInShowCardsMessage_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_AllInShowCardsMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Referred external types */
-#include "PlayerAllIn.h"
-
-#endif /* _AllInShowCardsMessage_H_ */
-#include
diff --git a/src/third_party/asn1/AmountOfMoney.c b/src/third_party/asn1/AmountOfMoney.c
deleted file mode 100644
index d3cef0dc..00000000
--- a/src/third_party/asn1/AmountOfMoney.c
+++ /dev/null
@@ -1,125 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "AmountOfMoney.h"
-
-int
-AmountOfMoney_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- long value;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- value = *(const long *)sptr;
-
- if((value >= 0 && value <= 10000000)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-/*
- * This type is implemented using NativeInteger,
- * so here we adjust the DEF accordingly.
- */
-static void
-AmountOfMoney_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
- td->free_struct = asn_DEF_NativeInteger.free_struct;
- td->print_struct = asn_DEF_NativeInteger.print_struct;
- td->ber_decoder = asn_DEF_NativeInteger.ber_decoder;
- td->der_encoder = asn_DEF_NativeInteger.der_encoder;
- td->xer_decoder = asn_DEF_NativeInteger.xer_decoder;
- td->xer_encoder = asn_DEF_NativeInteger.xer_encoder;
- td->uper_decoder = asn_DEF_NativeInteger.uper_decoder;
- td->uper_encoder = asn_DEF_NativeInteger.uper_encoder;
- if(!td->per_constraints)
- td->per_constraints = asn_DEF_NativeInteger.per_constraints;
- td->elements = asn_DEF_NativeInteger.elements;
- td->elements_count = asn_DEF_NativeInteger.elements_count;
- td->specifics = asn_DEF_NativeInteger.specifics;
-}
-
-void
-AmountOfMoney_free(asn_TYPE_descriptor_t *td,
- void *struct_ptr, int contents_only) {
- AmountOfMoney_1_inherit_TYPE_descriptor(td);
- td->free_struct(td, struct_ptr, contents_only);
-}
-
-int
-AmountOfMoney_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
- int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- AmountOfMoney_1_inherit_TYPE_descriptor(td);
- return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
-}
-
-asn_dec_rval_t
-AmountOfMoney_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const void *bufptr, size_t size, int tag_mode) {
- AmountOfMoney_1_inherit_TYPE_descriptor(td);
- return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
-}
-
-asn_enc_rval_t
-AmountOfMoney_encode_der(asn_TYPE_descriptor_t *td,
- void *structure, int tag_mode, ber_tlv_tag_t tag,
- asn_app_consume_bytes_f *cb, void *app_key) {
- AmountOfMoney_1_inherit_TYPE_descriptor(td);
- return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
-}
-
-asn_dec_rval_t
-AmountOfMoney_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- AmountOfMoney_1_inherit_TYPE_descriptor(td);
- return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
-}
-
-asn_enc_rval_t
-AmountOfMoney_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
- int ilevel, enum xer_encoder_flags_e flags,
- asn_app_consume_bytes_f *cb, void *app_key) {
- AmountOfMoney_1_inherit_TYPE_descriptor(td);
- return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
-}
-
-static ber_tlv_tag_t asn_DEF_AmountOfMoney_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
-};
-asn_TYPE_descriptor_t asn_DEF_AmountOfMoney = {
- "AmountOfMoney",
- "AmountOfMoney",
- AmountOfMoney_free,
- AmountOfMoney_print,
- AmountOfMoney_constraint,
- AmountOfMoney_decode_ber,
- AmountOfMoney_encode_der,
- AmountOfMoney_decode_xer,
- AmountOfMoney_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_AmountOfMoney_tags_1,
- sizeof(asn_DEF_AmountOfMoney_tags_1)
- /sizeof(asn_DEF_AmountOfMoney_tags_1[0]), /* 1 */
- asn_DEF_AmountOfMoney_tags_1, /* Same as above */
- sizeof(asn_DEF_AmountOfMoney_tags_1)
- /sizeof(asn_DEF_AmountOfMoney_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- 0, 0, /* No members */
- 0 /* No specifics */
-};
-
diff --git a/src/third_party/asn1/AmountOfMoney.h b/src/third_party/asn1/AmountOfMoney.h
deleted file mode 100644
index bb923ca6..00000000
--- a/src/third_party/asn1/AmountOfMoney.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _AmountOfMoney_H_
-#define _AmountOfMoney_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* AmountOfMoney */
- typedef long AmountOfMoney_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_AmountOfMoney;
- asn_struct_free_f AmountOfMoney_free;
- asn_struct_print_f AmountOfMoney_print;
- asn_constr_check_f AmountOfMoney_constraint;
- ber_type_decoder_f AmountOfMoney_decode_ber;
- der_type_encoder_f AmountOfMoney_encode_der;
- xer_type_decoder_f AmountOfMoney_decode_xer;
- xer_type_encoder_f AmountOfMoney_encode_xer;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _AmountOfMoney_H_ */
-#include
diff --git a/src/third_party/asn1/AnnounceMessage.c b/src/third_party/asn1/AnnounceMessage.c
deleted file mode 100644
index 6a8326be..00000000
--- a/src/third_party/asn1/AnnounceMessage.c
+++ /dev/null
@@ -1,269 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "AnnounceMessage.h"
-
-static int
-serverType_5_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- /* Replace with underlying type checker */
- td->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
- return td->check_constraints(td, sptr, ctfailcb, app_key);
-}
-
-/*
- * This type is implemented using NativeEnumerated,
- * so here we adjust the DEF accordingly.
- */
-static void
-serverType_5_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
- td->free_struct = asn_DEF_NativeEnumerated.free_struct;
- td->print_struct = asn_DEF_NativeEnumerated.print_struct;
- td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder;
- td->der_encoder = asn_DEF_NativeEnumerated.der_encoder;
- td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder;
- td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder;
- td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder;
- td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder;
- if(!td->per_constraints)
- td->per_constraints = asn_DEF_NativeEnumerated.per_constraints;
- td->elements = asn_DEF_NativeEnumerated.elements;
- td->elements_count = asn_DEF_NativeEnumerated.elements_count;
- /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */
-}
-
-static void
-serverType_5_free(asn_TYPE_descriptor_t *td,
- void *struct_ptr, int contents_only) {
- serverType_5_inherit_TYPE_descriptor(td);
- td->free_struct(td, struct_ptr, contents_only);
-}
-
-static int
-serverType_5_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
- int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- serverType_5_inherit_TYPE_descriptor(td);
- return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
-}
-
-static asn_dec_rval_t
-serverType_5_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const void *bufptr, size_t size, int tag_mode) {
- serverType_5_inherit_TYPE_descriptor(td);
- return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
-}
-
-static asn_enc_rval_t
-serverType_5_encode_der(asn_TYPE_descriptor_t *td,
- void *structure, int tag_mode, ber_tlv_tag_t tag,
- asn_app_consume_bytes_f *cb, void *app_key) {
- serverType_5_inherit_TYPE_descriptor(td);
- return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
-}
-
-static asn_dec_rval_t
-serverType_5_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- serverType_5_inherit_TYPE_descriptor(td);
- return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
-}
-
-static asn_enc_rval_t
-serverType_5_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
- int ilevel, enum xer_encoder_flags_e flags,
- asn_app_consume_bytes_f *cb, void *app_key) {
- serverType_5_inherit_TYPE_descriptor(td);
- return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
-}
-
-static int
-memb_latestBetaRevision_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- long value;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- value = *(const long *)sptr;
-
- if((value >= 0 && value <= 65535)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static int
-memb_numPlayersOnServer_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- long value;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- value = *(const long *)sptr;
-
- if((value >= 0 && value <= 65535)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static asn_INTEGER_enum_map_t asn_MAP_serverType_value2enum_5[] = {
- { 0, 13, "serverTypeLAN" },
- { 1, 24, "serverTypeInternetNoAuth" },
- { 2, 22, "serverTypeInternetAuth" }
-};
-static unsigned int asn_MAP_serverType_enum2value_5[] = {
- 2, /* serverTypeInternetAuth(2) */
- 1, /* serverTypeInternetNoAuth(1) */
- 0 /* serverTypeLAN(0) */
-};
-static asn_INTEGER_specifics_t asn_SPC_serverType_specs_5 = {
- asn_MAP_serverType_value2enum_5, /* "tag" => N; sorted by tag */
- asn_MAP_serverType_enum2value_5, /* N => "tag"; sorted by N */
- 3, /* Number of elements in the maps */
- 0, /* Enumeration is not extensible */
- 1, /* Strict enumeration */
- 0, /* Native long size */
- 0
-};
-static ber_tlv_tag_t asn_DEF_serverType_tags_5[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
-};
-static /* Use -fall-defs-global to expose */
-asn_TYPE_descriptor_t asn_DEF_serverType_5 = {
- "serverType",
- "serverType",
- serverType_5_free,
- serverType_5_print,
- serverType_5_constraint,
- serverType_5_decode_ber,
- serverType_5_encode_der,
- serverType_5_decode_xer,
- serverType_5_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_serverType_tags_5,
- sizeof(asn_DEF_serverType_tags_5)
- /sizeof(asn_DEF_serverType_tags_5[0]), /* 1 */
- asn_DEF_serverType_tags_5, /* Same as above */
- sizeof(asn_DEF_serverType_tags_5)
- /sizeof(asn_DEF_serverType_tags_5[0]), /* 1 */
- 0, /* No PER visible constraints */
- 0, 0, /* Defined elsewhere */
- &asn_SPC_serverType_specs_5 /* Additional specs */
-};
-
-static asn_TYPE_member_t asn_MBR_AnnounceMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct AnnounceMessage, protocolVersion),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
- 0,
- &asn_DEF_Version,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "protocolVersion"
- },
- { ATF_NOFLAGS, 0, offsetof(struct AnnounceMessage, latestGameVersion),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
- 0,
- &asn_DEF_Version,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "latestGameVersion"
- },
- { ATF_NOFLAGS, 0, offsetof(struct AnnounceMessage, latestBetaRevision),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NativeInteger,
- memb_latestBetaRevision_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "latestBetaRevision"
- },
- { ATF_NOFLAGS, 0, offsetof(struct AnnounceMessage, serverType),
- (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
- 0,
- &asn_DEF_serverType_5,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "serverType"
- },
- { ATF_NOFLAGS, 0, offsetof(struct AnnounceMessage, numPlayersOnServer),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NativeInteger,
- memb_numPlayersOnServer_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "numPlayersOnServer"
- },
-};
-static ber_tlv_tag_t asn_DEF_AnnounceMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (0 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_AnnounceMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, 0, 1 }, /* latestBetaRevision at 87 */
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -1, 0 }, /* numPlayersOnServer at 93 */
- { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, 0, 0 }, /* serverType at 89 */
- { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 1 }, /* protocolVersion at 85 */
- { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 0 } /* latestGameVersion at 86 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_AnnounceMessage_specs_1 = {
- sizeof(struct AnnounceMessage),
- offsetof(struct AnnounceMessage, _asn_ctx),
- asn_MAP_AnnounceMessage_tag2el_1,
- 5, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 4, /* Start extensions */
- 6 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_AnnounceMessage = {
- "AnnounceMessage",
- "AnnounceMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_AnnounceMessage_tags_1,
- sizeof(asn_DEF_AnnounceMessage_tags_1)
- /sizeof(asn_DEF_AnnounceMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_AnnounceMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_AnnounceMessage_tags_1)
- /sizeof(asn_DEF_AnnounceMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_AnnounceMessage_1,
- 5, /* Elements count */
- &asn_SPC_AnnounceMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/AnnounceMessage.h b/src/third_party/asn1/AnnounceMessage.h
deleted file mode 100644
index c554723c..00000000
--- a/src/third_party/asn1/AnnounceMessage.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _AnnounceMessage_H_
-#define _AnnounceMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "Version.h"
-#include
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* Dependencies */
- typedef enum serverType {
- serverType_serverTypeLAN = 0,
- serverType_serverTypeInternetNoAuth = 1,
- serverType_serverTypeInternetAuth = 2
- }
- e_serverType;
-
- /* AnnounceMessage */
- typedef struct AnnounceMessage {
- Version_t protocolVersion;
- Version_t latestGameVersion;
- long latestBetaRevision;
- long serverType;
- long numPlayersOnServer;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } AnnounceMessage_t;
-
- /* Implementation */
- /* extern asn_TYPE_descriptor_t asn_DEF_serverType_5; // (Use -fall-defs-global to expose) */
- extern asn_TYPE_descriptor_t asn_DEF_AnnounceMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _AnnounceMessage_H_ */
-#include
diff --git a/src/third_party/asn1/AskKickDeniedMessage.c b/src/third_party/asn1/AskKickDeniedMessage.c
deleted file mode 100644
index f0d31ecc..00000000
--- a/src/third_party/asn1/AskKickDeniedMessage.c
+++ /dev/null
@@ -1,203 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "AskKickDeniedMessage.h"
-
-static int
-kickDeniedReason_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- /* Replace with underlying type checker */
- td->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
- return td->check_constraints(td, sptr, ctfailcb, app_key);
-}
-
-/*
- * This type is implemented using NativeEnumerated,
- * so here we adjust the DEF accordingly.
- */
-static void
-kickDeniedReason_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
- td->free_struct = asn_DEF_NativeEnumerated.free_struct;
- td->print_struct = asn_DEF_NativeEnumerated.print_struct;
- td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder;
- td->der_encoder = asn_DEF_NativeEnumerated.der_encoder;
- td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder;
- td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder;
- td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder;
- td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder;
- if(!td->per_constraints)
- td->per_constraints = asn_DEF_NativeEnumerated.per_constraints;
- td->elements = asn_DEF_NativeEnumerated.elements;
- td->elements_count = asn_DEF_NativeEnumerated.elements_count;
- /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */
-}
-
-static void
-kickDeniedReason_4_free(asn_TYPE_descriptor_t *td,
- void *struct_ptr, int contents_only) {
- kickDeniedReason_4_inherit_TYPE_descriptor(td);
- td->free_struct(td, struct_ptr, contents_only);
-}
-
-static int
-kickDeniedReason_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
- int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- kickDeniedReason_4_inherit_TYPE_descriptor(td);
- return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
-}
-
-static asn_dec_rval_t
-kickDeniedReason_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const void *bufptr, size_t size, int tag_mode) {
- kickDeniedReason_4_inherit_TYPE_descriptor(td);
- return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
-}
-
-static asn_enc_rval_t
-kickDeniedReason_4_encode_der(asn_TYPE_descriptor_t *td,
- void *structure, int tag_mode, ber_tlv_tag_t tag,
- asn_app_consume_bytes_f *cb, void *app_key) {
- kickDeniedReason_4_inherit_TYPE_descriptor(td);
- return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
-}
-
-static asn_dec_rval_t
-kickDeniedReason_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- kickDeniedReason_4_inherit_TYPE_descriptor(td);
- return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
-}
-
-static asn_enc_rval_t
-kickDeniedReason_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
- int ilevel, enum xer_encoder_flags_e flags,
- asn_app_consume_bytes_f *cb, void *app_key) {
- kickDeniedReason_4_inherit_TYPE_descriptor(td);
- return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
-}
-
-static asn_INTEGER_enum_map_t asn_MAP_kickDeniedReason_value2enum_4[] = {
- { 0, 26, "kickDeniedInvalidGameState" },
- { 1, 21, "kickDeniedNotPossible" },
- { 2, 23, "kickDeniedTryAgainLater" },
- { 3, 27, "kickDeniedAlreadyInProgress" },
- { 4, 25, "kickDeniedInvalidPlayerId" }
-};
-static unsigned int asn_MAP_kickDeniedReason_enum2value_4[] = {
- 3, /* kickDeniedAlreadyInProgress(3) */
- 0, /* kickDeniedInvalidGameState(0) */
- 4, /* kickDeniedInvalidPlayerId(4) */
- 1, /* kickDeniedNotPossible(1) */
- 2 /* kickDeniedTryAgainLater(2) */
-};
-static asn_INTEGER_specifics_t asn_SPC_kickDeniedReason_specs_4 = {
- asn_MAP_kickDeniedReason_value2enum_4, /* "tag" => N; sorted by tag */
- asn_MAP_kickDeniedReason_enum2value_4, /* N => "tag"; sorted by N */
- 5, /* Number of elements in the maps */
- 0, /* Enumeration is not extensible */
- 1, /* Strict enumeration */
- 0, /* Native long size */
- 0
-};
-static ber_tlv_tag_t asn_DEF_kickDeniedReason_tags_4[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
-};
-static /* Use -fall-defs-global to expose */
-asn_TYPE_descriptor_t asn_DEF_kickDeniedReason_4 = {
- "kickDeniedReason",
- "kickDeniedReason",
- kickDeniedReason_4_free,
- kickDeniedReason_4_print,
- kickDeniedReason_4_constraint,
- kickDeniedReason_4_decode_ber,
- kickDeniedReason_4_encode_der,
- kickDeniedReason_4_decode_xer,
- kickDeniedReason_4_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_kickDeniedReason_tags_4,
- sizeof(asn_DEF_kickDeniedReason_tags_4)
- /sizeof(asn_DEF_kickDeniedReason_tags_4[0]), /* 1 */
- asn_DEF_kickDeniedReason_tags_4, /* Same as above */
- sizeof(asn_DEF_kickDeniedReason_tags_4)
- /sizeof(asn_DEF_kickDeniedReason_tags_4[0]), /* 1 */
- 0, /* No PER visible constraints */
- 0, 0, /* Defined elsewhere */
- &asn_SPC_kickDeniedReason_specs_4 /* Additional specs */
-};
-
-static asn_TYPE_member_t asn_MBR_AskKickDeniedMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct AskKickDeniedMessage, gameId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct AskKickDeniedMessage, playerId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "playerId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct AskKickDeniedMessage, kickDeniedReason),
- (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
- 0,
- &asn_DEF_kickDeniedReason_4,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "kickDeniedReason"
- },
-};
-static ber_tlv_tag_t asn_DEF_AskKickDeniedMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (65 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_AskKickDeniedMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 613 */
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 614 */
- { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* kickDeniedReason at 616 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_AskKickDeniedMessage_specs_1 = {
- sizeof(struct AskKickDeniedMessage),
- offsetof(struct AskKickDeniedMessage, _asn_ctx),
- asn_MAP_AskKickDeniedMessage_tag2el_1,
- 3, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 2, /* Start extensions */
- 4 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_AskKickDeniedMessage = {
- "AskKickDeniedMessage",
- "AskKickDeniedMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_AskKickDeniedMessage_tags_1,
- sizeof(asn_DEF_AskKickDeniedMessage_tags_1)
- /sizeof(asn_DEF_AskKickDeniedMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_AskKickDeniedMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_AskKickDeniedMessage_tags_1)
- /sizeof(asn_DEF_AskKickDeniedMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_AskKickDeniedMessage_1,
- 3, /* Elements count */
- &asn_SPC_AskKickDeniedMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/AskKickDeniedMessage.h b/src/third_party/asn1/AskKickDeniedMessage.h
deleted file mode 100644
index 9fa920ad..00000000
--- a/src/third_party/asn1/AskKickDeniedMessage.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _AskKickDeniedMessage_H_
-#define _AskKickDeniedMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* Dependencies */
- typedef enum kickDeniedReason {
- kickDeniedReason_kickDeniedInvalidGameState = 0,
- kickDeniedReason_kickDeniedNotPossible = 1,
- kickDeniedReason_kickDeniedTryAgainLater = 2,
- kickDeniedReason_kickDeniedAlreadyInProgress = 3,
- kickDeniedReason_kickDeniedInvalidPlayerId = 4
- }
- e_kickDeniedReason;
-
- /* AskKickDeniedMessage */
- typedef struct AskKickDeniedMessage {
- NonZeroId_t gameId;
- NonZeroId_t playerId;
- long kickDeniedReason;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } AskKickDeniedMessage_t;
-
- /* Implementation */
- /* extern asn_TYPE_descriptor_t asn_DEF_kickDeniedReason_4; // (Use -fall-defs-global to expose) */
- extern asn_TYPE_descriptor_t asn_DEF_AskKickDeniedMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _AskKickDeniedMessage_H_ */
-#include
diff --git a/src/third_party/asn1/AskKickPlayerMessage.c b/src/third_party/asn1/AskKickPlayerMessage.c
deleted file mode 100644
index 4b5103b0..00000000
--- a/src/third_party/asn1/AskKickPlayerMessage.c
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "AskKickPlayerMessage.h"
-
-static asn_TYPE_member_t asn_MBR_AskKickPlayerMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct AskKickPlayerMessage, gameId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct AskKickPlayerMessage, playerId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "playerId"
- },
-};
-static ber_tlv_tag_t asn_DEF_AskKickPlayerMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (64 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_AskKickPlayerMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 608 */
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 610 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_AskKickPlayerMessage_specs_1 = {
- sizeof(struct AskKickPlayerMessage),
- offsetof(struct AskKickPlayerMessage, _asn_ctx),
- asn_MAP_AskKickPlayerMessage_tag2el_1,
- 2, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_AskKickPlayerMessage = {
- "AskKickPlayerMessage",
- "AskKickPlayerMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_AskKickPlayerMessage_tags_1,
- sizeof(asn_DEF_AskKickPlayerMessage_tags_1)
- /sizeof(asn_DEF_AskKickPlayerMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_AskKickPlayerMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_AskKickPlayerMessage_tags_1)
- /sizeof(asn_DEF_AskKickPlayerMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_AskKickPlayerMessage_1,
- 2, /* Elements count */
- &asn_SPC_AskKickPlayerMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/AskKickPlayerMessage.h b/src/third_party/asn1/AskKickPlayerMessage.h
deleted file mode 100644
index 23b4f3b7..00000000
--- a/src/third_party/asn1/AskKickPlayerMessage.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _AskKickPlayerMessage_H_
-#define _AskKickPlayerMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* AskKickPlayerMessage */
- typedef struct AskKickPlayerMessage {
- NonZeroId_t gameId;
- NonZeroId_t playerId;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } AskKickPlayerMessage_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_AskKickPlayerMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _AskKickPlayerMessage_H_ */
-#include
diff --git a/src/third_party/asn1/AuthClientResponse.c b/src/third_party/asn1/AuthClientResponse.c
deleted file mode 100644
index 349ed4b5..00000000
--- a/src/third_party/asn1/AuthClientResponse.c
+++ /dev/null
@@ -1,85 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "AuthClientResponse.h"
-
-static int
-memb_clientResponse_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr;
- size_t size;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- size = st->size;
-
- if((size >= 1 && size <= 256)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static asn_TYPE_member_t asn_MBR_AuthClientResponse_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct AuthClientResponse, clientResponse),
- (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
- 0,
- &asn_DEF_OCTET_STRING,
- memb_clientResponse_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "clientResponse"
- },
-};
-static ber_tlv_tag_t asn_DEF_AuthClientResponse_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_AuthClientResponse_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* clientResponse at 140 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_AuthClientResponse_specs_1 = {
- sizeof(struct AuthClientResponse),
- offsetof(struct AuthClientResponse, _asn_ctx),
- asn_MAP_AuthClientResponse_tag2el_1,
- 1, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 0, /* Start extensions */
- 2 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_AuthClientResponse = {
- "AuthClientResponse",
- "AuthClientResponse",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_AuthClientResponse_tags_1,
- sizeof(asn_DEF_AuthClientResponse_tags_1)
- /sizeof(asn_DEF_AuthClientResponse_tags_1[0]), /* 1 */
- asn_DEF_AuthClientResponse_tags_1, /* Same as above */
- sizeof(asn_DEF_AuthClientResponse_tags_1)
- /sizeof(asn_DEF_AuthClientResponse_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_AuthClientResponse_1,
- 1, /* Elements count */
- &asn_SPC_AuthClientResponse_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/AuthClientResponse.h b/src/third_party/asn1/AuthClientResponse.h
deleted file mode 100644
index 180aae14..00000000
--- a/src/third_party/asn1/AuthClientResponse.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _AuthClientResponse_H_
-#define _AuthClientResponse_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* AuthClientResponse */
- typedef struct AuthClientResponse {
- OCTET_STRING_t clientResponse;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } AuthClientResponse_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_AuthClientResponse;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _AuthClientResponse_H_ */
-#include
diff --git a/src/third_party/asn1/AuthMessage.c b/src/third_party/asn1/AuthMessage.c
deleted file mode 100644
index 8f0ede8c..00000000
--- a/src/third_party/asn1/AuthMessage.c
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "AuthMessage.h"
-
-static asn_TYPE_member_t asn_MBR_AuthMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct AuthMessage, choice.authServerChallenge),
- (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_AuthServerChallenge,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "authServerChallenge"
- },
- { ATF_NOFLAGS, 0, offsetof(struct AuthMessage, choice.authClientResponse),
- (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_AuthClientResponse,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "authClientResponse"
- },
- { ATF_NOFLAGS, 0, offsetof(struct AuthMessage, choice.authServerVerification),
- (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_AuthServerVerification,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "authServerVerification"
- },
-};
-static ber_tlv_tag_t asn_DEF_AuthMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (2 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_AuthMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* authServerChallenge at 130 */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* authClientResponse at 131 */
- { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* authServerVerification at 133 */
-};
-static asn_CHOICE_specifics_t asn_SPC_AuthMessage_specs_1 = {
- sizeof(struct AuthMessage),
- offsetof(struct AuthMessage, _asn_ctx),
- offsetof(struct AuthMessage, present),
- sizeof(((struct AuthMessage *)0)->present),
- asn_MAP_AuthMessage_tag2el_1,
- 3, /* Count of tags in the map */
- 0,
- 3 /* Extensions start */
-};
-asn_TYPE_descriptor_t asn_DEF_AuthMessage = {
- "AuthMessage",
- "AuthMessage",
- CHOICE_free,
- CHOICE_print,
- CHOICE_constraint,
- CHOICE_decode_ber,
- CHOICE_encode_der,
- CHOICE_decode_xer,
- CHOICE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- CHOICE_outmost_tag,
- asn_DEF_AuthMessage_tags_1,
- sizeof(asn_DEF_AuthMessage_tags_1)
- /sizeof(asn_DEF_AuthMessage_tags_1[0]), /* 1 */
- asn_DEF_AuthMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_AuthMessage_tags_1)
- /sizeof(asn_DEF_AuthMessage_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_AuthMessage_1,
- 3, /* Elements count */
- &asn_SPC_AuthMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/AuthMessage.h b/src/third_party/asn1/AuthMessage.h
deleted file mode 100644
index e141383b..00000000
--- a/src/third_party/asn1/AuthMessage.h
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _AuthMessage_H_
-#define _AuthMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "AuthServerChallenge.h"
-#include "AuthClientResponse.h"
-#include "AuthServerVerification.h"
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* Dependencies */
- typedef enum AuthMessage_PR {
- AuthMessage_PR_NOTHING, /* No components present */
- AuthMessage_PR_authServerChallenge,
- AuthMessage_PR_authClientResponse,
- AuthMessage_PR_authServerVerification,
- /* Extensions may appear below */
-
- }
- AuthMessage_PR;
-
- /* AuthMessage */
- typedef struct AuthMessage {
- AuthMessage_PR present;
- union AuthMessage_u {
- AuthServerChallenge_t authServerChallenge;
- AuthClientResponse_t authClientResponse;
- AuthServerVerification_t authServerVerification;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
- } choice;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } AuthMessage_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_AuthMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _AuthMessage_H_ */
-#include
diff --git a/src/third_party/asn1/AuthServerChallenge.c b/src/third_party/asn1/AuthServerChallenge.c
deleted file mode 100644
index 1b97ab83..00000000
--- a/src/third_party/asn1/AuthServerChallenge.c
+++ /dev/null
@@ -1,85 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "AuthServerChallenge.h"
-
-static int
-memb_serverChallenge_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr;
- size_t size;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- size = st->size;
-
- if((size >= 1 && size <= 256)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static asn_TYPE_member_t asn_MBR_AuthServerChallenge_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct AuthServerChallenge, serverChallenge),
- (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
- 0,
- &asn_DEF_OCTET_STRING,
- memb_serverChallenge_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "serverChallenge"
- },
-};
-static ber_tlv_tag_t asn_DEF_AuthServerChallenge_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_AuthServerChallenge_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* serverChallenge at 136 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_AuthServerChallenge_specs_1 = {
- sizeof(struct AuthServerChallenge),
- offsetof(struct AuthServerChallenge, _asn_ctx),
- asn_MAP_AuthServerChallenge_tag2el_1,
- 1, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 0, /* Start extensions */
- 2 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_AuthServerChallenge = {
- "AuthServerChallenge",
- "AuthServerChallenge",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_AuthServerChallenge_tags_1,
- sizeof(asn_DEF_AuthServerChallenge_tags_1)
- /sizeof(asn_DEF_AuthServerChallenge_tags_1[0]), /* 1 */
- asn_DEF_AuthServerChallenge_tags_1, /* Same as above */
- sizeof(asn_DEF_AuthServerChallenge_tags_1)
- /sizeof(asn_DEF_AuthServerChallenge_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_AuthServerChallenge_1,
- 1, /* Elements count */
- &asn_SPC_AuthServerChallenge_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/AuthServerChallenge.h b/src/third_party/asn1/AuthServerChallenge.h
deleted file mode 100644
index 259e688c..00000000
--- a/src/third_party/asn1/AuthServerChallenge.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _AuthServerChallenge_H_
-#define _AuthServerChallenge_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* AuthServerChallenge */
- typedef struct AuthServerChallenge {
- OCTET_STRING_t serverChallenge;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } AuthServerChallenge_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_AuthServerChallenge;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _AuthServerChallenge_H_ */
-#include
diff --git a/src/third_party/asn1/AuthServerVerification.c b/src/third_party/asn1/AuthServerVerification.c
deleted file mode 100644
index cf8f37c2..00000000
--- a/src/third_party/asn1/AuthServerVerification.c
+++ /dev/null
@@ -1,85 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "AuthServerVerification.h"
-
-static int
-memb_serverVerification_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr;
- size_t size;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- size = st->size;
-
- if((size >= 1 && size <= 256)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static asn_TYPE_member_t asn_MBR_AuthServerVerification_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct AuthServerVerification, serverVerification),
- (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
- 0,
- &asn_DEF_OCTET_STRING,
- memb_serverVerification_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "serverVerification"
- },
-};
-static ber_tlv_tag_t asn_DEF_AuthServerVerification_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_AuthServerVerification_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* serverVerification at 144 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_AuthServerVerification_specs_1 = {
- sizeof(struct AuthServerVerification),
- offsetof(struct AuthServerVerification, _asn_ctx),
- asn_MAP_AuthServerVerification_tag2el_1,
- 1, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 0, /* Start extensions */
- 2 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_AuthServerVerification = {
- "AuthServerVerification",
- "AuthServerVerification",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_AuthServerVerification_tags_1,
- sizeof(asn_DEF_AuthServerVerification_tags_1)
- /sizeof(asn_DEF_AuthServerVerification_tags_1[0]), /* 1 */
- asn_DEF_AuthServerVerification_tags_1, /* Same as above */
- sizeof(asn_DEF_AuthServerVerification_tags_1)
- /sizeof(asn_DEF_AuthServerVerification_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_AuthServerVerification_1,
- 1, /* Elements count */
- &asn_SPC_AuthServerVerification_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/AuthServerVerification.h b/src/third_party/asn1/AuthServerVerification.h
deleted file mode 100644
index 6fe0282c..00000000
--- a/src/third_party/asn1/AuthServerVerification.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _AuthServerVerification_H_
-#define _AuthServerVerification_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* AuthServerVerification */
- typedef struct AuthServerVerification {
- OCTET_STRING_t serverVerification;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } AuthServerVerification_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_AuthServerVerification;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _AuthServerVerification_H_ */
-#include
diff --git a/src/third_party/asn1/AuthenticatedLogin.c b/src/third_party/asn1/AuthenticatedLogin.c
deleted file mode 100644
index a8127082..00000000
--- a/src/third_party/asn1/AuthenticatedLogin.c
+++ /dev/null
@@ -1,95 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "AuthenticatedLogin.h"
-
-static int
-memb_clientUserData_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr;
- size_t size;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- size = st->size;
-
- if((size >= 1 && size <= 256)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static asn_TYPE_member_t asn_MBR_AuthenticatedLogin_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct AuthenticatedLogin, clientUserData),
- (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
- 0,
- &asn_DEF_OCTET_STRING,
- memb_clientUserData_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "clientUserData"
- },
- { ATF_POINTER, 1, offsetof(struct AuthenticatedLogin, avatar),
- (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
- 0,
- &asn_DEF_AvatarHash,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "avatar"
- },
-};
-static ber_tlv_tag_t asn_DEF_AuthenticatedLogin_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_AuthenticatedLogin_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 1 }, /* clientUserData at 120 */
- { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, -1, 0 } /* avatar at 121 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_AuthenticatedLogin_specs_1 = {
- sizeof(struct AuthenticatedLogin),
- offsetof(struct AuthenticatedLogin, _asn_ctx),
- asn_MAP_AuthenticatedLogin_tag2el_1,
- 2, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_AuthenticatedLogin = {
- "AuthenticatedLogin",
- "AuthenticatedLogin",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_AuthenticatedLogin_tags_1,
- sizeof(asn_DEF_AuthenticatedLogin_tags_1)
- /sizeof(asn_DEF_AuthenticatedLogin_tags_1[0]), /* 1 */
- asn_DEF_AuthenticatedLogin_tags_1, /* Same as above */
- sizeof(asn_DEF_AuthenticatedLogin_tags_1)
- /sizeof(asn_DEF_AuthenticatedLogin_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_AuthenticatedLogin_1,
- 2, /* Elements count */
- &asn_SPC_AuthenticatedLogin_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/AuthenticatedLogin.h b/src/third_party/asn1/AuthenticatedLogin.h
deleted file mode 100644
index c6445b6d..00000000
--- a/src/third_party/asn1/AuthenticatedLogin.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _AuthenticatedLogin_H_
-#define _AuthenticatedLogin_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-#include "AvatarHash.h"
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* AuthenticatedLogin */
- typedef struct AuthenticatedLogin {
- OCTET_STRING_t clientUserData;
- AvatarHash_t *avatar /* OPTIONAL */;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } AuthenticatedLogin_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_AuthenticatedLogin;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _AuthenticatedLogin_H_ */
-#include
diff --git a/src/third_party/asn1/AvatarData.c b/src/third_party/asn1/AvatarData.c
deleted file mode 100644
index 181d5116..00000000
--- a/src/third_party/asn1/AvatarData.c
+++ /dev/null
@@ -1,85 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "AvatarData.h"
-
-static int
-memb_avatarBlock_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr;
- size_t size;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- size = st->size;
-
- if((size >= 1 && size <= 256)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static asn_TYPE_member_t asn_MBR_AvatarData_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct AvatarData, avatarBlock),
- (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
- 0,
- &asn_DEF_OCTET_STRING,
- memb_avatarBlock_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "avatarBlock"
- },
-};
-static ber_tlv_tag_t asn_DEF_AvatarData_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_AvatarData_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* avatarBlock at 175 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_AvatarData_specs_1 = {
- sizeof(struct AvatarData),
- offsetof(struct AvatarData, _asn_ctx),
- asn_MAP_AvatarData_tag2el_1,
- 1, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 0, /* Start extensions */
- 2 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_AvatarData = {
- "AvatarData",
- "AvatarData",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_AvatarData_tags_1,
- sizeof(asn_DEF_AvatarData_tags_1)
- /sizeof(asn_DEF_AvatarData_tags_1[0]), /* 1 */
- asn_DEF_AvatarData_tags_1, /* Same as above */
- sizeof(asn_DEF_AvatarData_tags_1)
- /sizeof(asn_DEF_AvatarData_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_AvatarData_1,
- 1, /* Elements count */
- &asn_SPC_AvatarData_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/AvatarData.h b/src/third_party/asn1/AvatarData.h
deleted file mode 100644
index 0a7a11f8..00000000
--- a/src/third_party/asn1/AvatarData.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _AvatarData_H_
-#define _AvatarData_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* AvatarData */
- typedef struct AvatarData {
- OCTET_STRING_t avatarBlock;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } AvatarData_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_AvatarData;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _AvatarData_H_ */
-#include
diff --git a/src/third_party/asn1/AvatarEnd.c b/src/third_party/asn1/AvatarEnd.c
deleted file mode 100644
index c0a75523..00000000
--- a/src/third_party/asn1/AvatarEnd.c
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "AvatarEnd.h"
-
-static ber_tlv_tag_t asn_DEF_AvatarEnd_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_SEQUENCE_specifics_t asn_SPC_AvatarEnd_specs_1 = {
- sizeof(struct AvatarEnd),
- offsetof(struct AvatarEnd, _asn_ctx),
- 0, /* No top level tags */
- 0, /* No tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- -1, /* Start extensions */
- -1 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_AvatarEnd = {
- "AvatarEnd",
- "AvatarEnd",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_AvatarEnd_tags_1,
- sizeof(asn_DEF_AvatarEnd_tags_1)
- /sizeof(asn_DEF_AvatarEnd_tags_1[0]), /* 1 */
- asn_DEF_AvatarEnd_tags_1, /* Same as above */
- sizeof(asn_DEF_AvatarEnd_tags_1)
- /sizeof(asn_DEF_AvatarEnd_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- 0, 0, /* No members */
- &asn_SPC_AvatarEnd_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/AvatarEnd.h b/src/third_party/asn1/AvatarEnd.h
deleted file mode 100644
index 69b62379..00000000
--- a/src/third_party/asn1/AvatarEnd.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _AvatarEnd_H_
-#define _AvatarEnd_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* AvatarEnd */
- typedef struct AvatarEnd {
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } AvatarEnd_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_AvatarEnd;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _AvatarEnd_H_ */
-#include
diff --git a/src/third_party/asn1/AvatarHash.c b/src/third_party/asn1/AvatarHash.c
deleted file mode 100644
index 6034cdc1..00000000
--- a/src/third_party/asn1/AvatarHash.c
+++ /dev/null
@@ -1,126 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "AvatarHash.h"
-
-int
-AvatarHash_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr;
- size_t size;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- size = st->size;
-
- if((size == 16)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-/*
- * This type is implemented using OCTET_STRING,
- * so here we adjust the DEF accordingly.
- */
-static void
-AvatarHash_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
- td->free_struct = asn_DEF_OCTET_STRING.free_struct;
- td->print_struct = asn_DEF_OCTET_STRING.print_struct;
- td->ber_decoder = asn_DEF_OCTET_STRING.ber_decoder;
- td->der_encoder = asn_DEF_OCTET_STRING.der_encoder;
- td->xer_decoder = asn_DEF_OCTET_STRING.xer_decoder;
- td->xer_encoder = asn_DEF_OCTET_STRING.xer_encoder;
- td->uper_decoder = asn_DEF_OCTET_STRING.uper_decoder;
- td->uper_encoder = asn_DEF_OCTET_STRING.uper_encoder;
- if(!td->per_constraints)
- td->per_constraints = asn_DEF_OCTET_STRING.per_constraints;
- td->elements = asn_DEF_OCTET_STRING.elements;
- td->elements_count = asn_DEF_OCTET_STRING.elements_count;
- td->specifics = asn_DEF_OCTET_STRING.specifics;
-}
-
-void
-AvatarHash_free(asn_TYPE_descriptor_t *td,
- void *struct_ptr, int contents_only) {
- AvatarHash_1_inherit_TYPE_descriptor(td);
- td->free_struct(td, struct_ptr, contents_only);
-}
-
-int
-AvatarHash_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
- int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- AvatarHash_1_inherit_TYPE_descriptor(td);
- return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
-}
-
-asn_dec_rval_t
-AvatarHash_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const void *bufptr, size_t size, int tag_mode) {
- AvatarHash_1_inherit_TYPE_descriptor(td);
- return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
-}
-
-asn_enc_rval_t
-AvatarHash_encode_der(asn_TYPE_descriptor_t *td,
- void *structure, int tag_mode, ber_tlv_tag_t tag,
- asn_app_consume_bytes_f *cb, void *app_key) {
- AvatarHash_1_inherit_TYPE_descriptor(td);
- return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
-}
-
-asn_dec_rval_t
-AvatarHash_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- AvatarHash_1_inherit_TYPE_descriptor(td);
- return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
-}
-
-asn_enc_rval_t
-AvatarHash_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
- int ilevel, enum xer_encoder_flags_e flags,
- asn_app_consume_bytes_f *cb, void *app_key) {
- AvatarHash_1_inherit_TYPE_descriptor(td);
- return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
-}
-
-static ber_tlv_tag_t asn_DEF_AvatarHash_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
-};
-asn_TYPE_descriptor_t asn_DEF_AvatarHash = {
- "AvatarHash",
- "AvatarHash",
- AvatarHash_free,
- AvatarHash_print,
- AvatarHash_constraint,
- AvatarHash_decode_ber,
- AvatarHash_encode_der,
- AvatarHash_decode_xer,
- AvatarHash_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_AvatarHash_tags_1,
- sizeof(asn_DEF_AvatarHash_tags_1)
- /sizeof(asn_DEF_AvatarHash_tags_1[0]), /* 1 */
- asn_DEF_AvatarHash_tags_1, /* Same as above */
- sizeof(asn_DEF_AvatarHash_tags_1)
- /sizeof(asn_DEF_AvatarHash_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- 0, 0, /* No members */
- 0 /* No specifics */
-};
-
diff --git a/src/third_party/asn1/AvatarHash.h b/src/third_party/asn1/AvatarHash.h
deleted file mode 100644
index 8507e6b9..00000000
--- a/src/third_party/asn1/AvatarHash.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _AvatarHash_H_
-#define _AvatarHash_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* AvatarHash */
- typedef OCTET_STRING_t AvatarHash_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_AvatarHash;
- asn_struct_free_f AvatarHash_free;
- asn_struct_print_f AvatarHash_print;
- asn_constr_check_f AvatarHash_constraint;
- ber_type_decoder_f AvatarHash_decode_ber;
- der_type_encoder_f AvatarHash_encode_der;
- xer_type_decoder_f AvatarHash_decode_xer;
- xer_type_encoder_f AvatarHash_encode_xer;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _AvatarHash_H_ */
-#include
diff --git a/src/third_party/asn1/AvatarHeader.c b/src/third_party/asn1/AvatarHeader.c
deleted file mode 100644
index 3499e5d5..00000000
--- a/src/third_party/asn1/AvatarHeader.c
+++ /dev/null
@@ -1,94 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "AvatarHeader.h"
-
-static int
-memb_avatarSize_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- long value;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- value = *(const long *)sptr;
-
- if((value >= 32 && value <= 30720)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static asn_TYPE_member_t asn_MBR_AvatarHeader_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct AvatarHeader, avatarType),
- (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
- 0,
- &asn_DEF_NetAvatarType,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "avatarType"
- },
- { ATF_NOFLAGS, 0, offsetof(struct AvatarHeader, avatarSize),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NativeInteger,
- memb_avatarSize_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "avatarSize"
- },
-};
-static ber_tlv_tag_t asn_DEF_AvatarHeader_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_AvatarHeader_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* avatarSize at 171 */
- { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* avatarType at 170 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_AvatarHeader_specs_1 = {
- sizeof(struct AvatarHeader),
- offsetof(struct AvatarHeader, _asn_ctx),
- asn_MAP_AvatarHeader_tag2el_1,
- 2, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_AvatarHeader = {
- "AvatarHeader",
- "AvatarHeader",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_AvatarHeader_tags_1,
- sizeof(asn_DEF_AvatarHeader_tags_1)
- /sizeof(asn_DEF_AvatarHeader_tags_1[0]), /* 1 */
- asn_DEF_AvatarHeader_tags_1, /* Same as above */
- sizeof(asn_DEF_AvatarHeader_tags_1)
- /sizeof(asn_DEF_AvatarHeader_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_AvatarHeader_1,
- 2, /* Elements count */
- &asn_SPC_AvatarHeader_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/AvatarHeader.h b/src/third_party/asn1/AvatarHeader.h
deleted file mode 100644
index 19a132f9..00000000
--- a/src/third_party/asn1/AvatarHeader.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _AvatarHeader_H_
-#define _AvatarHeader_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NetAvatarType.h"
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* AvatarHeader */
- typedef struct AvatarHeader {
- NetAvatarType_t avatarType;
- long avatarSize;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } AvatarHeader_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_AvatarHeader;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _AvatarHeader_H_ */
-#include
diff --git a/src/third_party/asn1/AvatarReplyMessage.c b/src/third_party/asn1/AvatarReplyMessage.c
deleted file mode 100644
index f5d5520f..00000000
--- a/src/third_party/asn1/AvatarReplyMessage.c
+++ /dev/null
@@ -1,150 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "AvatarReplyMessage.h"
-
-static asn_TYPE_member_t asn_MBR_avatarResult_3[] = {
- { ATF_NOFLAGS, 0, offsetof(struct avatarResult, choice.avatarHeader),
- (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_AvatarHeader,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "avatarHeader"
- },
- { ATF_NOFLAGS, 0, offsetof(struct avatarResult, choice.avatarData),
- (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_AvatarData,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "avatarData"
- },
- { ATF_NOFLAGS, 0, offsetof(struct avatarResult, choice.avatarEnd),
- (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_AvatarEnd,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "avatarEnd"
- },
- { ATF_NOFLAGS, 0, offsetof(struct avatarResult, choice.unknownAvatar),
- (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_UnknownAvatar,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "unknownAvatar"
- },
-};
-static asn_TYPE_tag2member_t asn_MAP_avatarResult_tag2el_3[] = {
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* avatarHeader at 162 */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 163 */
- { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* avatarEnd at 164 */
- { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* unknownAvatar at 166 */
-};
-static asn_CHOICE_specifics_t asn_SPC_avatarResult_specs_3 = {
- sizeof(struct avatarResult),
- offsetof(struct avatarResult, _asn_ctx),
- offsetof(struct avatarResult, present),
- sizeof(((struct avatarResult *)0)->present),
- asn_MAP_avatarResult_tag2el_3,
- 4, /* Count of tags in the map */
- 0,
- 4 /* Extensions start */
-};
-static /* Use -fall-defs-global to expose */
-asn_TYPE_descriptor_t asn_DEF_avatarResult_3 = {
- "avatarResult",
- "avatarResult",
- CHOICE_free,
- CHOICE_print,
- CHOICE_constraint,
- CHOICE_decode_ber,
- CHOICE_encode_der,
- CHOICE_decode_xer,
- CHOICE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- CHOICE_outmost_tag,
- 0, /* No effective tags (pointer) */
- 0, /* No effective tags (count) */
- 0, /* No tags (pointer) */
- 0, /* No tags (count) */
- 0, /* No PER visible constraints */
- asn_MBR_avatarResult_3,
- 4, /* Elements count */
- &asn_SPC_avatarResult_specs_3 /* Additional specs */
-};
-
-static asn_TYPE_member_t asn_MBR_AvatarReplyMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct AvatarReplyMessage, requestId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "requestId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct AvatarReplyMessage, avatarResult),
- -1 /* Ambiguous tag (CHOICE?) */,
- 0,
- &asn_DEF_avatarResult_3,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "avatarResult"
- },
-};
-static ber_tlv_tag_t asn_DEF_AvatarReplyMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (5 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_AvatarReplyMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* requestId at 160 */
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* avatarHeader at 162 */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 163 */
- { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* avatarEnd at 164 */
- { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* unknownAvatar at 166 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_AvatarReplyMessage_specs_1 = {
- sizeof(struct AvatarReplyMessage),
- offsetof(struct AvatarReplyMessage, _asn_ctx),
- asn_MAP_AvatarReplyMessage_tag2el_1,
- 5, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_AvatarReplyMessage = {
- "AvatarReplyMessage",
- "AvatarReplyMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_AvatarReplyMessage_tags_1,
- sizeof(asn_DEF_AvatarReplyMessage_tags_1)
- /sizeof(asn_DEF_AvatarReplyMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_AvatarReplyMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_AvatarReplyMessage_tags_1)
- /sizeof(asn_DEF_AvatarReplyMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_AvatarReplyMessage_1,
- 2, /* Elements count */
- &asn_SPC_AvatarReplyMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/AvatarReplyMessage.h b/src/third_party/asn1/AvatarReplyMessage.h
deleted file mode 100644
index 98d0554e..00000000
--- a/src/third_party/asn1/AvatarReplyMessage.h
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _AvatarReplyMessage_H_
-#define _AvatarReplyMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include "AvatarHeader.h"
-#include "AvatarData.h"
-#include "AvatarEnd.h"
-#include "UnknownAvatar.h"
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* Dependencies */
- typedef enum avatarResult_PR {
- avatarResult_PR_NOTHING, /* No components present */
- avatarResult_PR_avatarHeader,
- avatarResult_PR_avatarData,
- avatarResult_PR_avatarEnd,
- avatarResult_PR_unknownAvatar,
- /* Extensions may appear below */
-
- }
- avatarResult_PR;
-
- /* AvatarReplyMessage */
- typedef struct AvatarReplyMessage {
- NonZeroId_t requestId;
- struct avatarResult {
- avatarResult_PR present;
- union AvatarReplyMessage__avatarResult_u {
- AvatarHeader_t avatarHeader;
- AvatarData_t avatarData;
- AvatarEnd_t avatarEnd;
- UnknownAvatar_t unknownAvatar;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
- } choice;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } avatarResult;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } AvatarReplyMessage_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_AvatarReplyMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _AvatarReplyMessage_H_ */
-#include
diff --git a/src/third_party/asn1/AvatarRequestMessage.c b/src/third_party/asn1/AvatarRequestMessage.c
deleted file mode 100644
index ee1a468b..00000000
--- a/src/third_party/asn1/AvatarRequestMessage.c
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "AvatarRequestMessage.h"
-
-static asn_TYPE_member_t asn_MBR_AvatarRequestMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct AvatarRequestMessage, requestId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "requestId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct AvatarRequestMessage, avatar),
- (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
- 0,
- &asn_DEF_AvatarHash,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "avatar"
- },
-};
-static ber_tlv_tag_t asn_DEF_AvatarRequestMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (4 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_AvatarRequestMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* requestId at 155 */
- { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 } /* avatar at 157 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_AvatarRequestMessage_specs_1 = {
- sizeof(struct AvatarRequestMessage),
- offsetof(struct AvatarRequestMessage, _asn_ctx),
- asn_MAP_AvatarRequestMessage_tag2el_1,
- 2, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_AvatarRequestMessage = {
- "AvatarRequestMessage",
- "AvatarRequestMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_AvatarRequestMessage_tags_1,
- sizeof(asn_DEF_AvatarRequestMessage_tags_1)
- /sizeof(asn_DEF_AvatarRequestMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_AvatarRequestMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_AvatarRequestMessage_tags_1)
- /sizeof(asn_DEF_AvatarRequestMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_AvatarRequestMessage_1,
- 2, /* Elements count */
- &asn_SPC_AvatarRequestMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/AvatarRequestMessage.h b/src/third_party/asn1/AvatarRequestMessage.h
deleted file mode 100644
index 325c04b4..00000000
--- a/src/third_party/asn1/AvatarRequestMessage.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _AvatarRequestMessage_H_
-#define _AvatarRequestMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include "AvatarHash.h"
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* AvatarRequestMessage */
- typedef struct AvatarRequestMessage {
- NonZeroId_t requestId;
- AvatarHash_t avatar;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } AvatarRequestMessage_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_AvatarRequestMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _AvatarRequestMessage_H_ */
-#include
diff --git a/src/third_party/asn1/Card.c b/src/third_party/asn1/Card.c
deleted file mode 100644
index e7274955..00000000
--- a/src/third_party/asn1/Card.c
+++ /dev/null
@@ -1,125 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "Card.h"
-
-int
-Card_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- long value;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- value = *(const long *)sptr;
-
- if((value >= 0 && value <= 51)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-/*
- * This type is implemented using NativeInteger,
- * so here we adjust the DEF accordingly.
- */
-static void
-Card_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
- td->free_struct = asn_DEF_NativeInteger.free_struct;
- td->print_struct = asn_DEF_NativeInteger.print_struct;
- td->ber_decoder = asn_DEF_NativeInteger.ber_decoder;
- td->der_encoder = asn_DEF_NativeInteger.der_encoder;
- td->xer_decoder = asn_DEF_NativeInteger.xer_decoder;
- td->xer_encoder = asn_DEF_NativeInteger.xer_encoder;
- td->uper_decoder = asn_DEF_NativeInteger.uper_decoder;
- td->uper_encoder = asn_DEF_NativeInteger.uper_encoder;
- if(!td->per_constraints)
- td->per_constraints = asn_DEF_NativeInteger.per_constraints;
- td->elements = asn_DEF_NativeInteger.elements;
- td->elements_count = asn_DEF_NativeInteger.elements_count;
- td->specifics = asn_DEF_NativeInteger.specifics;
-}
-
-void
-Card_free(asn_TYPE_descriptor_t *td,
- void *struct_ptr, int contents_only) {
- Card_1_inherit_TYPE_descriptor(td);
- td->free_struct(td, struct_ptr, contents_only);
-}
-
-int
-Card_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
- int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- Card_1_inherit_TYPE_descriptor(td);
- return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
-}
-
-asn_dec_rval_t
-Card_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const void *bufptr, size_t size, int tag_mode) {
- Card_1_inherit_TYPE_descriptor(td);
- return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
-}
-
-asn_enc_rval_t
-Card_encode_der(asn_TYPE_descriptor_t *td,
- void *structure, int tag_mode, ber_tlv_tag_t tag,
- asn_app_consume_bytes_f *cb, void *app_key) {
- Card_1_inherit_TYPE_descriptor(td);
- return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
-}
-
-asn_dec_rval_t
-Card_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- Card_1_inherit_TYPE_descriptor(td);
- return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
-}
-
-asn_enc_rval_t
-Card_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
- int ilevel, enum xer_encoder_flags_e flags,
- asn_app_consume_bytes_f *cb, void *app_key) {
- Card_1_inherit_TYPE_descriptor(td);
- return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
-}
-
-static ber_tlv_tag_t asn_DEF_Card_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
-};
-asn_TYPE_descriptor_t asn_DEF_Card = {
- "Card",
- "Card",
- Card_free,
- Card_print,
- Card_constraint,
- Card_decode_ber,
- Card_encode_der,
- Card_decode_xer,
- Card_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_Card_tags_1,
- sizeof(asn_DEF_Card_tags_1)
- /sizeof(asn_DEF_Card_tags_1[0]), /* 1 */
- asn_DEF_Card_tags_1, /* Same as above */
- sizeof(asn_DEF_Card_tags_1)
- /sizeof(asn_DEF_Card_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- 0, 0, /* No members */
- 0 /* No specifics */
-};
-
diff --git a/src/third_party/asn1/Card.h b/src/third_party/asn1/Card.h
deleted file mode 100644
index 802864c2..00000000
--- a/src/third_party/asn1/Card.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _Card_H_
-#define _Card_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* Card */
- typedef long Card_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_Card;
- asn_struct_free_f Card_free;
- asn_struct_print_f Card_print;
- asn_constr_check_f Card_constraint;
- ber_type_decoder_f Card_decode_ber;
- der_type_encoder_f Card_encode_der;
- xer_type_decoder_f Card_decode_xer;
- xer_type_encoder_f Card_encode_xer;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _Card_H_ */
-#include
diff --git a/src/third_party/asn1/ChatMessage.c b/src/third_party/asn1/ChatMessage.c
deleted file mode 100644
index ce7d84f3..00000000
--- a/src/third_party/asn1/ChatMessage.c
+++ /dev/null
@@ -1,193 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "ChatMessage.h"
-
-static int
-memb_chatText_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- const UTF8String_t *st = (const UTF8String_t *)sptr;
- size_t size;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- size = UTF8String_length(st);
- if((ssize_t)size < 0) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: UTF-8: broken encoding (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- if((size >= 1 && size <= 128)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static asn_TYPE_member_t asn_MBR_chatType_2[] = {
- { ATF_NOFLAGS, 0, offsetof(struct chatType, choice.chatTypeLobby),
- (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_ChatTypeLobby,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "chatTypeLobby"
- },
- { ATF_NOFLAGS, 0, offsetof(struct chatType, choice.chatTypeGame),
- (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_ChatTypeGame,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "chatTypeGame"
- },
- { ATF_NOFLAGS, 0, offsetof(struct chatType, choice.chatTypeBot),
- (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_ChatTypeBot,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "chatTypeBot"
- },
- { ATF_NOFLAGS, 0, offsetof(struct chatType, choice.chatTypeBroadcast),
- (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_ChatTypeBroadcast,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "chatTypeBroadcast"
- },
- { ATF_NOFLAGS, 0, offsetof(struct chatType, choice.chatTypePrivate),
- (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_ChatTypePrivate,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "chatTypePrivate"
- },
-};
-static asn_TYPE_tag2member_t asn_MAP_chatType_tag2el_2[] = {
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 713 */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* chatTypeGame at 714 */
- { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* chatTypeBot at 715 */
- { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* chatTypeBroadcast at 716 */
- { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* chatTypePrivate at 718 */
-};
-static asn_CHOICE_specifics_t asn_SPC_chatType_specs_2 = {
- sizeof(struct chatType),
- offsetof(struct chatType, _asn_ctx),
- offsetof(struct chatType, present),
- sizeof(((struct chatType *)0)->present),
- asn_MAP_chatType_tag2el_2,
- 5, /* Count of tags in the map */
- 0,
- 5 /* Extensions start */
-};
-static /* Use -fall-defs-global to expose */
-asn_TYPE_descriptor_t asn_DEF_chatType_2 = {
- "chatType",
- "chatType",
- CHOICE_free,
- CHOICE_print,
- CHOICE_constraint,
- CHOICE_decode_ber,
- CHOICE_encode_der,
- CHOICE_decode_xer,
- CHOICE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- CHOICE_outmost_tag,
- 0, /* No effective tags (pointer) */
- 0, /* No effective tags (count) */
- 0, /* No tags (pointer) */
- 0, /* No tags (count) */
- 0, /* No PER visible constraints */
- asn_MBR_chatType_2,
- 5, /* Elements count */
- &asn_SPC_chatType_specs_2 /* Additional specs */
-};
-
-static asn_TYPE_member_t asn_MBR_ChatMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct ChatMessage, chatType),
- -1 /* Ambiguous tag (CHOICE?) */,
- 0,
- &asn_DEF_chatType_2,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "chatType"
- },
- { ATF_NOFLAGS, 0, offsetof(struct ChatMessage, chatText),
- (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
- 0,
- &asn_DEF_UTF8String,
- memb_chatText_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "chatText"
- },
-};
-static ber_tlv_tag_t asn_DEF_ChatMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (130 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_ChatMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 719 */
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 713 */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* chatTypeGame at 714 */
- { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 }, /* chatTypeBot at 715 */
- { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 0, 0, 0 }, /* chatTypeBroadcast at 716 */
- { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 0, 0, 0 } /* chatTypePrivate at 718 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_ChatMessage_specs_1 = {
- sizeof(struct ChatMessage),
- offsetof(struct ChatMessage, _asn_ctx),
- asn_MAP_ChatMessage_tag2el_1,
- 6, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_ChatMessage = {
- "ChatMessage",
- "ChatMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_ChatMessage_tags_1,
- sizeof(asn_DEF_ChatMessage_tags_1)
- /sizeof(asn_DEF_ChatMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_ChatMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_ChatMessage_tags_1)
- /sizeof(asn_DEF_ChatMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_ChatMessage_1,
- 2, /* Elements count */
- &asn_SPC_ChatMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/ChatMessage.h b/src/third_party/asn1/ChatMessage.h
deleted file mode 100644
index eaad2e37..00000000
--- a/src/third_party/asn1/ChatMessage.h
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _ChatMessage_H_
-#define _ChatMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-#include "ChatTypeLobby.h"
-#include "ChatTypeGame.h"
-#include "ChatTypeBot.h"
-#include "ChatTypeBroadcast.h"
-#include "ChatTypePrivate.h"
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* Dependencies */
- typedef enum chatType_PR {
- chatType_PR_NOTHING, /* No components present */
- chatType_PR_chatTypeLobby,
- chatType_PR_chatTypeGame,
- chatType_PR_chatTypeBot,
- chatType_PR_chatTypeBroadcast,
- chatType_PR_chatTypePrivate,
- /* Extensions may appear below */
-
- }
- chatType_PR;
-
- /* ChatMessage */
- typedef struct ChatMessage {
- struct chatType {
- chatType_PR present;
- union ChatMessage__chatType_u {
- ChatTypeLobby_t chatTypeLobby;
- ChatTypeGame_t chatTypeGame;
- ChatTypeBot_t chatTypeBot;
- ChatTypeBroadcast_t chatTypeBroadcast;
- ChatTypePrivate_t chatTypePrivate;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
- } choice;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } chatType;
- UTF8String_t chatText;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } ChatMessage_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_ChatMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _ChatMessage_H_ */
-#include
diff --git a/src/third_party/asn1/ChatRejectMessage.c b/src/third_party/asn1/ChatRejectMessage.c
deleted file mode 100644
index 614c9b04..00000000
--- a/src/third_party/asn1/ChatRejectMessage.c
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "ChatRejectMessage.h"
-
-static int
-memb_chatText_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- const UTF8String_t *st = (const UTF8String_t *)sptr;
- size_t size;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- size = UTF8String_length(st);
- if((ssize_t)size < 0) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: UTF-8: broken encoding (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- if((size >= 1 && size <= 128)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static asn_TYPE_member_t asn_MBR_ChatRejectMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct ChatRejectMessage, chatText),
- (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
- 0,
- &asn_DEF_UTF8String,
- memb_chatText_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "chatText"
- },
-};
-static ber_tlv_tag_t asn_DEF_ChatRejectMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (131 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_ChatRejectMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* chatText at 742 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_ChatRejectMessage_specs_1 = {
- sizeof(struct ChatRejectMessage),
- offsetof(struct ChatRejectMessage, _asn_ctx),
- asn_MAP_ChatRejectMessage_tag2el_1,
- 1, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 0, /* Start extensions */
- 2 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_ChatRejectMessage = {
- "ChatRejectMessage",
- "ChatRejectMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_ChatRejectMessage_tags_1,
- sizeof(asn_DEF_ChatRejectMessage_tags_1)
- /sizeof(asn_DEF_ChatRejectMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_ChatRejectMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_ChatRejectMessage_tags_1)
- /sizeof(asn_DEF_ChatRejectMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_ChatRejectMessage_1,
- 1, /* Elements count */
- &asn_SPC_ChatRejectMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/ChatRejectMessage.h b/src/third_party/asn1/ChatRejectMessage.h
deleted file mode 100644
index c8a2d28c..00000000
--- a/src/third_party/asn1/ChatRejectMessage.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _ChatRejectMessage_H_
-#define _ChatRejectMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* ChatRejectMessage */
- typedef struct ChatRejectMessage {
- UTF8String_t chatText;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } ChatRejectMessage_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_ChatRejectMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _ChatRejectMessage_H_ */
-#include
diff --git a/src/third_party/asn1/ChatRequestMessage.c b/src/third_party/asn1/ChatRequestMessage.c
deleted file mode 100644
index 5d85436d..00000000
--- a/src/third_party/asn1/ChatRequestMessage.c
+++ /dev/null
@@ -1,171 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "ChatRequestMessage.h"
-
-static int
-memb_chatText_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- const UTF8String_t *st = (const UTF8String_t *)sptr;
- size_t size;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- size = UTF8String_length(st);
- if((ssize_t)size < 0) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: UTF-8: broken encoding (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- if((size >= 1 && size <= 128)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static asn_TYPE_member_t asn_MBR_chatRequestType_2[] = {
- { ATF_NOFLAGS, 0, offsetof(struct chatRequestType, choice.chatRequestTypeLobby),
- (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_ChatRequestTypeLobby,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "chatRequestTypeLobby"
- },
- { ATF_NOFLAGS, 0, offsetof(struct chatRequestType, choice.chatRequestTypeGame),
- (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_ChatRequestTypeGame,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "chatRequestTypeGame"
- },
- { ATF_NOFLAGS, 0, offsetof(struct chatRequestType, choice.chatRequestTypePrivate),
- (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_ChatRequestTypePrivate,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "chatRequestTypePrivate"
- },
-};
-static asn_TYPE_tag2member_t asn_MAP_chatRequestType_tag2el_2[] = {
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 693 */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* chatRequestTypeGame at 694 */
- { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* chatRequestTypePrivate at 696 */
-};
-static asn_CHOICE_specifics_t asn_SPC_chatRequestType_specs_2 = {
- sizeof(struct chatRequestType),
- offsetof(struct chatRequestType, _asn_ctx),
- offsetof(struct chatRequestType, present),
- sizeof(((struct chatRequestType *)0)->present),
- asn_MAP_chatRequestType_tag2el_2,
- 3, /* Count of tags in the map */
- 0,
- 3 /* Extensions start */
-};
-static /* Use -fall-defs-global to expose */
-asn_TYPE_descriptor_t asn_DEF_chatRequestType_2 = {
- "chatRequestType",
- "chatRequestType",
- CHOICE_free,
- CHOICE_print,
- CHOICE_constraint,
- CHOICE_decode_ber,
- CHOICE_encode_der,
- CHOICE_decode_xer,
- CHOICE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- CHOICE_outmost_tag,
- 0, /* No effective tags (pointer) */
- 0, /* No effective tags (count) */
- 0, /* No tags (pointer) */
- 0, /* No tags (count) */
- 0, /* No PER visible constraints */
- asn_MBR_chatRequestType_2,
- 3, /* Elements count */
- &asn_SPC_chatRequestType_specs_2 /* Additional specs */
-};
-
-static asn_TYPE_member_t asn_MBR_ChatRequestMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct ChatRequestMessage, chatRequestType),
- -1 /* Ambiguous tag (CHOICE?) */,
- 0,
- &asn_DEF_chatRequestType_2,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "chatRequestType"
- },
- { ATF_NOFLAGS, 0, offsetof(struct ChatRequestMessage, chatText),
- (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
- 0,
- &asn_DEF_UTF8String,
- memb_chatText_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "chatText"
- },
-};
-static ber_tlv_tag_t asn_DEF_ChatRequestMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (129 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_ChatRequestMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 697 */
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 693 */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* chatRequestTypeGame at 694 */
- { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 } /* chatRequestTypePrivate at 696 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestMessage_specs_1 = {
- sizeof(struct ChatRequestMessage),
- offsetof(struct ChatRequestMessage, _asn_ctx),
- asn_MAP_ChatRequestMessage_tag2el_1,
- 4, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_ChatRequestMessage = {
- "ChatRequestMessage",
- "ChatRequestMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_ChatRequestMessage_tags_1,
- sizeof(asn_DEF_ChatRequestMessage_tags_1)
- /sizeof(asn_DEF_ChatRequestMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_ChatRequestMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_ChatRequestMessage_tags_1)
- /sizeof(asn_DEF_ChatRequestMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_ChatRequestMessage_1,
- 2, /* Elements count */
- &asn_SPC_ChatRequestMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/ChatRequestMessage.h b/src/third_party/asn1/ChatRequestMessage.h
deleted file mode 100644
index ef2a8af5..00000000
--- a/src/third_party/asn1/ChatRequestMessage.h
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _ChatRequestMessage_H_
-#define _ChatRequestMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-#include "ChatRequestTypeLobby.h"
-#include "ChatRequestTypeGame.h"
-#include "ChatRequestTypePrivate.h"
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* Dependencies */
- typedef enum chatRequestType_PR {
- chatRequestType_PR_NOTHING, /* No components present */
- chatRequestType_PR_chatRequestTypeLobby,
- chatRequestType_PR_chatRequestTypeGame,
- chatRequestType_PR_chatRequestTypePrivate,
- /* Extensions may appear below */
-
- }
- chatRequestType_PR;
-
- /* ChatRequestMessage */
- typedef struct ChatRequestMessage {
- struct chatRequestType {
- chatRequestType_PR present;
- union ChatRequestMessage__chatRequestType_u {
- ChatRequestTypeLobby_t chatRequestTypeLobby;
- ChatRequestTypeGame_t chatRequestTypeGame;
- ChatRequestTypePrivate_t chatRequestTypePrivate;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
- } choice;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } chatRequestType;
- UTF8String_t chatText;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } ChatRequestMessage_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_ChatRequestMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _ChatRequestMessage_H_ */
-#include
diff --git a/src/third_party/asn1/ChatRequestTypeGame.c b/src/third_party/asn1/ChatRequestTypeGame.c
deleted file mode 100644
index 68d37bd3..00000000
--- a/src/third_party/asn1/ChatRequestTypeGame.c
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "ChatRequestTypeGame.h"
-
-static asn_TYPE_member_t asn_MBR_ChatRequestTypeGame_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct ChatRequestTypeGame, gameId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameId"
- },
-};
-static ber_tlv_tag_t asn_DEF_ChatRequestTypeGame_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_ChatRequestTypeGame_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 705 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestTypeGame_specs_1 = {
- sizeof(struct ChatRequestTypeGame),
- offsetof(struct ChatRequestTypeGame, _asn_ctx),
- asn_MAP_ChatRequestTypeGame_tag2el_1,
- 1, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 0, /* Start extensions */
- 2 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_ChatRequestTypeGame = {
- "ChatRequestTypeGame",
- "ChatRequestTypeGame",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_ChatRequestTypeGame_tags_1,
- sizeof(asn_DEF_ChatRequestTypeGame_tags_1)
- /sizeof(asn_DEF_ChatRequestTypeGame_tags_1[0]), /* 1 */
- asn_DEF_ChatRequestTypeGame_tags_1, /* Same as above */
- sizeof(asn_DEF_ChatRequestTypeGame_tags_1)
- /sizeof(asn_DEF_ChatRequestTypeGame_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_ChatRequestTypeGame_1,
- 1, /* Elements count */
- &asn_SPC_ChatRequestTypeGame_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/ChatRequestTypeGame.h b/src/third_party/asn1/ChatRequestTypeGame.h
deleted file mode 100644
index 650d76fb..00000000
--- a/src/third_party/asn1/ChatRequestTypeGame.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _ChatRequestTypeGame_H_
-#define _ChatRequestTypeGame_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* ChatRequestTypeGame */
- typedef struct ChatRequestTypeGame {
- NonZeroId_t gameId;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } ChatRequestTypeGame_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_ChatRequestTypeGame;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _ChatRequestTypeGame_H_ */
-#include
diff --git a/src/third_party/asn1/ChatRequestTypeLobby.c b/src/third_party/asn1/ChatRequestTypeLobby.c
deleted file mode 100644
index 85ee5da9..00000000
--- a/src/third_party/asn1/ChatRequestTypeLobby.c
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "ChatRequestTypeLobby.h"
-
-static ber_tlv_tag_t asn_DEF_ChatRequestTypeLobby_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestTypeLobby_specs_1 = {
- sizeof(struct ChatRequestTypeLobby),
- offsetof(struct ChatRequestTypeLobby, _asn_ctx),
- 0, /* No top level tags */
- 0, /* No tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- -1, /* Start extensions */
- -1 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_ChatRequestTypeLobby = {
- "ChatRequestTypeLobby",
- "ChatRequestTypeLobby",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_ChatRequestTypeLobby_tags_1,
- sizeof(asn_DEF_ChatRequestTypeLobby_tags_1)
- /sizeof(asn_DEF_ChatRequestTypeLobby_tags_1[0]), /* 1 */
- asn_DEF_ChatRequestTypeLobby_tags_1, /* Same as above */
- sizeof(asn_DEF_ChatRequestTypeLobby_tags_1)
- /sizeof(asn_DEF_ChatRequestTypeLobby_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- 0, 0, /* No members */
- &asn_SPC_ChatRequestTypeLobby_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/ChatRequestTypeLobby.h b/src/third_party/asn1/ChatRequestTypeLobby.h
deleted file mode 100644
index 50801bb9..00000000
--- a/src/third_party/asn1/ChatRequestTypeLobby.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _ChatRequestTypeLobby_H_
-#define _ChatRequestTypeLobby_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* ChatRequestTypeLobby */
- typedef struct ChatRequestTypeLobby {
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } ChatRequestTypeLobby_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_ChatRequestTypeLobby;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _ChatRequestTypeLobby_H_ */
-#include
diff --git a/src/third_party/asn1/ChatRequestTypePrivate.c b/src/third_party/asn1/ChatRequestTypePrivate.c
deleted file mode 100644
index 8741b5bc..00000000
--- a/src/third_party/asn1/ChatRequestTypePrivate.c
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "ChatRequestTypePrivate.h"
-
-static asn_TYPE_member_t asn_MBR_ChatRequestTypePrivate_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct ChatRequestTypePrivate, targetPlayerId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "targetPlayerId"
- },
-};
-static ber_tlv_tag_t asn_DEF_ChatRequestTypePrivate_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_ChatRequestTypePrivate_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* targetPlayerId at 709 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestTypePrivate_specs_1 = {
- sizeof(struct ChatRequestTypePrivate),
- offsetof(struct ChatRequestTypePrivate, _asn_ctx),
- asn_MAP_ChatRequestTypePrivate_tag2el_1,
- 1, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 0, /* Start extensions */
- 2 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_ChatRequestTypePrivate = {
- "ChatRequestTypePrivate",
- "ChatRequestTypePrivate",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_ChatRequestTypePrivate_tags_1,
- sizeof(asn_DEF_ChatRequestTypePrivate_tags_1)
- /sizeof(asn_DEF_ChatRequestTypePrivate_tags_1[0]), /* 1 */
- asn_DEF_ChatRequestTypePrivate_tags_1, /* Same as above */
- sizeof(asn_DEF_ChatRequestTypePrivate_tags_1)
- /sizeof(asn_DEF_ChatRequestTypePrivate_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_ChatRequestTypePrivate_1,
- 1, /* Elements count */
- &asn_SPC_ChatRequestTypePrivate_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/ChatRequestTypePrivate.h b/src/third_party/asn1/ChatRequestTypePrivate.h
deleted file mode 100644
index 66012306..00000000
--- a/src/third_party/asn1/ChatRequestTypePrivate.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _ChatRequestTypePrivate_H_
-#define _ChatRequestTypePrivate_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* ChatRequestTypePrivate */
- typedef struct ChatRequestTypePrivate {
- NonZeroId_t targetPlayerId;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } ChatRequestTypePrivate_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_ChatRequestTypePrivate;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _ChatRequestTypePrivate_H_ */
-#include
diff --git a/src/third_party/asn1/ChatTypeBot.c b/src/third_party/asn1/ChatTypeBot.c
deleted file mode 100644
index b2eee7a5..00000000
--- a/src/third_party/asn1/ChatTypeBot.c
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "ChatTypeBot.h"
-
-static ber_tlv_tag_t asn_DEF_ChatTypeBot_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_SEQUENCE_specifics_t asn_SPC_ChatTypeBot_specs_1 = {
- sizeof(struct ChatTypeBot),
- offsetof(struct ChatTypeBot, _asn_ctx),
- 0, /* No top level tags */
- 0, /* No tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- -1, /* Start extensions */
- -1 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_ChatTypeBot = {
- "ChatTypeBot",
- "ChatTypeBot",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_ChatTypeBot_tags_1,
- sizeof(asn_DEF_ChatTypeBot_tags_1)
- /sizeof(asn_DEF_ChatTypeBot_tags_1[0]), /* 1 */
- asn_DEF_ChatTypeBot_tags_1, /* Same as above */
- sizeof(asn_DEF_ChatTypeBot_tags_1)
- /sizeof(asn_DEF_ChatTypeBot_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- 0, 0, /* No members */
- &asn_SPC_ChatTypeBot_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/ChatTypeBot.h b/src/third_party/asn1/ChatTypeBot.h
deleted file mode 100644
index 06474d15..00000000
--- a/src/third_party/asn1/ChatTypeBot.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _ChatTypeBot_H_
-#define _ChatTypeBot_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* ChatTypeBot */
- typedef struct ChatTypeBot {
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } ChatTypeBot_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_ChatTypeBot;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _ChatTypeBot_H_ */
-#include
diff --git a/src/third_party/asn1/ChatTypeBroadcast.c b/src/third_party/asn1/ChatTypeBroadcast.c
deleted file mode 100644
index 49913fbe..00000000
--- a/src/third_party/asn1/ChatTypeBroadcast.c
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "ChatTypeBroadcast.h"
-
-static ber_tlv_tag_t asn_DEF_ChatTypeBroadcast_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_SEQUENCE_specifics_t asn_SPC_ChatTypeBroadcast_specs_1 = {
- sizeof(struct ChatTypeBroadcast),
- offsetof(struct ChatTypeBroadcast, _asn_ctx),
- 0, /* No top level tags */
- 0, /* No tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- -1, /* Start extensions */
- -1 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_ChatTypeBroadcast = {
- "ChatTypeBroadcast",
- "ChatTypeBroadcast",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_ChatTypeBroadcast_tags_1,
- sizeof(asn_DEF_ChatTypeBroadcast_tags_1)
- /sizeof(asn_DEF_ChatTypeBroadcast_tags_1[0]), /* 1 */
- asn_DEF_ChatTypeBroadcast_tags_1, /* Same as above */
- sizeof(asn_DEF_ChatTypeBroadcast_tags_1)
- /sizeof(asn_DEF_ChatTypeBroadcast_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- 0, 0, /* No members */
- &asn_SPC_ChatTypeBroadcast_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/ChatTypeBroadcast.h b/src/third_party/asn1/ChatTypeBroadcast.h
deleted file mode 100644
index b3939f20..00000000
--- a/src/third_party/asn1/ChatTypeBroadcast.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _ChatTypeBroadcast_H_
-#define _ChatTypeBroadcast_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* ChatTypeBroadcast */
- typedef struct ChatTypeBroadcast {
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } ChatTypeBroadcast_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_ChatTypeBroadcast;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _ChatTypeBroadcast_H_ */
-#include
diff --git a/src/third_party/asn1/ChatTypeGame.c b/src/third_party/asn1/ChatTypeGame.c
deleted file mode 100644
index 7573f653..00000000
--- a/src/third_party/asn1/ChatTypeGame.c
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "ChatTypeGame.h"
-
-static asn_TYPE_member_t asn_MBR_ChatTypeGame_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct ChatTypeGame, gameId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct ChatTypeGame, playerId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "playerId"
- },
-};
-static ber_tlv_tag_t asn_DEF_ChatTypeGame_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_ChatTypeGame_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 727 */
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 729 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_ChatTypeGame_specs_1 = {
- sizeof(struct ChatTypeGame),
- offsetof(struct ChatTypeGame, _asn_ctx),
- asn_MAP_ChatTypeGame_tag2el_1,
- 2, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_ChatTypeGame = {
- "ChatTypeGame",
- "ChatTypeGame",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_ChatTypeGame_tags_1,
- sizeof(asn_DEF_ChatTypeGame_tags_1)
- /sizeof(asn_DEF_ChatTypeGame_tags_1[0]), /* 1 */
- asn_DEF_ChatTypeGame_tags_1, /* Same as above */
- sizeof(asn_DEF_ChatTypeGame_tags_1)
- /sizeof(asn_DEF_ChatTypeGame_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_ChatTypeGame_1,
- 2, /* Elements count */
- &asn_SPC_ChatTypeGame_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/ChatTypeGame.h b/src/third_party/asn1/ChatTypeGame.h
deleted file mode 100644
index fb545260..00000000
--- a/src/third_party/asn1/ChatTypeGame.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _ChatTypeGame_H_
-#define _ChatTypeGame_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* ChatTypeGame */
- typedef struct ChatTypeGame {
- NonZeroId_t gameId;
- NonZeroId_t playerId;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } ChatTypeGame_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_ChatTypeGame;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _ChatTypeGame_H_ */
-#include
diff --git a/src/third_party/asn1/ChatTypeLobby.c b/src/third_party/asn1/ChatTypeLobby.c
deleted file mode 100644
index 5816a0cd..00000000
--- a/src/third_party/asn1/ChatTypeLobby.c
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "ChatTypeLobby.h"
-
-static asn_TYPE_member_t asn_MBR_ChatTypeLobby_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct ChatTypeLobby, playerId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "playerId"
- },
-};
-static ber_tlv_tag_t asn_DEF_ChatTypeLobby_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_ChatTypeLobby_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 724 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_ChatTypeLobby_specs_1 = {
- sizeof(struct ChatTypeLobby),
- offsetof(struct ChatTypeLobby, _asn_ctx),
- asn_MAP_ChatTypeLobby_tag2el_1,
- 1, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 0, /* Start extensions */
- 2 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_ChatTypeLobby = {
- "ChatTypeLobby",
- "ChatTypeLobby",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_ChatTypeLobby_tags_1,
- sizeof(asn_DEF_ChatTypeLobby_tags_1)
- /sizeof(asn_DEF_ChatTypeLobby_tags_1[0]), /* 1 */
- asn_DEF_ChatTypeLobby_tags_1, /* Same as above */
- sizeof(asn_DEF_ChatTypeLobby_tags_1)
- /sizeof(asn_DEF_ChatTypeLobby_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_ChatTypeLobby_1,
- 1, /* Elements count */
- &asn_SPC_ChatTypeLobby_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/ChatTypeLobby.h b/src/third_party/asn1/ChatTypeLobby.h
deleted file mode 100644
index 75fc452f..00000000
--- a/src/third_party/asn1/ChatTypeLobby.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _ChatTypeLobby_H_
-#define _ChatTypeLobby_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* ChatTypeLobby */
- typedef struct ChatTypeLobby {
- NonZeroId_t playerId;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } ChatTypeLobby_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_ChatTypeLobby;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _ChatTypeLobby_H_ */
-#include
diff --git a/src/third_party/asn1/ChatTypePrivate.c b/src/third_party/asn1/ChatTypePrivate.c
deleted file mode 100644
index 830f49ae..00000000
--- a/src/third_party/asn1/ChatTypePrivate.c
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "ChatTypePrivate.h"
-
-static asn_TYPE_member_t asn_MBR_ChatTypePrivate_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct ChatTypePrivate, playerId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "playerId"
- },
-};
-static ber_tlv_tag_t asn_DEF_ChatTypePrivate_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_ChatTypePrivate_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 739 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_ChatTypePrivate_specs_1 = {
- sizeof(struct ChatTypePrivate),
- offsetof(struct ChatTypePrivate, _asn_ctx),
- asn_MAP_ChatTypePrivate_tag2el_1,
- 1, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 0, /* Start extensions */
- 2 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_ChatTypePrivate = {
- "ChatTypePrivate",
- "ChatTypePrivate",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_ChatTypePrivate_tags_1,
- sizeof(asn_DEF_ChatTypePrivate_tags_1)
- /sizeof(asn_DEF_ChatTypePrivate_tags_1[0]), /* 1 */
- asn_DEF_ChatTypePrivate_tags_1, /* Same as above */
- sizeof(asn_DEF_ChatTypePrivate_tags_1)
- /sizeof(asn_DEF_ChatTypePrivate_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_ChatTypePrivate_1,
- 1, /* Elements count */
- &asn_SPC_ChatTypePrivate_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/ChatTypePrivate.h b/src/third_party/asn1/ChatTypePrivate.h
deleted file mode 100644
index 3d9d8bd5..00000000
--- a/src/third_party/asn1/ChatTypePrivate.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _ChatTypePrivate_H_
-#define _ChatTypePrivate_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* ChatTypePrivate */
- typedef struct ChatTypePrivate {
- NonZeroId_t playerId;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } ChatTypePrivate_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_ChatTypePrivate;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _ChatTypePrivate_H_ */
-#include
diff --git a/src/third_party/asn1/DealFlopCardsMessage.c b/src/third_party/asn1/DealFlopCardsMessage.c
deleted file mode 100644
index c51a55fa..00000000
--- a/src/third_party/asn1/DealFlopCardsMessage.c
+++ /dev/null
@@ -1,90 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "DealFlopCardsMessage.h"
-
-static asn_TYPE_member_t asn_MBR_DealFlopCardsMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct DealFlopCardsMessage, gameId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct DealFlopCardsMessage, flopCard1),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_Card,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "flopCard1"
- },
- { ATF_NOFLAGS, 0, offsetof(struct DealFlopCardsMessage, flopCard2),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_Card,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "flopCard2"
- },
- { ATF_NOFLAGS, 0, offsetof(struct DealFlopCardsMessage, flopCard3),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_Card,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "flopCard3"
- },
-};
-static ber_tlv_tag_t asn_DEF_DealFlopCardsMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (28 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_DealFlopCardsMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 535 */
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* flopCard1 at 536 */
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* flopCard2 at 537 */
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* flopCard3 at 539 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_DealFlopCardsMessage_specs_1 = {
- sizeof(struct DealFlopCardsMessage),
- offsetof(struct DealFlopCardsMessage, _asn_ctx),
- asn_MAP_DealFlopCardsMessage_tag2el_1,
- 4, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 3, /* Start extensions */
- 5 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_DealFlopCardsMessage = {
- "DealFlopCardsMessage",
- "DealFlopCardsMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_DealFlopCardsMessage_tags_1,
- sizeof(asn_DEF_DealFlopCardsMessage_tags_1)
- /sizeof(asn_DEF_DealFlopCardsMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_DealFlopCardsMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_DealFlopCardsMessage_tags_1)
- /sizeof(asn_DEF_DealFlopCardsMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_DealFlopCardsMessage_1,
- 4, /* Elements count */
- &asn_SPC_DealFlopCardsMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/DealFlopCardsMessage.h b/src/third_party/asn1/DealFlopCardsMessage.h
deleted file mode 100644
index 99f5b808..00000000
--- a/src/third_party/asn1/DealFlopCardsMessage.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _DealFlopCardsMessage_H_
-#define _DealFlopCardsMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include "Card.h"
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* DealFlopCardsMessage */
- typedef struct DealFlopCardsMessage {
- NonZeroId_t gameId;
- Card_t flopCard1;
- Card_t flopCard2;
- Card_t flopCard3;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } DealFlopCardsMessage_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_DealFlopCardsMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _DealFlopCardsMessage_H_ */
-#include
diff --git a/src/third_party/asn1/DealRiverCardMessage.c b/src/third_party/asn1/DealRiverCardMessage.c
deleted file mode 100644
index 31703c0b..00000000
--- a/src/third_party/asn1/DealRiverCardMessage.c
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "DealRiverCardMessage.h"
-
-static asn_TYPE_member_t asn_MBR_DealRiverCardMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct DealRiverCardMessage, gameId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct DealRiverCardMessage, riverCard),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_Card,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "riverCard"
- },
-};
-static ber_tlv_tag_t asn_DEF_DealRiverCardMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (30 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_DealRiverCardMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 547 */
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* riverCard at 549 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_DealRiverCardMessage_specs_1 = {
- sizeof(struct DealRiverCardMessage),
- offsetof(struct DealRiverCardMessage, _asn_ctx),
- asn_MAP_DealRiverCardMessage_tag2el_1,
- 2, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_DealRiverCardMessage = {
- "DealRiverCardMessage",
- "DealRiverCardMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_DealRiverCardMessage_tags_1,
- sizeof(asn_DEF_DealRiverCardMessage_tags_1)
- /sizeof(asn_DEF_DealRiverCardMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_DealRiverCardMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_DealRiverCardMessage_tags_1)
- /sizeof(asn_DEF_DealRiverCardMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_DealRiverCardMessage_1,
- 2, /* Elements count */
- &asn_SPC_DealRiverCardMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/DealRiverCardMessage.h b/src/third_party/asn1/DealRiverCardMessage.h
deleted file mode 100644
index 41d3ae4a..00000000
--- a/src/third_party/asn1/DealRiverCardMessage.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _DealRiverCardMessage_H_
-#define _DealRiverCardMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include "Card.h"
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* DealRiverCardMessage */
- typedef struct DealRiverCardMessage {
- NonZeroId_t gameId;
- Card_t riverCard;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } DealRiverCardMessage_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_DealRiverCardMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _DealRiverCardMessage_H_ */
-#include
diff --git a/src/third_party/asn1/DealTurnCardMessage.c b/src/third_party/asn1/DealTurnCardMessage.c
deleted file mode 100644
index d645365a..00000000
--- a/src/third_party/asn1/DealTurnCardMessage.c
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "DealTurnCardMessage.h"
-
-static asn_TYPE_member_t asn_MBR_DealTurnCardMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct DealTurnCardMessage, gameId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct DealTurnCardMessage, turnCard),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_Card,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "turnCard"
- },
-};
-static ber_tlv_tag_t asn_DEF_DealTurnCardMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (29 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_DealTurnCardMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 542 */
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* turnCard at 544 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_DealTurnCardMessage_specs_1 = {
- sizeof(struct DealTurnCardMessage),
- offsetof(struct DealTurnCardMessage, _asn_ctx),
- asn_MAP_DealTurnCardMessage_tag2el_1,
- 2, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_DealTurnCardMessage = {
- "DealTurnCardMessage",
- "DealTurnCardMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_DealTurnCardMessage_tags_1,
- sizeof(asn_DEF_DealTurnCardMessage_tags_1)
- /sizeof(asn_DEF_DealTurnCardMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_DealTurnCardMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_DealTurnCardMessage_tags_1)
- /sizeof(asn_DEF_DealTurnCardMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_DealTurnCardMessage_1,
- 2, /* Elements count */
- &asn_SPC_DealTurnCardMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/DealTurnCardMessage.h b/src/third_party/asn1/DealTurnCardMessage.h
deleted file mode 100644
index ffc7d92f..00000000
--- a/src/third_party/asn1/DealTurnCardMessage.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _DealTurnCardMessage_H_
-#define _DealTurnCardMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include "Card.h"
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* DealTurnCardMessage */
- typedef struct DealTurnCardMessage {
- NonZeroId_t gameId;
- Card_t turnCard;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } DealTurnCardMessage_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_DealTurnCardMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _DealTurnCardMessage_H_ */
-#include
diff --git a/src/third_party/asn1/DialogMessage.c b/src/third_party/asn1/DialogMessage.c
deleted file mode 100644
index d5a4d6db..00000000
--- a/src/third_party/asn1/DialogMessage.c
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "DialogMessage.h"
-
-static int
-memb_notificationText_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- const UTF8String_t *st = (const UTF8String_t *)sptr;
- size_t size;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- size = UTF8String_length(st);
- if((ssize_t)size < 0) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: UTF-8: broken encoding (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- if((size >= 1 && size <= 128)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static asn_TYPE_member_t asn_MBR_DialogMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct DialogMessage, notificationText),
- (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
- 0,
- &asn_DEF_UTF8String,
- memb_notificationText_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "notificationText"
- },
-};
-static ber_tlv_tag_t asn_DEF_DialogMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (132 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_DialogMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* notificationText at 746 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_DialogMessage_specs_1 = {
- sizeof(struct DialogMessage),
- offsetof(struct DialogMessage, _asn_ctx),
- asn_MAP_DialogMessage_tag2el_1,
- 1, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 0, /* Start extensions */
- 2 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_DialogMessage = {
- "DialogMessage",
- "DialogMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_DialogMessage_tags_1,
- sizeof(asn_DEF_DialogMessage_tags_1)
- /sizeof(asn_DEF_DialogMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_DialogMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_DialogMessage_tags_1)
- /sizeof(asn_DEF_DialogMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_DialogMessage_1,
- 1, /* Elements count */
- &asn_SPC_DialogMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/DialogMessage.h b/src/third_party/asn1/DialogMessage.h
deleted file mode 100644
index ff7e9796..00000000
--- a/src/third_party/asn1/DialogMessage.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _DialogMessage_H_
-#define _DialogMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* DialogMessage */
- typedef struct DialogMessage {
- UTF8String_t notificationText;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } DialogMessage_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_DialogMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _DialogMessage_H_ */
-#include
diff --git a/src/third_party/asn1/EncryptedCards.c b/src/third_party/asn1/EncryptedCards.c
deleted file mode 100644
index adae938a..00000000
--- a/src/third_party/asn1/EncryptedCards.c
+++ /dev/null
@@ -1,85 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "EncryptedCards.h"
-
-static int
-memb_cardData_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr;
- size_t size;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- size = st->size;
-
- if((size >= 16 && size <= 64)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static asn_TYPE_member_t asn_MBR_EncryptedCards_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct EncryptedCards, cardData),
- (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
- 0,
- &asn_DEF_OCTET_STRING,
- memb_cardData_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "cardData"
- },
-};
-static ber_tlv_tag_t asn_DEF_EncryptedCards_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_EncryptedCards_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* cardData at 484 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_EncryptedCards_specs_1 = {
- sizeof(struct EncryptedCards),
- offsetof(struct EncryptedCards, _asn_ctx),
- asn_MAP_EncryptedCards_tag2el_1,
- 1, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 0, /* Start extensions */
- 2 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_EncryptedCards = {
- "EncryptedCards",
- "EncryptedCards",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_EncryptedCards_tags_1,
- sizeof(asn_DEF_EncryptedCards_tags_1)
- /sizeof(asn_DEF_EncryptedCards_tags_1[0]), /* 1 */
- asn_DEF_EncryptedCards_tags_1, /* Same as above */
- sizeof(asn_DEF_EncryptedCards_tags_1)
- /sizeof(asn_DEF_EncryptedCards_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_EncryptedCards_1,
- 1, /* Elements count */
- &asn_SPC_EncryptedCards_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/EncryptedCards.h b/src/third_party/asn1/EncryptedCards.h
deleted file mode 100644
index 52861a46..00000000
--- a/src/third_party/asn1/EncryptedCards.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _EncryptedCards_H_
-#define _EncryptedCards_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* EncryptedCards */
- typedef struct EncryptedCards {
- OCTET_STRING_t cardData;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } EncryptedCards_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_EncryptedCards;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _EncryptedCards_H_ */
-#include
diff --git a/src/third_party/asn1/EndKickPetitionMessage.c b/src/third_party/asn1/EndKickPetitionMessage.c
deleted file mode 100644
index cef618d8..00000000
--- a/src/third_party/asn1/EndKickPetitionMessage.c
+++ /dev/null
@@ -1,281 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "EndKickPetitionMessage.h"
-
-static int
-petitionEndReason_7_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- /* Replace with underlying type checker */
- td->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
- return td->check_constraints(td, sptr, ctfailcb, app_key);
-}
-
-/*
- * This type is implemented using NativeEnumerated,
- * so here we adjust the DEF accordingly.
- */
-static void
-petitionEndReason_7_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
- td->free_struct = asn_DEF_NativeEnumerated.free_struct;
- td->print_struct = asn_DEF_NativeEnumerated.print_struct;
- td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder;
- td->der_encoder = asn_DEF_NativeEnumerated.der_encoder;
- td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder;
- td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder;
- td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder;
- td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder;
- if(!td->per_constraints)
- td->per_constraints = asn_DEF_NativeEnumerated.per_constraints;
- td->elements = asn_DEF_NativeEnumerated.elements;
- td->elements_count = asn_DEF_NativeEnumerated.elements_count;
- /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */
-}
-
-static void
-petitionEndReason_7_free(asn_TYPE_descriptor_t *td,
- void *struct_ptr, int contents_only) {
- petitionEndReason_7_inherit_TYPE_descriptor(td);
- td->free_struct(td, struct_ptr, contents_only);
-}
-
-static int
-petitionEndReason_7_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
- int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- petitionEndReason_7_inherit_TYPE_descriptor(td);
- return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
-}
-
-static asn_dec_rval_t
-petitionEndReason_7_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const void *bufptr, size_t size, int tag_mode) {
- petitionEndReason_7_inherit_TYPE_descriptor(td);
- return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
-}
-
-static asn_enc_rval_t
-petitionEndReason_7_encode_der(asn_TYPE_descriptor_t *td,
- void *structure, int tag_mode, ber_tlv_tag_t tag,
- asn_app_consume_bytes_f *cb, void *app_key) {
- petitionEndReason_7_inherit_TYPE_descriptor(td);
- return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
-}
-
-static asn_dec_rval_t
-petitionEndReason_7_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- petitionEndReason_7_inherit_TYPE_descriptor(td);
- return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
-}
-
-static asn_enc_rval_t
-petitionEndReason_7_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
- int ilevel, enum xer_encoder_flags_e flags,
- asn_app_consume_bytes_f *cb, void *app_key) {
- petitionEndReason_7_inherit_TYPE_descriptor(td);
- return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
-}
-
-static int
-memb_numVotesAgainstKicking_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- long value;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- value = *(const long *)sptr;
-
- if((value >= 0 && value <= 9)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static int
-memb_numVotesInFavourOfKicking_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- long value;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- value = *(const long *)sptr;
-
- if((value >= 1 && value <= 9)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static asn_INTEGER_enum_map_t asn_MAP_petitionEndReason_value2enum_7[] = {
- { 0, 22, "petitionEndEnoughVotes" },
- { 1, 24, "petitionEndTooFewPlayers" },
- { 2, 21, "petitionEndPlayerLeft" },
- { 3, 18, "petitionEndTimeout" }
-};
-static unsigned int asn_MAP_petitionEndReason_enum2value_7[] = {
- 0, /* petitionEndEnoughVotes(0) */
- 2, /* petitionEndPlayerLeft(2) */
- 3, /* petitionEndTimeout(3) */
- 1 /* petitionEndTooFewPlayers(1) */
-};
-static asn_INTEGER_specifics_t asn_SPC_petitionEndReason_specs_7 = {
- asn_MAP_petitionEndReason_value2enum_7, /* "tag" => N; sorted by tag */
- asn_MAP_petitionEndReason_enum2value_7, /* N => "tag"; sorted by N */
- 4, /* Number of elements in the maps */
- 0, /* Enumeration is not extensible */
- 1, /* Strict enumeration */
- 0, /* Native long size */
- 0
-};
-static ber_tlv_tag_t asn_DEF_petitionEndReason_tags_7[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
-};
-static /* Use -fall-defs-global to expose */
-asn_TYPE_descriptor_t asn_DEF_petitionEndReason_7 = {
- "petitionEndReason",
- "petitionEndReason",
- petitionEndReason_7_free,
- petitionEndReason_7_print,
- petitionEndReason_7_constraint,
- petitionEndReason_7_decode_ber,
- petitionEndReason_7_encode_der,
- petitionEndReason_7_decode_xer,
- petitionEndReason_7_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_petitionEndReason_tags_7,
- sizeof(asn_DEF_petitionEndReason_tags_7)
- /sizeof(asn_DEF_petitionEndReason_tags_7[0]), /* 1 */
- asn_DEF_petitionEndReason_tags_7, /* Same as above */
- sizeof(asn_DEF_petitionEndReason_tags_7)
- /sizeof(asn_DEF_petitionEndReason_tags_7[0]), /* 1 */
- 0, /* No PER visible constraints */
- 0, 0, /* Defined elsewhere */
- &asn_SPC_petitionEndReason_specs_7 /* Additional specs */
-};
-
-static asn_TYPE_member_t asn_MBR_EndKickPetitionMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct EndKickPetitionMessage, gameId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct EndKickPetitionMessage, petitionId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "petitionId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct EndKickPetitionMessage, numVotesAgainstKicking),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NativeInteger,
- memb_numVotesAgainstKicking_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "numVotesAgainstKicking"
- },
- { ATF_NOFLAGS, 0, offsetof(struct EndKickPetitionMessage, numVotesInFavourOfKicking),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NativeInteger,
- memb_numVotesInFavourOfKicking_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "numVotesInFavourOfKicking"
- },
- { ATF_NOFLAGS, 0, offsetof(struct EndKickPetitionMessage, resultPlayerKicked),
- (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)),
- 0,
- &asn_DEF_BOOLEAN,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "resultPlayerKicked"
- },
- { ATF_NOFLAGS, 0, offsetof(struct EndKickPetitionMessage, petitionEndReason),
- (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
- 0,
- &asn_DEF_petitionEndReason_7,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "petitionEndReason"
- },
-};
-static ber_tlv_tag_t asn_DEF_EndKickPetitionMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (70 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_EndKickPetitionMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 4, 0, 0 }, /* resultPlayerKicked at 671 */
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 667 */
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* petitionId at 668 */
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* numVotesAgainstKicking at 669 */
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 }, /* numVotesInFavourOfKicking at 670 */
- { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 5, 0, 0 } /* petitionEndReason at 673 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_EndKickPetitionMessage_specs_1 = {
- sizeof(struct EndKickPetitionMessage),
- offsetof(struct EndKickPetitionMessage, _asn_ctx),
- asn_MAP_EndKickPetitionMessage_tag2el_1,
- 6, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 5, /* Start extensions */
- 7 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_EndKickPetitionMessage = {
- "EndKickPetitionMessage",
- "EndKickPetitionMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_EndKickPetitionMessage_tags_1,
- sizeof(asn_DEF_EndKickPetitionMessage_tags_1)
- /sizeof(asn_DEF_EndKickPetitionMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_EndKickPetitionMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_EndKickPetitionMessage_tags_1)
- /sizeof(asn_DEF_EndKickPetitionMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_EndKickPetitionMessage_1,
- 6, /* Elements count */
- &asn_SPC_EndKickPetitionMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/EndKickPetitionMessage.h b/src/third_party/asn1/EndKickPetitionMessage.h
deleted file mode 100644
index 70d64c4a..00000000
--- a/src/third_party/asn1/EndKickPetitionMessage.h
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _EndKickPetitionMessage_H_
-#define _EndKickPetitionMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include
-#include
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* Dependencies */
- typedef enum petitionEndReason {
- petitionEndReason_petitionEndEnoughVotes = 0,
- petitionEndReason_petitionEndTooFewPlayers = 1,
- petitionEndReason_petitionEndPlayerLeft = 2,
- petitionEndReason_petitionEndTimeout = 3
- }
- e_petitionEndReason;
-
- /* EndKickPetitionMessage */
- typedef struct EndKickPetitionMessage {
- NonZeroId_t gameId;
- NonZeroId_t petitionId;
- long numVotesAgainstKicking;
- long numVotesInFavourOfKicking;
- BOOLEAN_t resultPlayerKicked;
- long petitionEndReason;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } EndKickPetitionMessage_t;
-
- /* Implementation */
- /* extern asn_TYPE_descriptor_t asn_DEF_petitionEndReason_7; // (Use -fall-defs-global to expose) */
- extern asn_TYPE_descriptor_t asn_DEF_EndKickPetitionMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _EndKickPetitionMessage_H_ */
-#include
diff --git a/src/third_party/asn1/EndOfGameMessage.c b/src/third_party/asn1/EndOfGameMessage.c
deleted file mode 100644
index 19f4f556..00000000
--- a/src/third_party/asn1/EndOfGameMessage.c
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "EndOfGameMessage.h"
-
-static asn_TYPE_member_t asn_MBR_EndOfGameMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct EndOfGameMessage, gameId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct EndOfGameMessage, winnerPlayerId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "winnerPlayerId"
- },
-};
-static ber_tlv_tag_t asn_DEF_EndOfGameMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (35 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_EndOfGameMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 598 */
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* winnerPlayerId at 600 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_EndOfGameMessage_specs_1 = {
- sizeof(struct EndOfGameMessage),
- offsetof(struct EndOfGameMessage, _asn_ctx),
- asn_MAP_EndOfGameMessage_tag2el_1,
- 2, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_EndOfGameMessage = {
- "EndOfGameMessage",
- "EndOfGameMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_EndOfGameMessage_tags_1,
- sizeof(asn_DEF_EndOfGameMessage_tags_1)
- /sizeof(asn_DEF_EndOfGameMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_EndOfGameMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_EndOfGameMessage_tags_1)
- /sizeof(asn_DEF_EndOfGameMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_EndOfGameMessage_1,
- 2, /* Elements count */
- &asn_SPC_EndOfGameMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/EndOfGameMessage.h b/src/third_party/asn1/EndOfGameMessage.h
deleted file mode 100644
index 80601a06..00000000
--- a/src/third_party/asn1/EndOfGameMessage.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _EndOfGameMessage_H_
-#define _EndOfGameMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* EndOfGameMessage */
- typedef struct EndOfGameMessage {
- NonZeroId_t gameId;
- NonZeroId_t winnerPlayerId;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } EndOfGameMessage_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_EndOfGameMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _EndOfGameMessage_H_ */
-#include
diff --git a/src/third_party/asn1/EndOfHandHideCards.c b/src/third_party/asn1/EndOfHandHideCards.c
deleted file mode 100644
index f792b462..00000000
--- a/src/third_party/asn1/EndOfHandHideCards.c
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "EndOfHandHideCards.h"
-
-static asn_TYPE_member_t asn_MBR_EndOfHandHideCards_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct EndOfHandHideCards, playerId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "playerId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct EndOfHandHideCards, moneyWon),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_AmountOfMoney,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "moneyWon"
- },
- { ATF_NOFLAGS, 0, offsetof(struct EndOfHandHideCards, playerMoney),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_AmountOfMoney,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "playerMoney"
- },
-};
-static ber_tlv_tag_t asn_DEF_EndOfHandHideCards_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_EndOfHandHideCards_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* playerId at 585 */
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* moneyWon at 586 */
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* playerMoney at 588 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandHideCards_specs_1 = {
- sizeof(struct EndOfHandHideCards),
- offsetof(struct EndOfHandHideCards, _asn_ctx),
- asn_MAP_EndOfHandHideCards_tag2el_1,
- 3, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 2, /* Start extensions */
- 4 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_EndOfHandHideCards = {
- "EndOfHandHideCards",
- "EndOfHandHideCards",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_EndOfHandHideCards_tags_1,
- sizeof(asn_DEF_EndOfHandHideCards_tags_1)
- /sizeof(asn_DEF_EndOfHandHideCards_tags_1[0]), /* 1 */
- asn_DEF_EndOfHandHideCards_tags_1, /* Same as above */
- sizeof(asn_DEF_EndOfHandHideCards_tags_1)
- /sizeof(asn_DEF_EndOfHandHideCards_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_EndOfHandHideCards_1,
- 3, /* Elements count */
- &asn_SPC_EndOfHandHideCards_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/EndOfHandHideCards.h b/src/third_party/asn1/EndOfHandHideCards.h
deleted file mode 100644
index 301f5798..00000000
--- a/src/third_party/asn1/EndOfHandHideCards.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _EndOfHandHideCards_H_
-#define _EndOfHandHideCards_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include "AmountOfMoney.h"
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* EndOfHandHideCards */
- typedef struct EndOfHandHideCards {
- NonZeroId_t playerId;
- AmountOfMoney_t moneyWon;
- AmountOfMoney_t playerMoney;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } EndOfHandHideCards_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_EndOfHandHideCards;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _EndOfHandHideCards_H_ */
-#include
diff --git a/src/third_party/asn1/EndOfHandMessage.c b/src/third_party/asn1/EndOfHandMessage.c
deleted file mode 100644
index 13c94677..00000000
--- a/src/third_party/asn1/EndOfHandMessage.c
+++ /dev/null
@@ -1,128 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "EndOfHandMessage.h"
-
-static asn_TYPE_member_t asn_MBR_endOfHandType_3[] = {
- { ATF_NOFLAGS, 0, offsetof(struct endOfHandType, choice.endOfHandShowCards),
- (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_EndOfHandShowCards,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "endOfHandShowCards"
- },
- { ATF_NOFLAGS, 0, offsetof(struct endOfHandType, choice.endOfHandHideCards),
- (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_EndOfHandHideCards,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "endOfHandHideCards"
- },
-};
-static asn_TYPE_tag2member_t asn_MAP_endOfHandType_tag2el_3[] = {
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* endOfHandShowCards at 565 */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 567 */
-};
-static asn_CHOICE_specifics_t asn_SPC_endOfHandType_specs_3 = {
- sizeof(struct endOfHandType),
- offsetof(struct endOfHandType, _asn_ctx),
- offsetof(struct endOfHandType, present),
- sizeof(((struct endOfHandType *)0)->present),
- asn_MAP_endOfHandType_tag2el_3,
- 2, /* Count of tags in the map */
- 0,
- 2 /* Extensions start */
-};
-static /* Use -fall-defs-global to expose */
-asn_TYPE_descriptor_t asn_DEF_endOfHandType_3 = {
- "endOfHandType",
- "endOfHandType",
- CHOICE_free,
- CHOICE_print,
- CHOICE_constraint,
- CHOICE_decode_ber,
- CHOICE_encode_der,
- CHOICE_decode_xer,
- CHOICE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- CHOICE_outmost_tag,
- 0, /* No effective tags (pointer) */
- 0, /* No effective tags (count) */
- 0, /* No tags (pointer) */
- 0, /* No tags (count) */
- 0, /* No PER visible constraints */
- asn_MBR_endOfHandType_3,
- 2, /* Elements count */
- &asn_SPC_endOfHandType_specs_3 /* Additional specs */
-};
-
-static asn_TYPE_member_t asn_MBR_EndOfHandMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct EndOfHandMessage, gameId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct EndOfHandMessage, endOfHandType),
- -1 /* Ambiguous tag (CHOICE?) */,
- 0,
- &asn_DEF_endOfHandType_3,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "endOfHandType"
- },
-};
-static ber_tlv_tag_t asn_DEF_EndOfHandMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (32 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_EndOfHandMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 563 */
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* endOfHandShowCards at 565 */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 567 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandMessage_specs_1 = {
- sizeof(struct EndOfHandMessage),
- offsetof(struct EndOfHandMessage, _asn_ctx),
- asn_MAP_EndOfHandMessage_tag2el_1,
- 3, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_EndOfHandMessage = {
- "EndOfHandMessage",
- "EndOfHandMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_EndOfHandMessage_tags_1,
- sizeof(asn_DEF_EndOfHandMessage_tags_1)
- /sizeof(asn_DEF_EndOfHandMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_EndOfHandMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_EndOfHandMessage_tags_1)
- /sizeof(asn_DEF_EndOfHandMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_EndOfHandMessage_1,
- 2, /* Elements count */
- &asn_SPC_EndOfHandMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/EndOfHandMessage.h b/src/third_party/asn1/EndOfHandMessage.h
deleted file mode 100644
index 804e58d6..00000000
--- a/src/third_party/asn1/EndOfHandMessage.h
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _EndOfHandMessage_H_
-#define _EndOfHandMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include "EndOfHandShowCards.h"
-#include "EndOfHandHideCards.h"
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* Dependencies */
- typedef enum endOfHandType_PR {
- endOfHandType_PR_NOTHING, /* No components present */
- endOfHandType_PR_endOfHandShowCards,
- endOfHandType_PR_endOfHandHideCards,
- /* Extensions may appear below */
-
- }
- endOfHandType_PR;
-
- /* EndOfHandMessage */
- typedef struct EndOfHandMessage {
- NonZeroId_t gameId;
- struct endOfHandType {
- endOfHandType_PR present;
- union EndOfHandMessage__endOfHandType_u {
- EndOfHandShowCards_t endOfHandShowCards;
- EndOfHandHideCards_t endOfHandHideCards;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
- } choice;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } endOfHandType;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } EndOfHandMessage_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_EndOfHandMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _EndOfHandMessage_H_ */
-#include
diff --git a/src/third_party/asn1/EndOfHandShowCards.c b/src/third_party/asn1/EndOfHandShowCards.c
deleted file mode 100644
index 39b6e9ee..00000000
--- a/src/third_party/asn1/EndOfHandShowCards.c
+++ /dev/null
@@ -1,129 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "EndOfHandShowCards.h"
-
-static int
-memb_playerResults_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- size_t size;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- /* Determine the number of elements */
- size = _A_CSEQUENCE_FROM_VOID(sptr)->count;
-
- if((size >= 1 && size <= 10)) {
- /* Perform validation of the inner elements */
- return td->check_constraints(td, sptr, ctfailcb, app_key);
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static asn_TYPE_member_t asn_MBR_playerResults_2[] = {
- { ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
- 0,
- &asn_DEF_PlayerResult,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- ""
- },
-};
-static ber_tlv_tag_t asn_DEF_playerResults_tags_2[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_SET_OF_specifics_t asn_SPC_playerResults_specs_2 = {
- sizeof(struct playerResults),
- offsetof(struct playerResults, _asn_ctx),
- 0, /* XER encoding is XMLDelimitedItemList */
-};
-static /* Use -fall-defs-global to expose */
-asn_TYPE_descriptor_t asn_DEF_playerResults_2 = {
- "playerResults",
- "playerResults",
- SEQUENCE_OF_free,
- SEQUENCE_OF_print,
- SEQUENCE_OF_constraint,
- SEQUENCE_OF_decode_ber,
- SEQUENCE_OF_encode_der,
- SEQUENCE_OF_decode_xer,
- SEQUENCE_OF_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_playerResults_tags_2,
- sizeof(asn_DEF_playerResults_tags_2)
- /sizeof(asn_DEF_playerResults_tags_2[0]), /* 1 */
- asn_DEF_playerResults_tags_2, /* Same as above */
- sizeof(asn_DEF_playerResults_tags_2)
- /sizeof(asn_DEF_playerResults_tags_2[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_playerResults_2,
- 1, /* Single element */
- &asn_SPC_playerResults_specs_2 /* Additional specs */
-};
-
-static asn_TYPE_member_t asn_MBR_EndOfHandShowCards_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct EndOfHandShowCards, playerResults),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
- 0,
- &asn_DEF_playerResults_2,
- memb_playerResults_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "playerResults"
- },
-};
-static ber_tlv_tag_t asn_DEF_EndOfHandShowCards_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_EndOfHandShowCards_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* playerResults at 572 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandShowCards_specs_1 = {
- sizeof(struct EndOfHandShowCards),
- offsetof(struct EndOfHandShowCards, _asn_ctx),
- asn_MAP_EndOfHandShowCards_tag2el_1,
- 1, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 0, /* Start extensions */
- 2 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_EndOfHandShowCards = {
- "EndOfHandShowCards",
- "EndOfHandShowCards",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_EndOfHandShowCards_tags_1,
- sizeof(asn_DEF_EndOfHandShowCards_tags_1)
- /sizeof(asn_DEF_EndOfHandShowCards_tags_1[0]), /* 1 */
- asn_DEF_EndOfHandShowCards_tags_1, /* Same as above */
- sizeof(asn_DEF_EndOfHandShowCards_tags_1)
- /sizeof(asn_DEF_EndOfHandShowCards_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_EndOfHandShowCards_1,
- 1, /* Elements count */
- &asn_SPC_EndOfHandShowCards_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/EndOfHandShowCards.h b/src/third_party/asn1/EndOfHandShowCards.h
deleted file mode 100644
index af3947bd..00000000
--- a/src/third_party/asn1/EndOfHandShowCards.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _EndOfHandShowCards_H_
-#define _EndOfHandShowCards_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* Forward declarations */
- struct PlayerResult;
-
- /* EndOfHandShowCards */
- typedef struct EndOfHandShowCards {
- struct playerResults {
- A_SEQUENCE_OF(struct PlayerResult) list;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } playerResults;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } EndOfHandShowCards_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_EndOfHandShowCards;
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Referred external types */
-#include "PlayerResult.h"
-
-#endif /* _EndOfHandShowCards_H_ */
-#include
diff --git a/src/third_party/asn1/ErrorMessage.c b/src/third_party/asn1/ErrorMessage.c
deleted file mode 100644
index 8a2562d6..00000000
--- a/src/third_party/asn1/ErrorMessage.c
+++ /dev/null
@@ -1,203 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "ErrorMessage.h"
-
-static int
-errorReason_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- /* Replace with underlying type checker */
- td->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
- return td->check_constraints(td, sptr, ctfailcb, app_key);
-}
-
-/*
- * This type is implemented using NativeEnumerated,
- * so here we adjust the DEF accordingly.
- */
-static void
-errorReason_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
- td->free_struct = asn_DEF_NativeEnumerated.free_struct;
- td->print_struct = asn_DEF_NativeEnumerated.print_struct;
- td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder;
- td->der_encoder = asn_DEF_NativeEnumerated.der_encoder;
- td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder;
- td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder;
- td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder;
- td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder;
- if(!td->per_constraints)
- td->per_constraints = asn_DEF_NativeEnumerated.per_constraints;
- td->elements = asn_DEF_NativeEnumerated.elements;
- td->elements_count = asn_DEF_NativeEnumerated.elements_count;
- /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */
-}
-
-static void
-errorReason_2_free(asn_TYPE_descriptor_t *td,
- void *struct_ptr, int contents_only) {
- errorReason_2_inherit_TYPE_descriptor(td);
- td->free_struct(td, struct_ptr, contents_only);
-}
-
-static int
-errorReason_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
- int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- errorReason_2_inherit_TYPE_descriptor(td);
- return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
-}
-
-static asn_dec_rval_t
-errorReason_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const void *bufptr, size_t size, int tag_mode) {
- errorReason_2_inherit_TYPE_descriptor(td);
- return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
-}
-
-static asn_enc_rval_t
-errorReason_2_encode_der(asn_TYPE_descriptor_t *td,
- void *structure, int tag_mode, ber_tlv_tag_t tag,
- asn_app_consume_bytes_f *cb, void *app_key) {
- errorReason_2_inherit_TYPE_descriptor(td);
- return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
-}
-
-static asn_dec_rval_t
-errorReason_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- errorReason_2_inherit_TYPE_descriptor(td);
- return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
-}
-
-static asn_enc_rval_t
-errorReason_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
- int ilevel, enum xer_encoder_flags_e flags,
- asn_app_consume_bytes_f *cb, void *app_key) {
- errorReason_2_inherit_TYPE_descriptor(td);
- return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
-}
-
-static asn_INTEGER_enum_map_t asn_MAP_errorReason_value2enum_2[] = {
- { 0, 13, "errorReserved" },
- { 1, 28, "errorInitVersionNotSupported" },
- { 2, 19, "errorInitServerFull" },
- { 3, 20, "errorInitAuthFailure" },
- { 4, 24, "errorInitPlayerNameInUse" },
- { 5, 26, "errorInitInvalidPlayerName" },
- { 6, 26, "errorInitServerMaintenance" },
- { 7, 16, "errorInitBlocked" },
- { 8, 19, "errorAvatarTooLarge" },
- { 256, 18, "errorInvalidPacket" },
- { 257, 17, "errorInvalidState" },
- { 258, 21, "errorKickedFromServer" },
- { 259, 21, "errorBannedFromServer" },
- { 260, 20, "errorBlockedByServer" },
- { 261, 19, "errorSessionTimeout" }
-};
-static unsigned int asn_MAP_errorReason_enum2value_2[] = {
- 8, /* errorAvatarTooLarge(8) */
- 12, /* errorBannedFromServer(259) */
- 13, /* errorBlockedByServer(260) */
- 3, /* errorInitAuthFailure(3) */
- 7, /* errorInitBlocked(7) */
- 5, /* errorInitInvalidPlayerName(5) */
- 4, /* errorInitPlayerNameInUse(4) */
- 2, /* errorInitServerFull(2) */
- 6, /* errorInitServerMaintenance(6) */
- 1, /* errorInitVersionNotSupported(1) */
- 9, /* errorInvalidPacket(256) */
- 10, /* errorInvalidState(257) */
- 11, /* errorKickedFromServer(258) */
- 0, /* errorReserved(0) */
- 14 /* errorSessionTimeout(261) */
-};
-static asn_INTEGER_specifics_t asn_SPC_errorReason_specs_2 = {
- asn_MAP_errorReason_value2enum_2, /* "tag" => N; sorted by tag */
- asn_MAP_errorReason_enum2value_2, /* N => "tag"; sorted by N */
- 15, /* Number of elements in the maps */
- 0, /* Enumeration is not extensible */
- 1, /* Strict enumeration */
- 0, /* Native long size */
- 0
-};
-static ber_tlv_tag_t asn_DEF_errorReason_tags_2[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
-};
-static /* Use -fall-defs-global to expose */
-asn_TYPE_descriptor_t asn_DEF_errorReason_2 = {
- "errorReason",
- "errorReason",
- errorReason_2_free,
- errorReason_2_print,
- errorReason_2_constraint,
- errorReason_2_decode_ber,
- errorReason_2_encode_der,
- errorReason_2_decode_xer,
- errorReason_2_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_errorReason_tags_2,
- sizeof(asn_DEF_errorReason_tags_2)
- /sizeof(asn_DEF_errorReason_tags_2[0]), /* 1 */
- asn_DEF_errorReason_tags_2, /* Same as above */
- sizeof(asn_DEF_errorReason_tags_2)
- /sizeof(asn_DEF_errorReason_tags_2[0]), /* 1 */
- 0, /* No PER visible constraints */
- 0, 0, /* Defined elsewhere */
- &asn_SPC_errorReason_specs_2 /* Additional specs */
-};
-
-static asn_TYPE_member_t asn_MBR_ErrorMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct ErrorMessage, errorReason),
- (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
- 0,
- &asn_DEF_errorReason_2,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "errorReason"
- },
-};
-static ber_tlv_tag_t asn_DEF_ErrorMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (255 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_ErrorMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* errorReason at 790 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_ErrorMessage_specs_1 = {
- sizeof(struct ErrorMessage),
- offsetof(struct ErrorMessage, _asn_ctx),
- asn_MAP_ErrorMessage_tag2el_1,
- 1, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 0, /* Start extensions */
- 2 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_ErrorMessage = {
- "ErrorMessage",
- "ErrorMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_ErrorMessage_tags_1,
- sizeof(asn_DEF_ErrorMessage_tags_1)
- /sizeof(asn_DEF_ErrorMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_ErrorMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_ErrorMessage_tags_1)
- /sizeof(asn_DEF_ErrorMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_ErrorMessage_1,
- 1, /* Elements count */
- &asn_SPC_ErrorMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/ErrorMessage.h b/src/third_party/asn1/ErrorMessage.h
deleted file mode 100644
index 9bde1055..00000000
--- a/src/third_party/asn1/ErrorMessage.h
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _ErrorMessage_H_
-#define _ErrorMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* Dependencies */
- typedef enum errorReason {
- errorReason_errorReserved = 0,
- errorReason_errorInitVersionNotSupported = 1,
- errorReason_errorInitServerFull = 2,
- errorReason_errorInitAuthFailure = 3,
- errorReason_errorInitPlayerNameInUse = 4,
- errorReason_errorInitInvalidPlayerName = 5,
- errorReason_errorInitServerMaintenance = 6,
- errorReason_errorInitBlocked = 7,
- errorReason_errorAvatarTooLarge = 8,
- errorReason_errorInvalidPacket = 256,
- errorReason_errorInvalidState = 257,
- errorReason_errorKickedFromServer = 258,
- errorReason_errorBannedFromServer = 259,
- errorReason_errorBlockedByServer = 260,
- errorReason_errorSessionTimeout = 261
- }
- e_errorReason;
-
- /* ErrorMessage */
- typedef struct ErrorMessage {
- long errorReason;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } ErrorMessage_t;
-
- /* Implementation */
- /* extern asn_TYPE_descriptor_t asn_DEF_errorReason_2; // (Use -fall-defs-global to expose) */
- extern asn_TYPE_descriptor_t asn_DEF_ErrorMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _ErrorMessage_H_ */
-#include
diff --git a/src/third_party/asn1/GameAdminChanged.c b/src/third_party/asn1/GameAdminChanged.c
deleted file mode 100644
index 1023aa3b..00000000
--- a/src/third_party/asn1/GameAdminChanged.c
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "GameAdminChanged.h"
-
-static asn_TYPE_member_t asn_MBR_GameAdminChanged_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct GameAdminChanged, newAdminPlayerId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "newAdminPlayerId"
- },
-};
-static ber_tlv_tag_t asn_DEF_GameAdminChanged_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_GameAdminChanged_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* newAdminPlayerId at 387 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_GameAdminChanged_specs_1 = {
- sizeof(struct GameAdminChanged),
- offsetof(struct GameAdminChanged, _asn_ctx),
- asn_MAP_GameAdminChanged_tag2el_1,
- 1, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 0, /* Start extensions */
- 2 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_GameAdminChanged = {
- "GameAdminChanged",
- "GameAdminChanged",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_GameAdminChanged_tags_1,
- sizeof(asn_DEF_GameAdminChanged_tags_1)
- /sizeof(asn_DEF_GameAdminChanged_tags_1[0]), /* 1 */
- asn_DEF_GameAdminChanged_tags_1, /* Same as above */
- sizeof(asn_DEF_GameAdminChanged_tags_1)
- /sizeof(asn_DEF_GameAdminChanged_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_GameAdminChanged_1,
- 1, /* Elements count */
- &asn_SPC_GameAdminChanged_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/GameAdminChanged.h b/src/third_party/asn1/GameAdminChanged.h
deleted file mode 100644
index 9365dd6f..00000000
--- a/src/third_party/asn1/GameAdminChanged.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _GameAdminChanged_H_
-#define _GameAdminChanged_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* GameAdminChanged */
- typedef struct GameAdminChanged {
- NonZeroId_t newAdminPlayerId;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } GameAdminChanged_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_GameAdminChanged;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _GameAdminChanged_H_ */
-#include
diff --git a/src/third_party/asn1/GameListAdminChanged.c b/src/third_party/asn1/GameListAdminChanged.c
deleted file mode 100644
index 41fd770e..00000000
--- a/src/third_party/asn1/GameListAdminChanged.c
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "GameListAdminChanged.h"
-
-static asn_TYPE_member_t asn_MBR_GameListAdminChanged_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct GameListAdminChanged, newAdminPlayerId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "newAdminPlayerId"
- },
-};
-static ber_tlv_tag_t asn_DEF_GameListAdminChanged_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_GameListAdminChanged_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* newAdminPlayerId at 233 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_GameListAdminChanged_specs_1 = {
- sizeof(struct GameListAdminChanged),
- offsetof(struct GameListAdminChanged, _asn_ctx),
- asn_MAP_GameListAdminChanged_tag2el_1,
- 1, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 0, /* Start extensions */
- 2 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_GameListAdminChanged = {
- "GameListAdminChanged",
- "GameListAdminChanged",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_GameListAdminChanged_tags_1,
- sizeof(asn_DEF_GameListAdminChanged_tags_1)
- /sizeof(asn_DEF_GameListAdminChanged_tags_1[0]), /* 1 */
- asn_DEF_GameListAdminChanged_tags_1, /* Same as above */
- sizeof(asn_DEF_GameListAdminChanged_tags_1)
- /sizeof(asn_DEF_GameListAdminChanged_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_GameListAdminChanged_1,
- 1, /* Elements count */
- &asn_SPC_GameListAdminChanged_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/GameListAdminChanged.h b/src/third_party/asn1/GameListAdminChanged.h
deleted file mode 100644
index 164f9c3d..00000000
--- a/src/third_party/asn1/GameListAdminChanged.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _GameListAdminChanged_H_
-#define _GameListAdminChanged_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* GameListAdminChanged */
- typedef struct GameListAdminChanged {
- NonZeroId_t newAdminPlayerId;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } GameListAdminChanged_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_GameListAdminChanged;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _GameListAdminChanged_H_ */
-#include
diff --git a/src/third_party/asn1/GameListMessage.c b/src/third_party/asn1/GameListMessage.c
deleted file mode 100644
index 22a49f4c..00000000
--- a/src/third_party/asn1/GameListMessage.c
+++ /dev/null
@@ -1,161 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "GameListMessage.h"
-
-static asn_TYPE_member_t asn_MBR_gameListNotification_3[] = {
- { ATF_NOFLAGS, 0, offsetof(struct gameListNotification, choice.gameListNew),
- (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_GameListNew,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameListNew"
- },
- { ATF_NOFLAGS, 0, offsetof(struct gameListNotification, choice.gameListUpdate),
- (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_GameListUpdate,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameListUpdate"
- },
- { ATF_NOFLAGS, 0, offsetof(struct gameListNotification, choice.gameListPlayerJoined),
- (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_GameListPlayerJoined,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameListPlayerJoined"
- },
- { ATF_NOFLAGS, 0, offsetof(struct gameListNotification, choice.gameListPlayerLeft),
- (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_GameListPlayerLeft,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameListPlayerLeft"
- },
- { ATF_NOFLAGS, 0, offsetof(struct gameListNotification, choice.gameListAdminChanged),
- (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_GameListAdminChanged,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameListAdminChanged"
- },
-};
-static asn_TYPE_tag2member_t asn_MAP_gameListNotification_tag2el_3[] = {
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gameListNew at 203 */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 204 */
- { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameListPlayerJoined at 205 */
- { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* gameListPlayerLeft at 206 */
- { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* gameListAdminChanged at 208 */
-};
-static asn_CHOICE_specifics_t asn_SPC_gameListNotification_specs_3 = {
- sizeof(struct gameListNotification),
- offsetof(struct gameListNotification, _asn_ctx),
- offsetof(struct gameListNotification, present),
- sizeof(((struct gameListNotification *)0)->present),
- asn_MAP_gameListNotification_tag2el_3,
- 5, /* Count of tags in the map */
- 0,
- 5 /* Extensions start */
-};
-static /* Use -fall-defs-global to expose */
-asn_TYPE_descriptor_t asn_DEF_gameListNotification_3 = {
- "gameListNotification",
- "gameListNotification",
- CHOICE_free,
- CHOICE_print,
- CHOICE_constraint,
- CHOICE_decode_ber,
- CHOICE_encode_der,
- CHOICE_decode_xer,
- CHOICE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- CHOICE_outmost_tag,
- 0, /* No effective tags (pointer) */
- 0, /* No effective tags (count) */
- 0, /* No tags (pointer) */
- 0, /* No tags (count) */
- 0, /* No PER visible constraints */
- asn_MBR_gameListNotification_3,
- 5, /* Elements count */
- &asn_SPC_gameListNotification_specs_3 /* Additional specs */
-};
-
-static asn_TYPE_member_t asn_MBR_GameListMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct GameListMessage, gameId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct GameListMessage, gameListNotification),
- -1 /* Ambiguous tag (CHOICE?) */,
- 0,
- &asn_DEF_gameListNotification_3,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameListNotification"
- },
-};
-static ber_tlv_tag_t asn_DEF_GameListMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (7 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_GameListMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 201 */
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gameListNew at 203 */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 204 */
- { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameListPlayerJoined at 205 */
- { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 }, /* gameListPlayerLeft at 206 */
- { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 1, 0, 0 } /* gameListAdminChanged at 208 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_GameListMessage_specs_1 = {
- sizeof(struct GameListMessage),
- offsetof(struct GameListMessage, _asn_ctx),
- asn_MAP_GameListMessage_tag2el_1,
- 6, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_GameListMessage = {
- "GameListMessage",
- "GameListMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_GameListMessage_tags_1,
- sizeof(asn_DEF_GameListMessage_tags_1)
- /sizeof(asn_DEF_GameListMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_GameListMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_GameListMessage_tags_1)
- /sizeof(asn_DEF_GameListMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_GameListMessage_1,
- 2, /* Elements count */
- &asn_SPC_GameListMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/GameListMessage.h b/src/third_party/asn1/GameListMessage.h
deleted file mode 100644
index c19d49fc..00000000
--- a/src/third_party/asn1/GameListMessage.h
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _GameListMessage_H_
-#define _GameListMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include "GameListNew.h"
-#include "GameListUpdate.h"
-#include "GameListPlayerJoined.h"
-#include "GameListPlayerLeft.h"
-#include "GameListAdminChanged.h"
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* Dependencies */
- typedef enum gameListNotification_PR {
- gameListNotification_PR_NOTHING, /* No components present */
- gameListNotification_PR_gameListNew,
- gameListNotification_PR_gameListUpdate,
- gameListNotification_PR_gameListPlayerJoined,
- gameListNotification_PR_gameListPlayerLeft,
- gameListNotification_PR_gameListAdminChanged,
- /* Extensions may appear below */
-
- }
- gameListNotification_PR;
-
- /* GameListMessage */
- typedef struct GameListMessage {
- NonZeroId_t gameId;
- struct gameListNotification {
- gameListNotification_PR present;
- union GameListMessage__gameListNotification_u {
- GameListNew_t gameListNew;
- GameListUpdate_t gameListUpdate;
- GameListPlayerJoined_t gameListPlayerJoined;
- GameListPlayerLeft_t gameListPlayerLeft;
- GameListAdminChanged_t gameListAdminChanged;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
- } choice;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } gameListNotification;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } GameListMessage_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_GameListMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _GameListMessage_H_ */
-#include
diff --git a/src/third_party/asn1/GameListNew.c b/src/third_party/asn1/GameListNew.c
deleted file mode 100644
index a13820db..00000000
--- a/src/third_party/asn1/GameListNew.c
+++ /dev/null
@@ -1,169 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "GameListNew.h"
-
-static int
-memb_playerIds_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- size_t size;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- /* Determine the number of elements */
- size = _A_CSEQUENCE_FROM_VOID(sptr)->count;
-
- if((size <= 10)) {
- /* Perform validation of the inner elements */
- return td->check_constraints(td, sptr, ctfailcb, app_key);
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static asn_TYPE_member_t asn_MBR_playerIds_4[] = {
- { ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- ""
- },
-};
-static ber_tlv_tag_t asn_DEF_playerIds_tags_4[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_SET_OF_specifics_t asn_SPC_playerIds_specs_4 = {
- sizeof(struct playerIds),
- offsetof(struct playerIds, _asn_ctx),
- 0, /* XER encoding is XMLDelimitedItemList */
-};
-static /* Use -fall-defs-global to expose */
-asn_TYPE_descriptor_t asn_DEF_playerIds_4 = {
- "playerIds",
- "playerIds",
- SEQUENCE_OF_free,
- SEQUENCE_OF_print,
- SEQUENCE_OF_constraint,
- SEQUENCE_OF_decode_ber,
- SEQUENCE_OF_encode_der,
- SEQUENCE_OF_decode_xer,
- SEQUENCE_OF_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_playerIds_tags_4,
- sizeof(asn_DEF_playerIds_tags_4)
- /sizeof(asn_DEF_playerIds_tags_4[0]), /* 1 */
- asn_DEF_playerIds_tags_4, /* Same as above */
- sizeof(asn_DEF_playerIds_tags_4)
- /sizeof(asn_DEF_playerIds_tags_4[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_playerIds_4,
- 1, /* Single element */
- &asn_SPC_playerIds_specs_4 /* Additional specs */
-};
-
-static asn_TYPE_member_t asn_MBR_GameListNew_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct GameListNew, gameMode),
- (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
- 0,
- &asn_DEF_NetGameMode,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameMode"
- },
- { ATF_NOFLAGS, 0, offsetof(struct GameListNew, isPrivate),
- (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)),
- 0,
- &asn_DEF_BOOLEAN,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "isPrivate"
- },
- { ATF_NOFLAGS, 0, offsetof(struct GameListNew, playerIds),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
- 0,
- &asn_DEF_playerIds_4,
- memb_playerIds_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "playerIds"
- },
- { ATF_NOFLAGS, 0, offsetof(struct GameListNew, adminPlayerId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "adminPlayerId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct GameListNew, gameInfo),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
- 0,
- &asn_DEF_NetGameInfo,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameInfo"
- },
-};
-static ber_tlv_tag_t asn_DEF_GameListNew_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_GameListNew_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isPrivate at 213 */
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, 0, 0 }, /* adminPlayerId at 215 */
- { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 }, /* gameMode at 212 */
- { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 1 }, /* playerIds at 214 */
- { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -1, 0 } /* gameInfo at 217 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_GameListNew_specs_1 = {
- sizeof(struct GameListNew),
- offsetof(struct GameListNew, _asn_ctx),
- asn_MAP_GameListNew_tag2el_1,
- 5, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 4, /* Start extensions */
- 6 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_GameListNew = {
- "GameListNew",
- "GameListNew",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_GameListNew_tags_1,
- sizeof(asn_DEF_GameListNew_tags_1)
- /sizeof(asn_DEF_GameListNew_tags_1[0]), /* 1 */
- asn_DEF_GameListNew_tags_1, /* Same as above */
- sizeof(asn_DEF_GameListNew_tags_1)
- /sizeof(asn_DEF_GameListNew_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_GameListNew_1,
- 5, /* Elements count */
- &asn_SPC_GameListNew_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/GameListNew.h b/src/third_party/asn1/GameListNew.h
deleted file mode 100644
index a3ccfae1..00000000
--- a/src/third_party/asn1/GameListNew.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _GameListNew_H_
-#define _GameListNew_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NetGameMode.h"
-#include
-#include "NonZeroId.h"
-#include "NetGameInfo.h"
-#include
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* GameListNew */
- typedef struct GameListNew {
- NetGameMode_t gameMode;
- BOOLEAN_t isPrivate;
- struct playerIds {
- A_SEQUENCE_OF(NonZeroId_t) list;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } playerIds;
- NonZeroId_t adminPlayerId;
- NetGameInfo_t gameInfo;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } GameListNew_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_GameListNew;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _GameListNew_H_ */
-#include
diff --git a/src/third_party/asn1/GameListPlayerJoined.c b/src/third_party/asn1/GameListPlayerJoined.c
deleted file mode 100644
index 2a0177d1..00000000
--- a/src/third_party/asn1/GameListPlayerJoined.c
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "GameListPlayerJoined.h"
-
-static asn_TYPE_member_t asn_MBR_GameListPlayerJoined_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct GameListPlayerJoined, playerId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "playerId"
- },
-};
-static ber_tlv_tag_t asn_DEF_GameListPlayerJoined_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_GameListPlayerJoined_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 225 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_GameListPlayerJoined_specs_1 = {
- sizeof(struct GameListPlayerJoined),
- offsetof(struct GameListPlayerJoined, _asn_ctx),
- asn_MAP_GameListPlayerJoined_tag2el_1,
- 1, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 0, /* Start extensions */
- 2 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_GameListPlayerJoined = {
- "GameListPlayerJoined",
- "GameListPlayerJoined",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_GameListPlayerJoined_tags_1,
- sizeof(asn_DEF_GameListPlayerJoined_tags_1)
- /sizeof(asn_DEF_GameListPlayerJoined_tags_1[0]), /* 1 */
- asn_DEF_GameListPlayerJoined_tags_1, /* Same as above */
- sizeof(asn_DEF_GameListPlayerJoined_tags_1)
- /sizeof(asn_DEF_GameListPlayerJoined_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_GameListPlayerJoined_1,
- 1, /* Elements count */
- &asn_SPC_GameListPlayerJoined_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/GameListPlayerJoined.h b/src/third_party/asn1/GameListPlayerJoined.h
deleted file mode 100644
index 67bc0b22..00000000
--- a/src/third_party/asn1/GameListPlayerJoined.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _GameListPlayerJoined_H_
-#define _GameListPlayerJoined_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* GameListPlayerJoined */
- typedef struct GameListPlayerJoined {
- NonZeroId_t playerId;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } GameListPlayerJoined_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_GameListPlayerJoined;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _GameListPlayerJoined_H_ */
-#include
diff --git a/src/third_party/asn1/GameListPlayerLeft.c b/src/third_party/asn1/GameListPlayerLeft.c
deleted file mode 100644
index 33c2ec87..00000000
--- a/src/third_party/asn1/GameListPlayerLeft.c
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "GameListPlayerLeft.h"
-
-static asn_TYPE_member_t asn_MBR_GameListPlayerLeft_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct GameListPlayerLeft, playerId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "playerId"
- },
-};
-static ber_tlv_tag_t asn_DEF_GameListPlayerLeft_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_GameListPlayerLeft_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 229 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_GameListPlayerLeft_specs_1 = {
- sizeof(struct GameListPlayerLeft),
- offsetof(struct GameListPlayerLeft, _asn_ctx),
- asn_MAP_GameListPlayerLeft_tag2el_1,
- 1, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 0, /* Start extensions */
- 2 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_GameListPlayerLeft = {
- "GameListPlayerLeft",
- "GameListPlayerLeft",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_GameListPlayerLeft_tags_1,
- sizeof(asn_DEF_GameListPlayerLeft_tags_1)
- /sizeof(asn_DEF_GameListPlayerLeft_tags_1[0]), /* 1 */
- asn_DEF_GameListPlayerLeft_tags_1, /* Same as above */
- sizeof(asn_DEF_GameListPlayerLeft_tags_1)
- /sizeof(asn_DEF_GameListPlayerLeft_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_GameListPlayerLeft_1,
- 1, /* Elements count */
- &asn_SPC_GameListPlayerLeft_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/GameListPlayerLeft.h b/src/third_party/asn1/GameListPlayerLeft.h
deleted file mode 100644
index 36558466..00000000
--- a/src/third_party/asn1/GameListPlayerLeft.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _GameListPlayerLeft_H_
-#define _GameListPlayerLeft_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* GameListPlayerLeft */
- typedef struct GameListPlayerLeft {
- NonZeroId_t playerId;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } GameListPlayerLeft_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_GameListPlayerLeft;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _GameListPlayerLeft_H_ */
-#include
diff --git a/src/third_party/asn1/GameListUpdate.c b/src/third_party/asn1/GameListUpdate.c
deleted file mode 100644
index ac60ab4e..00000000
--- a/src/third_party/asn1/GameListUpdate.c
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "GameListUpdate.h"
-
-static asn_TYPE_member_t asn_MBR_GameListUpdate_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct GameListUpdate, gameMode),
- (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
- 0,
- &asn_DEF_NetGameMode,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameMode"
- },
-};
-static ber_tlv_tag_t asn_DEF_GameListUpdate_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_GameListUpdate_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* gameMode at 221 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_GameListUpdate_specs_1 = {
- sizeof(struct GameListUpdate),
- offsetof(struct GameListUpdate, _asn_ctx),
- asn_MAP_GameListUpdate_tag2el_1,
- 1, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 0, /* Start extensions */
- 2 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_GameListUpdate = {
- "GameListUpdate",
- "GameListUpdate",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_GameListUpdate_tags_1,
- sizeof(asn_DEF_GameListUpdate_tags_1)
- /sizeof(asn_DEF_GameListUpdate_tags_1[0]), /* 1 */
- asn_DEF_GameListUpdate_tags_1, /* Same as above */
- sizeof(asn_DEF_GameListUpdate_tags_1)
- /sizeof(asn_DEF_GameListUpdate_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_GameListUpdate_1,
- 1, /* Elements count */
- &asn_SPC_GameListUpdate_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/GameListUpdate.h b/src/third_party/asn1/GameListUpdate.h
deleted file mode 100644
index ceed3011..00000000
--- a/src/third_party/asn1/GameListUpdate.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _GameListUpdate_H_
-#define _GameListUpdate_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NetGameMode.h"
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* GameListUpdate */
- typedef struct GameListUpdate {
- NetGameMode_t gameMode;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } GameListUpdate_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_GameListUpdate;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _GameListUpdate_H_ */
-#include
diff --git a/src/third_party/asn1/GamePlayerJoined.c b/src/third_party/asn1/GamePlayerJoined.c
deleted file mode 100644
index e2618955..00000000
--- a/src/third_party/asn1/GamePlayerJoined.c
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "GamePlayerJoined.h"
-
-static asn_TYPE_member_t asn_MBR_GamePlayerJoined_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct GamePlayerJoined, playerId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "playerId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct GamePlayerJoined, isGameAdmin),
- (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)),
- 0,
- &asn_DEF_BOOLEAN,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "isGameAdmin"
- },
-};
-static ber_tlv_tag_t asn_DEF_GamePlayerJoined_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_GamePlayerJoined_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isGameAdmin at 373 */
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 372 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerJoined_specs_1 = {
- sizeof(struct GamePlayerJoined),
- offsetof(struct GamePlayerJoined, _asn_ctx),
- asn_MAP_GamePlayerJoined_tag2el_1,
- 2, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_GamePlayerJoined = {
- "GamePlayerJoined",
- "GamePlayerJoined",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_GamePlayerJoined_tags_1,
- sizeof(asn_DEF_GamePlayerJoined_tags_1)
- /sizeof(asn_DEF_GamePlayerJoined_tags_1[0]), /* 1 */
- asn_DEF_GamePlayerJoined_tags_1, /* Same as above */
- sizeof(asn_DEF_GamePlayerJoined_tags_1)
- /sizeof(asn_DEF_GamePlayerJoined_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_GamePlayerJoined_1,
- 2, /* Elements count */
- &asn_SPC_GamePlayerJoined_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/GamePlayerJoined.h b/src/third_party/asn1/GamePlayerJoined.h
deleted file mode 100644
index c8a137ff..00000000
--- a/src/third_party/asn1/GamePlayerJoined.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _GamePlayerJoined_H_
-#define _GamePlayerJoined_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* GamePlayerJoined */
- typedef struct GamePlayerJoined {
- NonZeroId_t playerId;
- BOOLEAN_t isGameAdmin;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } GamePlayerJoined_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_GamePlayerJoined;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _GamePlayerJoined_H_ */
-#include
diff --git a/src/third_party/asn1/GamePlayerLeft.c b/src/third_party/asn1/GamePlayerLeft.c
deleted file mode 100644
index 99123af8..00000000
--- a/src/third_party/asn1/GamePlayerLeft.c
+++ /dev/null
@@ -1,188 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "GamePlayerLeft.h"
-
-static int
-gamePlayerLeftReason_3_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- /* Replace with underlying type checker */
- td->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
- return td->check_constraints(td, sptr, ctfailcb, app_key);
-}
-
-/*
- * This type is implemented using NativeEnumerated,
- * so here we adjust the DEF accordingly.
- */
-static void
-gamePlayerLeftReason_3_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
- td->free_struct = asn_DEF_NativeEnumerated.free_struct;
- td->print_struct = asn_DEF_NativeEnumerated.print_struct;
- td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder;
- td->der_encoder = asn_DEF_NativeEnumerated.der_encoder;
- td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder;
- td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder;
- td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder;
- td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder;
- if(!td->per_constraints)
- td->per_constraints = asn_DEF_NativeEnumerated.per_constraints;
- td->elements = asn_DEF_NativeEnumerated.elements;
- td->elements_count = asn_DEF_NativeEnumerated.elements_count;
- /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */
-}
-
-static void
-gamePlayerLeftReason_3_free(asn_TYPE_descriptor_t *td,
- void *struct_ptr, int contents_only) {
- gamePlayerLeftReason_3_inherit_TYPE_descriptor(td);
- td->free_struct(td, struct_ptr, contents_only);
-}
-
-static int
-gamePlayerLeftReason_3_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
- int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- gamePlayerLeftReason_3_inherit_TYPE_descriptor(td);
- return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
-}
-
-static asn_dec_rval_t
-gamePlayerLeftReason_3_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const void *bufptr, size_t size, int tag_mode) {
- gamePlayerLeftReason_3_inherit_TYPE_descriptor(td);
- return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
-}
-
-static asn_enc_rval_t
-gamePlayerLeftReason_3_encode_der(asn_TYPE_descriptor_t *td,
- void *structure, int tag_mode, ber_tlv_tag_t tag,
- asn_app_consume_bytes_f *cb, void *app_key) {
- gamePlayerLeftReason_3_inherit_TYPE_descriptor(td);
- return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
-}
-
-static asn_dec_rval_t
-gamePlayerLeftReason_3_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- gamePlayerLeftReason_3_inherit_TYPE_descriptor(td);
- return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
-}
-
-static asn_enc_rval_t
-gamePlayerLeftReason_3_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
- int ilevel, enum xer_encoder_flags_e flags,
- asn_app_consume_bytes_f *cb, void *app_key) {
- gamePlayerLeftReason_3_inherit_TYPE_descriptor(td);
- return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
-}
-
-static asn_INTEGER_enum_map_t asn_MAP_gamePlayerLeftReason_value2enum_3[] = {
- { 0, 13, "leftOnRequest" },
- { 1, 10, "leftKicked" },
- { 2, 9, "leftError" }
-};
-static unsigned int asn_MAP_gamePlayerLeftReason_enum2value_3[] = {
- 2, /* leftError(2) */
- 1, /* leftKicked(1) */
- 0 /* leftOnRequest(0) */
-};
-static asn_INTEGER_specifics_t asn_SPC_gamePlayerLeftReason_specs_3 = {
- asn_MAP_gamePlayerLeftReason_value2enum_3, /* "tag" => N; sorted by tag */
- asn_MAP_gamePlayerLeftReason_enum2value_3, /* N => "tag"; sorted by N */
- 3, /* Number of elements in the maps */
- 0, /* Enumeration is not extensible */
- 1, /* Strict enumeration */
- 0, /* Native long size */
- 0
-};
-static ber_tlv_tag_t asn_DEF_gamePlayerLeftReason_tags_3[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
-};
-static /* Use -fall-defs-global to expose */
-asn_TYPE_descriptor_t asn_DEF_gamePlayerLeftReason_3 = {
- "gamePlayerLeftReason",
- "gamePlayerLeftReason",
- gamePlayerLeftReason_3_free,
- gamePlayerLeftReason_3_print,
- gamePlayerLeftReason_3_constraint,
- gamePlayerLeftReason_3_decode_ber,
- gamePlayerLeftReason_3_encode_der,
- gamePlayerLeftReason_3_decode_xer,
- gamePlayerLeftReason_3_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_gamePlayerLeftReason_tags_3,
- sizeof(asn_DEF_gamePlayerLeftReason_tags_3)
- /sizeof(asn_DEF_gamePlayerLeftReason_tags_3[0]), /* 1 */
- asn_DEF_gamePlayerLeftReason_tags_3, /* Same as above */
- sizeof(asn_DEF_gamePlayerLeftReason_tags_3)
- /sizeof(asn_DEF_gamePlayerLeftReason_tags_3[0]), /* 1 */
- 0, /* No PER visible constraints */
- 0, 0, /* Defined elsewhere */
- &asn_SPC_gamePlayerLeftReason_specs_3 /* Additional specs */
-};
-
-static asn_TYPE_member_t asn_MBR_GamePlayerLeft_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct GamePlayerLeft, playerId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "playerId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct GamePlayerLeft, gamePlayerLeftReason),
- (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
- 0,
- &asn_DEF_gamePlayerLeftReason_3,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gamePlayerLeftReason"
- },
-};
-static ber_tlv_tag_t asn_DEF_GamePlayerLeft_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_GamePlayerLeft_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* playerId at 377 */
- { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 } /* gamePlayerLeftReason at 379 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerLeft_specs_1 = {
- sizeof(struct GamePlayerLeft),
- offsetof(struct GamePlayerLeft, _asn_ctx),
- asn_MAP_GamePlayerLeft_tag2el_1,
- 2, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_GamePlayerLeft = {
- "GamePlayerLeft",
- "GamePlayerLeft",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_GamePlayerLeft_tags_1,
- sizeof(asn_DEF_GamePlayerLeft_tags_1)
- /sizeof(asn_DEF_GamePlayerLeft_tags_1[0]), /* 1 */
- asn_DEF_GamePlayerLeft_tags_1, /* Same as above */
- sizeof(asn_DEF_GamePlayerLeft_tags_1)
- /sizeof(asn_DEF_GamePlayerLeft_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_GamePlayerLeft_1,
- 2, /* Elements count */
- &asn_SPC_GamePlayerLeft_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/GamePlayerLeft.h b/src/third_party/asn1/GamePlayerLeft.h
deleted file mode 100644
index b45401bd..00000000
--- a/src/third_party/asn1/GamePlayerLeft.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _GamePlayerLeft_H_
-#define _GamePlayerLeft_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* Dependencies */
- typedef enum gamePlayerLeftReason {
- gamePlayerLeftReason_leftOnRequest = 0,
- gamePlayerLeftReason_leftKicked = 1,
- gamePlayerLeftReason_leftError = 2
- }
- e_gamePlayerLeftReason;
-
- /* GamePlayerLeft */
- typedef struct GamePlayerLeft {
- NonZeroId_t playerId;
- long gamePlayerLeftReason;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } GamePlayerLeft_t;
-
- /* Implementation */
- /* extern asn_TYPE_descriptor_t asn_DEF_gamePlayerLeftReason_3; // (Use -fall-defs-global to expose) */
- extern asn_TYPE_descriptor_t asn_DEF_GamePlayerLeft;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _GamePlayerLeft_H_ */
-#include
diff --git a/src/third_party/asn1/GamePlayerMessage.c b/src/third_party/asn1/GamePlayerMessage.c
deleted file mode 100644
index ed2c4013..00000000
--- a/src/third_party/asn1/GamePlayerMessage.c
+++ /dev/null
@@ -1,150 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "GamePlayerMessage.h"
-
-static asn_TYPE_member_t asn_MBR_gamePlayerNotification_3[] = {
- { ATF_NOFLAGS, 0, offsetof(struct gamePlayerNotification, choice.gamePlayerJoined),
- (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_GamePlayerJoined,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gamePlayerJoined"
- },
- { ATF_NOFLAGS, 0, offsetof(struct gamePlayerNotification, choice.gamePlayerLeft),
- (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_GamePlayerLeft,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gamePlayerLeft"
- },
- { ATF_NOFLAGS, 0, offsetof(struct gamePlayerNotification, choice.gameAdminChanged),
- (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_GameAdminChanged,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameAdminChanged"
- },
- { ATF_NOFLAGS, 0, offsetof(struct gamePlayerNotification, choice.removedFromGame),
- (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_RemovedFromGame,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "removedFromGame"
- },
-};
-static asn_TYPE_tag2member_t asn_MAP_gamePlayerNotification_tag2el_3[] = {
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gamePlayerJoined at 364 */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 365 */
- { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameAdminChanged at 366 */
- { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* removedFromGame at 368 */
-};
-static asn_CHOICE_specifics_t asn_SPC_gamePlayerNotification_specs_3 = {
- sizeof(struct gamePlayerNotification),
- offsetof(struct gamePlayerNotification, _asn_ctx),
- offsetof(struct gamePlayerNotification, present),
- sizeof(((struct gamePlayerNotification *)0)->present),
- asn_MAP_gamePlayerNotification_tag2el_3,
- 4, /* Count of tags in the map */
- 0,
- 4 /* Extensions start */
-};
-static /* Use -fall-defs-global to expose */
-asn_TYPE_descriptor_t asn_DEF_gamePlayerNotification_3 = {
- "gamePlayerNotification",
- "gamePlayerNotification",
- CHOICE_free,
- CHOICE_print,
- CHOICE_constraint,
- CHOICE_decode_ber,
- CHOICE_encode_der,
- CHOICE_decode_xer,
- CHOICE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- CHOICE_outmost_tag,
- 0, /* No effective tags (pointer) */
- 0, /* No effective tags (count) */
- 0, /* No tags (pointer) */
- 0, /* No tags (count) */
- 0, /* No PER visible constraints */
- asn_MBR_gamePlayerNotification_3,
- 4, /* Elements count */
- &asn_SPC_gamePlayerNotification_specs_3 /* Additional specs */
-};
-
-static asn_TYPE_member_t asn_MBR_GamePlayerMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct GamePlayerMessage, gameId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct GamePlayerMessage, gamePlayerNotification),
- -1 /* Ambiguous tag (CHOICE?) */,
- 0,
- &asn_DEF_gamePlayerNotification_3,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gamePlayerNotification"
- },
-};
-static ber_tlv_tag_t asn_DEF_GamePlayerMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (13 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_GamePlayerMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 362 */
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gamePlayerJoined at 364 */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 365 */
- { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameAdminChanged at 366 */
- { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* removedFromGame at 368 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerMessage_specs_1 = {
- sizeof(struct GamePlayerMessage),
- offsetof(struct GamePlayerMessage, _asn_ctx),
- asn_MAP_GamePlayerMessage_tag2el_1,
- 5, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_GamePlayerMessage = {
- "GamePlayerMessage",
- "GamePlayerMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_GamePlayerMessage_tags_1,
- sizeof(asn_DEF_GamePlayerMessage_tags_1)
- /sizeof(asn_DEF_GamePlayerMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_GamePlayerMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_GamePlayerMessage_tags_1)
- /sizeof(asn_DEF_GamePlayerMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_GamePlayerMessage_1,
- 2, /* Elements count */
- &asn_SPC_GamePlayerMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/GamePlayerMessage.h b/src/third_party/asn1/GamePlayerMessage.h
deleted file mode 100644
index c0646279..00000000
--- a/src/third_party/asn1/GamePlayerMessage.h
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _GamePlayerMessage_H_
-#define _GamePlayerMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include "GamePlayerJoined.h"
-#include "GamePlayerLeft.h"
-#include "GameAdminChanged.h"
-#include "RemovedFromGame.h"
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* Dependencies */
- typedef enum gamePlayerNotification_PR {
- gamePlayerNotification_PR_NOTHING, /* No components present */
- gamePlayerNotification_PR_gamePlayerJoined,
- gamePlayerNotification_PR_gamePlayerLeft,
- gamePlayerNotification_PR_gameAdminChanged,
- gamePlayerNotification_PR_removedFromGame,
- /* Extensions may appear below */
-
- }
- gamePlayerNotification_PR;
-
- /* GamePlayerMessage */
- typedef struct GamePlayerMessage {
- NonZeroId_t gameId;
- struct gamePlayerNotification {
- gamePlayerNotification_PR present;
- union GamePlayerMessage__gamePlayerNotification_u {
- GamePlayerJoined_t gamePlayerJoined;
- GamePlayerLeft_t gamePlayerLeft;
- GameAdminChanged_t gameAdminChanged;
- RemovedFromGame_t removedFromGame;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
- } choice;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } gamePlayerNotification;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } GamePlayerMessage_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_GamePlayerMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _GamePlayerMessage_H_ */
-#include
diff --git a/src/third_party/asn1/GameStartMessage.c b/src/third_party/asn1/GameStartMessage.c
deleted file mode 100644
index d1a0719f..00000000
--- a/src/third_party/asn1/GameStartMessage.c
+++ /dev/null
@@ -1,138 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "GameStartMessage.h"
-
-static asn_TYPE_member_t asn_MBR_gameStartMode_4[] = {
- { ATF_NOFLAGS, 0, offsetof(struct gameStartMode, choice.gameStartModeInitial),
- (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_GameStartModeInitial,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameStartModeInitial"
- },
- { ATF_NOFLAGS, 0, offsetof(struct gameStartMode, choice.gameStartModeRejoin),
- (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_GameStartModeRejoin,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameStartModeRejoin"
- },
-};
-static asn_TYPE_tag2member_t asn_MAP_gameStartMode_tag2el_4[] = {
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gameStartModeInitial at 473 */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* gameStartModeRejoin at 475 */
-};
-static asn_CHOICE_specifics_t asn_SPC_gameStartMode_specs_4 = {
- sizeof(struct gameStartMode),
- offsetof(struct gameStartMode, _asn_ctx),
- offsetof(struct gameStartMode, present),
- sizeof(((struct gameStartMode *)0)->present),
- asn_MAP_gameStartMode_tag2el_4,
- 2, /* Count of tags in the map */
- 0,
- 2 /* Extensions start */
-};
-static /* Use -fall-defs-global to expose */
-asn_TYPE_descriptor_t asn_DEF_gameStartMode_4 = {
- "gameStartMode",
- "gameStartMode",
- CHOICE_free,
- CHOICE_print,
- CHOICE_constraint,
- CHOICE_decode_ber,
- CHOICE_encode_der,
- CHOICE_decode_xer,
- CHOICE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- CHOICE_outmost_tag,
- 0, /* No effective tags (pointer) */
- 0, /* No effective tags (count) */
- 0, /* No tags (pointer) */
- 0, /* No tags (count) */
- 0, /* No PER visible constraints */
- asn_MBR_gameStartMode_4,
- 2, /* Elements count */
- &asn_SPC_gameStartMode_specs_4 /* Additional specs */
-};
-
-static asn_TYPE_member_t asn_MBR_GameStartMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct GameStartMessage, gameId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct GameStartMessage, startDealerPlayerId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "startDealerPlayerId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct GameStartMessage, gameStartMode),
- -1 /* Ambiguous tag (CHOICE?) */,
- 0,
- &asn_DEF_gameStartMode_4,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameStartMode"
- },
-};
-static ber_tlv_tag_t asn_DEF_GameStartMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (22 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_GameStartMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 470 */
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* startDealerPlayerId at 471 */
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* gameStartModeInitial at 473 */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* gameStartModeRejoin at 475 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_GameStartMessage_specs_1 = {
- sizeof(struct GameStartMessage),
- offsetof(struct GameStartMessage, _asn_ctx),
- asn_MAP_GameStartMessage_tag2el_1,
- 4, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 2, /* Start extensions */
- 4 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_GameStartMessage = {
- "GameStartMessage",
- "GameStartMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_GameStartMessage_tags_1,
- sizeof(asn_DEF_GameStartMessage_tags_1)
- /sizeof(asn_DEF_GameStartMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_GameStartMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_GameStartMessage_tags_1)
- /sizeof(asn_DEF_GameStartMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_GameStartMessage_1,
- 3, /* Elements count */
- &asn_SPC_GameStartMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/GameStartMessage.h b/src/third_party/asn1/GameStartMessage.h
deleted file mode 100644
index f3ac340f..00000000
--- a/src/third_party/asn1/GameStartMessage.h
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _GameStartMessage_H_
-#define _GameStartMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include "GameStartModeInitial.h"
-#include "GameStartModeRejoin.h"
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* Dependencies */
- typedef enum gameStartMode_PR {
- gameStartMode_PR_NOTHING, /* No components present */
- gameStartMode_PR_gameStartModeInitial,
- gameStartMode_PR_gameStartModeRejoin,
- /* Extensions may appear below */
-
- }
- gameStartMode_PR;
-
- /* GameStartMessage */
- typedef struct GameStartMessage {
- NonZeroId_t gameId;
- NonZeroId_t startDealerPlayerId;
- struct gameStartMode {
- gameStartMode_PR present;
- union GameStartMessage__gameStartMode_u {
- GameStartModeInitial_t gameStartModeInitial;
- GameStartModeRejoin_t gameStartModeRejoin;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
- } choice;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } gameStartMode;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } GameStartMessage_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_GameStartMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _GameStartMessage_H_ */
-#include
diff --git a/src/third_party/asn1/GameStartModeInitial.c b/src/third_party/asn1/GameStartModeInitial.c
deleted file mode 100644
index 980c3592..00000000
--- a/src/third_party/asn1/GameStartModeInitial.c
+++ /dev/null
@@ -1,129 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "GameStartModeInitial.h"
-
-static int
-memb_playerSeats_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- size_t size;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- /* Determine the number of elements */
- size = _A_CSEQUENCE_FROM_VOID(sptr)->count;
-
- if((size >= 2 && size <= 10)) {
- /* Perform validation of the inner elements */
- return td->check_constraints(td, sptr, ctfailcb, app_key);
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static asn_TYPE_member_t asn_MBR_playerSeats_2[] = {
- { ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- ""
- },
-};
-static ber_tlv_tag_t asn_DEF_playerSeats_tags_2[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_SET_OF_specifics_t asn_SPC_playerSeats_specs_2 = {
- sizeof(struct playerSeats),
- offsetof(struct playerSeats, _asn_ctx),
- 0, /* XER encoding is XMLDelimitedItemList */
-};
-static /* Use -fall-defs-global to expose */
-asn_TYPE_descriptor_t asn_DEF_playerSeats_2 = {
- "playerSeats",
- "playerSeats",
- SEQUENCE_OF_free,
- SEQUENCE_OF_print,
- SEQUENCE_OF_constraint,
- SEQUENCE_OF_decode_ber,
- SEQUENCE_OF_encode_der,
- SEQUENCE_OF_decode_xer,
- SEQUENCE_OF_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_playerSeats_tags_2,
- sizeof(asn_DEF_playerSeats_tags_2)
- /sizeof(asn_DEF_playerSeats_tags_2[0]), /* 1 */
- asn_DEF_playerSeats_tags_2, /* Same as above */
- sizeof(asn_DEF_playerSeats_tags_2)
- /sizeof(asn_DEF_playerSeats_tags_2[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_playerSeats_2,
- 1, /* Single element */
- &asn_SPC_playerSeats_specs_2 /* Additional specs */
-};
-
-static asn_TYPE_member_t asn_MBR_GameStartModeInitial_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct GameStartModeInitial, playerSeats),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
- 0,
- &asn_DEF_playerSeats_2,
- memb_playerSeats_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "playerSeats"
- },
-};
-static ber_tlv_tag_t asn_DEF_GameStartModeInitial_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_GameStartModeInitial_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* playerSeats at 462 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_GameStartModeInitial_specs_1 = {
- sizeof(struct GameStartModeInitial),
- offsetof(struct GameStartModeInitial, _asn_ctx),
- asn_MAP_GameStartModeInitial_tag2el_1,
- 1, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 0, /* Start extensions */
- 2 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_GameStartModeInitial = {
- "GameStartModeInitial",
- "GameStartModeInitial",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_GameStartModeInitial_tags_1,
- sizeof(asn_DEF_GameStartModeInitial_tags_1)
- /sizeof(asn_DEF_GameStartModeInitial_tags_1[0]), /* 1 */
- asn_DEF_GameStartModeInitial_tags_1, /* Same as above */
- sizeof(asn_DEF_GameStartModeInitial_tags_1)
- /sizeof(asn_DEF_GameStartModeInitial_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_GameStartModeInitial_1,
- 1, /* Elements count */
- &asn_SPC_GameStartModeInitial_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/GameStartModeInitial.h b/src/third_party/asn1/GameStartModeInitial.h
deleted file mode 100644
index c00f44f6..00000000
--- a/src/third_party/asn1/GameStartModeInitial.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _GameStartModeInitial_H_
-#define _GameStartModeInitial_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* GameStartModeInitial */
- typedef struct GameStartModeInitial {
- struct playerSeats {
- A_SEQUENCE_OF(NonZeroId_t) list;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } playerSeats;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } GameStartModeInitial_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_GameStartModeInitial;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _GameStartModeInitial_H_ */
-#include
diff --git a/src/third_party/asn1/GameStartModeRejoin.c b/src/third_party/asn1/GameStartModeRejoin.c
deleted file mode 100644
index d44b74b5..00000000
--- a/src/third_party/asn1/GameStartModeRejoin.c
+++ /dev/null
@@ -1,139 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "GameStartModeRejoin.h"
-
-static int
-memb_rejoinPlayerData_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- size_t size;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- /* Determine the number of elements */
- size = _A_CSEQUENCE_FROM_VOID(sptr)->count;
-
- if((size >= 2 && size <= 10)) {
- /* Perform validation of the inner elements */
- return td->check_constraints(td, sptr, ctfailcb, app_key);
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static asn_TYPE_member_t asn_MBR_rejoinPlayerData_3[] = {
- { ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
- 0,
- &asn_DEF_RejoinPlayerData,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- ""
- },
-};
-static ber_tlv_tag_t asn_DEF_rejoinPlayerData_tags_3[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_SET_OF_specifics_t asn_SPC_rejoinPlayerData_specs_3 = {
- sizeof(struct rejoinPlayerData),
- offsetof(struct rejoinPlayerData, _asn_ctx),
- 0, /* XER encoding is XMLDelimitedItemList */
-};
-static /* Use -fall-defs-global to expose */
-asn_TYPE_descriptor_t asn_DEF_rejoinPlayerData_3 = {
- "rejoinPlayerData",
- "rejoinPlayerData",
- SEQUENCE_OF_free,
- SEQUENCE_OF_print,
- SEQUENCE_OF_constraint,
- SEQUENCE_OF_decode_ber,
- SEQUENCE_OF_encode_der,
- SEQUENCE_OF_decode_xer,
- SEQUENCE_OF_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_rejoinPlayerData_tags_3,
- sizeof(asn_DEF_rejoinPlayerData_tags_3)
- /sizeof(asn_DEF_rejoinPlayerData_tags_3[0]), /* 1 */
- asn_DEF_rejoinPlayerData_tags_3, /* Same as above */
- sizeof(asn_DEF_rejoinPlayerData_tags_3)
- /sizeof(asn_DEF_rejoinPlayerData_tags_3[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_rejoinPlayerData_3,
- 1, /* Single element */
- &asn_SPC_rejoinPlayerData_specs_3 /* Additional specs */
-};
-
-static asn_TYPE_member_t asn_MBR_GameStartModeRejoin_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct GameStartModeRejoin, handNum),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "handNum"
- },
- { ATF_NOFLAGS, 0, offsetof(struct GameStartModeRejoin, rejoinPlayerData),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
- 0,
- &asn_DEF_rejoinPlayerData_3,
- memb_rejoinPlayerData_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "rejoinPlayerData"
- },
-};
-static ber_tlv_tag_t asn_DEF_GameStartModeRejoin_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_GameStartModeRejoin_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* handNum at 465 */
- { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* rejoinPlayerData at 467 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_GameStartModeRejoin_specs_1 = {
- sizeof(struct GameStartModeRejoin),
- offsetof(struct GameStartModeRejoin, _asn_ctx),
- asn_MAP_GameStartModeRejoin_tag2el_1,
- 2, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_GameStartModeRejoin = {
- "GameStartModeRejoin",
- "GameStartModeRejoin",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_GameStartModeRejoin_tags_1,
- sizeof(asn_DEF_GameStartModeRejoin_tags_1)
- /sizeof(asn_DEF_GameStartModeRejoin_tags_1[0]), /* 1 */
- asn_DEF_GameStartModeRejoin_tags_1, /* Same as above */
- sizeof(asn_DEF_GameStartModeRejoin_tags_1)
- /sizeof(asn_DEF_GameStartModeRejoin_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_GameStartModeRejoin_1,
- 2, /* Elements count */
- &asn_SPC_GameStartModeRejoin_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/GameStartModeRejoin.h b/src/third_party/asn1/GameStartModeRejoin.h
deleted file mode 100644
index 2e3e04b7..00000000
--- a/src/third_party/asn1/GameStartModeRejoin.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _GameStartModeRejoin_H_
-#define _GameStartModeRejoin_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* Forward declarations */
- struct RejoinPlayerData;
-
- /* GameStartModeRejoin */
- typedef struct GameStartModeRejoin {
- NonZeroId_t handNum;
- struct rejoinPlayerData {
- A_SEQUENCE_OF(struct RejoinPlayerData) list;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } rejoinPlayerData;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } GameStartModeRejoin_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_GameStartModeRejoin;
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Referred external types */
-#include "RejoinPlayerData.h"
-
-#endif /* _GameStartModeRejoin_H_ */
-#include
diff --git a/src/third_party/asn1/GuestLogin.c b/src/third_party/asn1/GuestLogin.c
deleted file mode 100644
index 45b09065..00000000
--- a/src/third_party/asn1/GuestLogin.c
+++ /dev/null
@@ -1,91 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "GuestLogin.h"
-
-static int
-memb_nickName_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- const UTF8String_t *st = (const UTF8String_t *)sptr;
- size_t size;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- size = UTF8String_length(st);
- if((ssize_t)size < 0) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: UTF-8: broken encoding (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- if((size >= 1 && size <= 64)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static asn_TYPE_member_t asn_MBR_GuestLogin_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct GuestLogin, nickName),
- (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
- 0,
- &asn_DEF_UTF8String,
- memb_nickName_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "nickName"
- },
-};
-static ber_tlv_tag_t asn_DEF_GuestLogin_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_GuestLogin_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* nickName at 115 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_GuestLogin_specs_1 = {
- sizeof(struct GuestLogin),
- offsetof(struct GuestLogin, _asn_ctx),
- asn_MAP_GuestLogin_tag2el_1,
- 1, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 0, /* Start extensions */
- 2 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_GuestLogin = {
- "GuestLogin",
- "GuestLogin",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_GuestLogin_tags_1,
- sizeof(asn_DEF_GuestLogin_tags_1)
- /sizeof(asn_DEF_GuestLogin_tags_1[0]), /* 1 */
- asn_DEF_GuestLogin_tags_1, /* Same as above */
- sizeof(asn_DEF_GuestLogin_tags_1)
- /sizeof(asn_DEF_GuestLogin_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_GuestLogin_1,
- 1, /* Elements count */
- &asn_SPC_GuestLogin_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/GuestLogin.h b/src/third_party/asn1/GuestLogin.h
deleted file mode 100644
index a3b93194..00000000
--- a/src/third_party/asn1/GuestLogin.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _GuestLogin_H_
-#define _GuestLogin_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* GuestLogin */
- typedef struct GuestLogin {
- UTF8String_t nickName;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } GuestLogin_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_GuestLogin;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _GuestLogin_H_ */
-#include
diff --git a/src/third_party/asn1/Guid.c b/src/third_party/asn1/Guid.c
deleted file mode 100644
index c70aa159..00000000
--- a/src/third_party/asn1/Guid.c
+++ /dev/null
@@ -1,126 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "Guid.h"
-
-int
-Guid_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr;
- size_t size;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- size = st->size;
-
- if((size == 16)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-/*
- * This type is implemented using OCTET_STRING,
- * so here we adjust the DEF accordingly.
- */
-static void
-Guid_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
- td->free_struct = asn_DEF_OCTET_STRING.free_struct;
- td->print_struct = asn_DEF_OCTET_STRING.print_struct;
- td->ber_decoder = asn_DEF_OCTET_STRING.ber_decoder;
- td->der_encoder = asn_DEF_OCTET_STRING.der_encoder;
- td->xer_decoder = asn_DEF_OCTET_STRING.xer_decoder;
- td->xer_encoder = asn_DEF_OCTET_STRING.xer_encoder;
- td->uper_decoder = asn_DEF_OCTET_STRING.uper_decoder;
- td->uper_encoder = asn_DEF_OCTET_STRING.uper_encoder;
- if(!td->per_constraints)
- td->per_constraints = asn_DEF_OCTET_STRING.per_constraints;
- td->elements = asn_DEF_OCTET_STRING.elements;
- td->elements_count = asn_DEF_OCTET_STRING.elements_count;
- td->specifics = asn_DEF_OCTET_STRING.specifics;
-}
-
-void
-Guid_free(asn_TYPE_descriptor_t *td,
- void *struct_ptr, int contents_only) {
- Guid_1_inherit_TYPE_descriptor(td);
- td->free_struct(td, struct_ptr, contents_only);
-}
-
-int
-Guid_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
- int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- Guid_1_inherit_TYPE_descriptor(td);
- return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
-}
-
-asn_dec_rval_t
-Guid_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const void *bufptr, size_t size, int tag_mode) {
- Guid_1_inherit_TYPE_descriptor(td);
- return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
-}
-
-asn_enc_rval_t
-Guid_encode_der(asn_TYPE_descriptor_t *td,
- void *structure, int tag_mode, ber_tlv_tag_t tag,
- asn_app_consume_bytes_f *cb, void *app_key) {
- Guid_1_inherit_TYPE_descriptor(td);
- return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
-}
-
-asn_dec_rval_t
-Guid_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- Guid_1_inherit_TYPE_descriptor(td);
- return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
-}
-
-asn_enc_rval_t
-Guid_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
- int ilevel, enum xer_encoder_flags_e flags,
- asn_app_consume_bytes_f *cb, void *app_key) {
- Guid_1_inherit_TYPE_descriptor(td);
- return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
-}
-
-static ber_tlv_tag_t asn_DEF_Guid_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
-};
-asn_TYPE_descriptor_t asn_DEF_Guid = {
- "Guid",
- "Guid",
- Guid_free,
- Guid_print,
- Guid_constraint,
- Guid_decode_ber,
- Guid_encode_der,
- Guid_decode_xer,
- Guid_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_Guid_tags_1,
- sizeof(asn_DEF_Guid_tags_1)
- /sizeof(asn_DEF_Guid_tags_1[0]), /* 1 */
- asn_DEF_Guid_tags_1, /* Same as above */
- sizeof(asn_DEF_Guid_tags_1)
- /sizeof(asn_DEF_Guid_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- 0, 0, /* No members */
- 0 /* No specifics */
-};
-
diff --git a/src/third_party/asn1/Guid.h b/src/third_party/asn1/Guid.h
deleted file mode 100644
index b2d8ddf2..00000000
--- a/src/third_party/asn1/Guid.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _Guid_H_
-#define _Guid_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* Guid */
- typedef OCTET_STRING_t Guid_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_Guid;
- asn_struct_free_f Guid_free;
- asn_struct_print_f Guid_print;
- asn_constr_check_f Guid_constraint;
- ber_type_decoder_f Guid_decode_ber;
- der_type_encoder_f Guid_encode_der;
- xer_type_decoder_f Guid_decode_xer;
- xer_type_encoder_f Guid_encode_xer;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _Guid_H_ */
-#include
diff --git a/src/third_party/asn1/HandStartMessage.c b/src/third_party/asn1/HandStartMessage.c
deleted file mode 100644
index bc06f855..00000000
--- a/src/third_party/asn1/HandStartMessage.c
+++ /dev/null
@@ -1,243 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "HandStartMessage.h"
-
-static int
-memb_smallBlind_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- long value;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- value = *(const long *)sptr;
-
- if((value >= 1 && value <= 100000000)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static int
-memb_seatStates_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- size_t size;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- /* Determine the number of elements */
- size = _A_CSEQUENCE_FROM_VOID(sptr)->count;
-
- if((size >= 2 && size <= 10)) {
- /* Perform validation of the inner elements */
- return td->check_constraints(td, sptr, ctfailcb, app_key);
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static asn_TYPE_member_t asn_MBR_yourCards_3[] = {
- { ATF_NOFLAGS, 0, offsetof(struct yourCards, choice.plainCards),
- (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_PlainCards,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "plainCards"
- },
- { ATF_NOFLAGS, 0, offsetof(struct yourCards, choice.encryptedCards),
- (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_EncryptedCards,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "encryptedCards"
- },
-};
-static asn_TYPE_tag2member_t asn_MAP_yourCards_tag2el_3[] = {
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* plainCards at 490 */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* encryptedCards at 492 */
-};
-static asn_CHOICE_specifics_t asn_SPC_yourCards_specs_3 = {
- sizeof(struct yourCards),
- offsetof(struct yourCards, _asn_ctx),
- offsetof(struct yourCards, present),
- sizeof(((struct yourCards *)0)->present),
- asn_MAP_yourCards_tag2el_3,
- 2, /* Count of tags in the map */
- 0,
- 2 /* Extensions start */
-};
-static /* Use -fall-defs-global to expose */
-asn_TYPE_descriptor_t asn_DEF_yourCards_3 = {
- "yourCards",
- "yourCards",
- CHOICE_free,
- CHOICE_print,
- CHOICE_constraint,
- CHOICE_decode_ber,
- CHOICE_encode_der,
- CHOICE_decode_xer,
- CHOICE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- CHOICE_outmost_tag,
- 0, /* No effective tags (pointer) */
- 0, /* No effective tags (count) */
- 0, /* No tags (pointer) */
- 0, /* No tags (count) */
- 0, /* No PER visible constraints */
- asn_MBR_yourCards_3,
- 2, /* Elements count */
- &asn_SPC_yourCards_specs_3 /* Additional specs */
-};
-
-static asn_TYPE_member_t asn_MBR_seatStates_8[] = {
- { ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
- 0,
- &asn_DEF_NetPlayerState,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- ""
- },
-};
-static ber_tlv_tag_t asn_DEF_seatStates_tags_8[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_SET_OF_specifics_t asn_SPC_seatStates_specs_8 = {
- sizeof(struct seatStates),
- offsetof(struct seatStates, _asn_ctx),
- 1, /* XER encoding is XMLValueList */
-};
-static /* Use -fall-defs-global to expose */
-asn_TYPE_descriptor_t asn_DEF_seatStates_8 = {
- "seatStates",
- "seatStates",
- SEQUENCE_OF_free,
- SEQUENCE_OF_print,
- SEQUENCE_OF_constraint,
- SEQUENCE_OF_decode_ber,
- SEQUENCE_OF_encode_der,
- SEQUENCE_OF_decode_xer,
- SEQUENCE_OF_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_seatStates_tags_8,
- sizeof(asn_DEF_seatStates_tags_8)
- /sizeof(asn_DEF_seatStates_tags_8[0]), /* 1 */
- asn_DEF_seatStates_tags_8, /* Same as above */
- sizeof(asn_DEF_seatStates_tags_8)
- /sizeof(asn_DEF_seatStates_tags_8[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_seatStates_8,
- 1, /* Single element */
- &asn_SPC_seatStates_specs_8 /* Additional specs */
-};
-
-static asn_TYPE_member_t asn_MBR_HandStartMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct HandStartMessage, gameId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct HandStartMessage, yourCards),
- -1 /* Ambiguous tag (CHOICE?) */,
- 0,
- &asn_DEF_yourCards_3,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "yourCards"
- },
- { ATF_NOFLAGS, 0, offsetof(struct HandStartMessage, smallBlind),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NativeInteger,
- memb_smallBlind_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "smallBlind"
- },
- { ATF_NOFLAGS, 0, offsetof(struct HandStartMessage, seatStates),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
- 0,
- &asn_DEF_seatStates_8,
- memb_seatStates_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "seatStates"
- },
-};
-static ber_tlv_tag_t asn_DEF_HandStartMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (23 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_HandStartMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 488 */
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -1, 0 }, /* smallBlind at 493 */
- { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, 0, 0 }, /* seatStates at 495 */
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* plainCards at 490 */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* encryptedCards at 492 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_HandStartMessage_specs_1 = {
- sizeof(struct HandStartMessage),
- offsetof(struct HandStartMessage, _asn_ctx),
- asn_MAP_HandStartMessage_tag2el_1,
- 5, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 3, /* Start extensions */
- 5 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_HandStartMessage = {
- "HandStartMessage",
- "HandStartMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_HandStartMessage_tags_1,
- sizeof(asn_DEF_HandStartMessage_tags_1)
- /sizeof(asn_DEF_HandStartMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_HandStartMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_HandStartMessage_tags_1)
- /sizeof(asn_DEF_HandStartMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_HandStartMessage_1,
- 4, /* Elements count */
- &asn_SPC_HandStartMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/HandStartMessage.h b/src/third_party/asn1/HandStartMessage.h
deleted file mode 100644
index 1bfaf8bc..00000000
--- a/src/third_party/asn1/HandStartMessage.h
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _HandStartMessage_H_
-#define _HandStartMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include
-#include "PlainCards.h"
-#include "EncryptedCards.h"
-#include
-#include "NetPlayerState.h"
-#include
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* Dependencies */
- typedef enum yourCards_PR {
- yourCards_PR_NOTHING, /* No components present */
- yourCards_PR_plainCards,
- yourCards_PR_encryptedCards,
- /* Extensions may appear below */
-
- }
- yourCards_PR;
-
- /* HandStartMessage */
- typedef struct HandStartMessage {
- NonZeroId_t gameId;
- struct yourCards {
- yourCards_PR present;
- union HandStartMessage__yourCards_u {
- PlainCards_t plainCards;
- EncryptedCards_t encryptedCards;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
- } choice;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } yourCards;
- long smallBlind;
- struct seatStates {
- A_SEQUENCE_OF(NetPlayerState_t) list;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } seatStates;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } HandStartMessage_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_HandStartMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _HandStartMessage_H_ */
-#include
diff --git a/src/third_party/asn1/Id.c b/src/third_party/asn1/Id.c
deleted file mode 100644
index 6989585d..00000000
--- a/src/third_party/asn1/Id.c
+++ /dev/null
@@ -1,123 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "Id.h"
-
-int
-Id_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- unsigned long value;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- value = *(const unsigned long *)sptr;
-
- /* Constraint check succeeded */
- return 0;
-}
-
-/*
- * This type is implemented using NativeInteger,
- * so here we adjust the DEF accordingly.
- */
-static void
-Id_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
- td->free_struct = asn_DEF_NativeInteger.free_struct;
- td->print_struct = asn_DEF_NativeInteger.print_struct;
- td->ber_decoder = asn_DEF_NativeInteger.ber_decoder;
- td->der_encoder = asn_DEF_NativeInteger.der_encoder;
- td->xer_decoder = asn_DEF_NativeInteger.xer_decoder;
- td->xer_encoder = asn_DEF_NativeInteger.xer_encoder;
- td->uper_decoder = asn_DEF_NativeInteger.uper_decoder;
- td->uper_encoder = asn_DEF_NativeInteger.uper_encoder;
- if(!td->per_constraints)
- td->per_constraints = asn_DEF_NativeInteger.per_constraints;
- td->elements = asn_DEF_NativeInteger.elements;
- td->elements_count = asn_DEF_NativeInteger.elements_count;
- /* td->specifics = asn_DEF_NativeInteger.specifics; // Defined explicitly */
-}
-
-void
-Id_free(asn_TYPE_descriptor_t *td,
- void *struct_ptr, int contents_only) {
- Id_1_inherit_TYPE_descriptor(td);
- td->free_struct(td, struct_ptr, contents_only);
-}
-
-int
-Id_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
- int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- Id_1_inherit_TYPE_descriptor(td);
- return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
-}
-
-asn_dec_rval_t
-Id_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const void *bufptr, size_t size, int tag_mode) {
- Id_1_inherit_TYPE_descriptor(td);
- return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
-}
-
-asn_enc_rval_t
-Id_encode_der(asn_TYPE_descriptor_t *td,
- void *structure, int tag_mode, ber_tlv_tag_t tag,
- asn_app_consume_bytes_f *cb, void *app_key) {
- Id_1_inherit_TYPE_descriptor(td);
- return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
-}
-
-asn_dec_rval_t
-Id_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- Id_1_inherit_TYPE_descriptor(td);
- return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
-}
-
-asn_enc_rval_t
-Id_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
- int ilevel, enum xer_encoder_flags_e flags,
- asn_app_consume_bytes_f *cb, void *app_key) {
- Id_1_inherit_TYPE_descriptor(td);
- return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
-}
-
-static asn_INTEGER_specifics_t asn_SPC_Id_specs_1 = {
- 0, 0, 0, 0, 0,
- 0, /* Native long size */
- 1 /* Unsigned representation */
-};
-static ber_tlv_tag_t asn_DEF_Id_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
-};
-asn_TYPE_descriptor_t asn_DEF_Id = {
- "Id",
- "Id",
- Id_free,
- Id_print,
- Id_constraint,
- Id_decode_ber,
- Id_encode_der,
- Id_decode_xer,
- Id_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_Id_tags_1,
- sizeof(asn_DEF_Id_tags_1)
- /sizeof(asn_DEF_Id_tags_1[0]), /* 1 */
- asn_DEF_Id_tags_1, /* Same as above */
- sizeof(asn_DEF_Id_tags_1)
- /sizeof(asn_DEF_Id_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- 0, 0, /* No members */
- &asn_SPC_Id_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/Id.h b/src/third_party/asn1/Id.h
deleted file mode 100644
index 66d5ef97..00000000
--- a/src/third_party/asn1/Id.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _Id_H_
-#define _Id_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* Id */
- typedef unsigned long Id_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_Id;
- asn_struct_free_f Id_free;
- asn_struct_print_f Id_print;
- asn_constr_check_f Id_constraint;
- ber_type_decoder_f Id_decode_ber;
- der_type_encoder_f Id_encode_der;
- xer_type_decoder_f Id_decode_xer;
- xer_type_encoder_f Id_encode_xer;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _Id_H_ */
-#include
diff --git a/src/third_party/asn1/InitAckMessage.c b/src/third_party/asn1/InitAckMessage.c
deleted file mode 100644
index 1b318a4e..00000000
--- a/src/third_party/asn1/InitAckMessage.c
+++ /dev/null
@@ -1,90 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "InitAckMessage.h"
-
-static asn_TYPE_member_t asn_MBR_InitAckMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct InitAckMessage, yourSessionId),
- (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
- 0,
- &asn_DEF_Guid,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "yourSessionId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct InitAckMessage, yourPlayerId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "yourPlayerId"
- },
- { ATF_POINTER, 2, offsetof(struct InitAckMessage, yourAvatar),
- (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
- 0,
- &asn_DEF_AvatarHash,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "yourAvatar"
- },
- { ATF_POINTER, 1, offsetof(struct InitAckMessage, rejoinGameId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "rejoinGameId"
- },
-};
-static ber_tlv_tag_t asn_DEF_InitAckMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (3 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_InitAckMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 1 }, /* yourPlayerId at 149 */
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* rejoinGameId at 151 */
- { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 1 }, /* yourSessionId at 148 */
- { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 2, -1, 0 } /* yourAvatar at 150 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_InitAckMessage_specs_1 = {
- sizeof(struct InitAckMessage),
- offsetof(struct InitAckMessage, _asn_ctx),
- asn_MAP_InitAckMessage_tag2el_1,
- 4, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 3, /* Start extensions */
- 5 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_InitAckMessage = {
- "InitAckMessage",
- "InitAckMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_InitAckMessage_tags_1,
- sizeof(asn_DEF_InitAckMessage_tags_1)
- /sizeof(asn_DEF_InitAckMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_InitAckMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_InitAckMessage_tags_1)
- /sizeof(asn_DEF_InitAckMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_InitAckMessage_1,
- 4, /* Elements count */
- &asn_SPC_InitAckMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/InitAckMessage.h b/src/third_party/asn1/InitAckMessage.h
deleted file mode 100644
index bba6adbd..00000000
--- a/src/third_party/asn1/InitAckMessage.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _InitAckMessage_H_
-#define _InitAckMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "Guid.h"
-#include "NonZeroId.h"
-#include "AvatarHash.h"
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* InitAckMessage */
- typedef struct InitAckMessage {
- Guid_t yourSessionId;
- NonZeroId_t yourPlayerId;
- AvatarHash_t *yourAvatar /* OPTIONAL */;
- NonZeroId_t *rejoinGameId /* OPTIONAL */;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } InitAckMessage_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_InitAckMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _InitAckMessage_H_ */
-#include
diff --git a/src/third_party/asn1/InitMessage.c b/src/third_party/asn1/InitMessage.c
deleted file mode 100644
index e0faf3e4..00000000
--- a/src/third_party/asn1/InitMessage.c
+++ /dev/null
@@ -1,201 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "InitMessage.h"
-
-static int
-memb_authServerPassword_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- const UTF8String_t *st = (const UTF8String_t *)sptr;
- size_t size;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- size = UTF8String_length(st);
- if((ssize_t)size < 0) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: UTF-8: broken encoding (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- if((size >= 1 && size <= 64)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static asn_TYPE_member_t asn_MBR_login_6[] = {
- { ATF_NOFLAGS, 0, offsetof(struct login, choice.guestLogin),
- (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_GuestLogin,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "guestLogin"
- },
- { ATF_NOFLAGS, 0, offsetof(struct login, choice.authenticatedLogin),
- (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_AuthenticatedLogin,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "authenticatedLogin"
- },
- { ATF_NOFLAGS, 0, offsetof(struct login, choice.unauthenticatedLogin),
- (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_UnauthenticatedLogin,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "unauthenticatedLogin"
- },
-};
-static asn_TYPE_tag2member_t asn_MAP_login_tag2el_6[] = {
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* guestLogin at 103 */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* authenticatedLogin at 104 */
- { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* unauthenticatedLogin at 106 */
-};
-static asn_CHOICE_specifics_t asn_SPC_login_specs_6 = {
- sizeof(struct login),
- offsetof(struct login, _asn_ctx),
- offsetof(struct login, present),
- sizeof(((struct login *)0)->present),
- asn_MAP_login_tag2el_6,
- 3, /* Count of tags in the map */
- 0,
- 3 /* Extensions start */
-};
-static /* Use -fall-defs-global to expose */
-asn_TYPE_descriptor_t asn_DEF_login_6 = {
- "login",
- "login",
- CHOICE_free,
- CHOICE_print,
- CHOICE_constraint,
- CHOICE_decode_ber,
- CHOICE_encode_der,
- CHOICE_decode_xer,
- CHOICE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- CHOICE_outmost_tag,
- 0, /* No effective tags (pointer) */
- 0, /* No effective tags (count) */
- 0, /* No tags (pointer) */
- 0, /* No tags (count) */
- 0, /* No PER visible constraints */
- asn_MBR_login_6,
- 3, /* Elements count */
- &asn_SPC_login_specs_6 /* Additional specs */
-};
-
-static asn_TYPE_member_t asn_MBR_InitMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct InitMessage, requestedVersion),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
- 0,
- &asn_DEF_Version,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "requestedVersion"
- },
- { ATF_NOFLAGS, 0, offsetof(struct InitMessage, buildId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NativeInteger,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "buildId"
- },
- { ATF_POINTER, 2, offsetof(struct InitMessage, myLastSessionId),
- (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
- 0,
- &asn_DEF_Guid,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "myLastSessionId"
- },
- { ATF_POINTER, 1, offsetof(struct InitMessage, authServerPassword),
- (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
- 0,
- &asn_DEF_UTF8String,
- memb_authServerPassword_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "authServerPassword"
- },
- { ATF_NOFLAGS, 0, offsetof(struct InitMessage, login),
- -1 /* Ambiguous tag (CHOICE?) */,
- 0,
- &asn_DEF_login_6,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "login"
- },
-};
-static ber_tlv_tag_t asn_DEF_InitMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_InitMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* buildId at 99 */
- { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 2, 0, 0 }, /* myLastSessionId at 100 */
- { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 3, 0, 0 }, /* authServerPassword at 101 */
- { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 }, /* requestedVersion at 98 */
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 4, 0, 0 }, /* guestLogin at 103 */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 4, 0, 0 }, /* authenticatedLogin at 104 */
- { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 4, 0, 0 } /* unauthenticatedLogin at 106 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_InitMessage_specs_1 = {
- sizeof(struct InitMessage),
- offsetof(struct InitMessage, _asn_ctx),
- asn_MAP_InitMessage_tag2el_1,
- 7, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 4, /* Start extensions */
- 6 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_InitMessage = {
- "InitMessage",
- "InitMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_InitMessage_tags_1,
- sizeof(asn_DEF_InitMessage_tags_1)
- /sizeof(asn_DEF_InitMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_InitMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_InitMessage_tags_1)
- /sizeof(asn_DEF_InitMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_InitMessage_1,
- 5, /* Elements count */
- &asn_SPC_InitMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/InitMessage.h b/src/third_party/asn1/InitMessage.h
deleted file mode 100644
index 13e508ca..00000000
--- a/src/third_party/asn1/InitMessage.h
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _InitMessage_H_
-#define _InitMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "Version.h"
-#include
-#include "Guid.h"
-#include
-#include "GuestLogin.h"
-#include "AuthenticatedLogin.h"
-#include "UnauthenticatedLogin.h"
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* Dependencies */
- typedef enum login_PR {
- login_PR_NOTHING, /* No components present */
- login_PR_guestLogin,
- login_PR_authenticatedLogin,
- login_PR_unauthenticatedLogin,
- /* Extensions may appear below */
-
- }
- login_PR;
-
- /* InitMessage */
- typedef struct InitMessage {
- Version_t requestedVersion;
- long buildId;
- Guid_t *myLastSessionId /* OPTIONAL */;
- UTF8String_t *authServerPassword /* OPTIONAL */;
- struct login {
- login_PR present;
- union InitMessage__login_u {
- GuestLogin_t guestLogin;
- AuthenticatedLogin_t authenticatedLogin;
- UnauthenticatedLogin_t unauthenticatedLogin;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
- } choice;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } login;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } InitMessage_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_InitMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _InitMessage_H_ */
-#include
diff --git a/src/third_party/asn1/InitialAmountOfMoney.c b/src/third_party/asn1/InitialAmountOfMoney.c
deleted file mode 100644
index 4f4a95ff..00000000
--- a/src/third_party/asn1/InitialAmountOfMoney.c
+++ /dev/null
@@ -1,125 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "InitialAmountOfMoney.h"
-
-int
-InitialAmountOfMoney_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- long value;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- value = *(const long *)sptr;
-
- if((value >= 0 && value <= 1000000)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-/*
- * This type is implemented using NativeInteger,
- * so here we adjust the DEF accordingly.
- */
-static void
-InitialAmountOfMoney_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
- td->free_struct = asn_DEF_NativeInteger.free_struct;
- td->print_struct = asn_DEF_NativeInteger.print_struct;
- td->ber_decoder = asn_DEF_NativeInteger.ber_decoder;
- td->der_encoder = asn_DEF_NativeInteger.der_encoder;
- td->xer_decoder = asn_DEF_NativeInteger.xer_decoder;
- td->xer_encoder = asn_DEF_NativeInteger.xer_encoder;
- td->uper_decoder = asn_DEF_NativeInteger.uper_decoder;
- td->uper_encoder = asn_DEF_NativeInteger.uper_encoder;
- if(!td->per_constraints)
- td->per_constraints = asn_DEF_NativeInteger.per_constraints;
- td->elements = asn_DEF_NativeInteger.elements;
- td->elements_count = asn_DEF_NativeInteger.elements_count;
- td->specifics = asn_DEF_NativeInteger.specifics;
-}
-
-void
-InitialAmountOfMoney_free(asn_TYPE_descriptor_t *td,
- void *struct_ptr, int contents_only) {
- InitialAmountOfMoney_1_inherit_TYPE_descriptor(td);
- td->free_struct(td, struct_ptr, contents_only);
-}
-
-int
-InitialAmountOfMoney_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
- int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- InitialAmountOfMoney_1_inherit_TYPE_descriptor(td);
- return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
-}
-
-asn_dec_rval_t
-InitialAmountOfMoney_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const void *bufptr, size_t size, int tag_mode) {
- InitialAmountOfMoney_1_inherit_TYPE_descriptor(td);
- return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
-}
-
-asn_enc_rval_t
-InitialAmountOfMoney_encode_der(asn_TYPE_descriptor_t *td,
- void *structure, int tag_mode, ber_tlv_tag_t tag,
- asn_app_consume_bytes_f *cb, void *app_key) {
- InitialAmountOfMoney_1_inherit_TYPE_descriptor(td);
- return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
-}
-
-asn_dec_rval_t
-InitialAmountOfMoney_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- InitialAmountOfMoney_1_inherit_TYPE_descriptor(td);
- return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
-}
-
-asn_enc_rval_t
-InitialAmountOfMoney_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
- int ilevel, enum xer_encoder_flags_e flags,
- asn_app_consume_bytes_f *cb, void *app_key) {
- InitialAmountOfMoney_1_inherit_TYPE_descriptor(td);
- return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
-}
-
-static ber_tlv_tag_t asn_DEF_InitialAmountOfMoney_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
-};
-asn_TYPE_descriptor_t asn_DEF_InitialAmountOfMoney = {
- "InitialAmountOfMoney",
- "InitialAmountOfMoney",
- InitialAmountOfMoney_free,
- InitialAmountOfMoney_print,
- InitialAmountOfMoney_constraint,
- InitialAmountOfMoney_decode_ber,
- InitialAmountOfMoney_encode_der,
- InitialAmountOfMoney_decode_xer,
- InitialAmountOfMoney_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_InitialAmountOfMoney_tags_1,
- sizeof(asn_DEF_InitialAmountOfMoney_tags_1)
- /sizeof(asn_DEF_InitialAmountOfMoney_tags_1[0]), /* 1 */
- asn_DEF_InitialAmountOfMoney_tags_1, /* Same as above */
- sizeof(asn_DEF_InitialAmountOfMoney_tags_1)
- /sizeof(asn_DEF_InitialAmountOfMoney_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- 0, 0, /* No members */
- 0 /* No specifics */
-};
-
diff --git a/src/third_party/asn1/InitialAmountOfMoney.h b/src/third_party/asn1/InitialAmountOfMoney.h
deleted file mode 100644
index 8a88f8a8..00000000
--- a/src/third_party/asn1/InitialAmountOfMoney.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _InitialAmountOfMoney_H_
-#define _InitialAmountOfMoney_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* InitialAmountOfMoney */
- typedef long InitialAmountOfMoney_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_InitialAmountOfMoney;
- asn_struct_free_f InitialAmountOfMoney_free;
- asn_struct_print_f InitialAmountOfMoney_print;
- asn_constr_check_f InitialAmountOfMoney_constraint;
- ber_type_decoder_f InitialAmountOfMoney_decode_ber;
- der_type_encoder_f InitialAmountOfMoney_encode_der;
- xer_type_decoder_f InitialAmountOfMoney_decode_xer;
- xer_type_encoder_f InitialAmountOfMoney_encode_xer;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _InitialAmountOfMoney_H_ */
-#include
diff --git a/src/third_party/asn1/InitialNonZeroAmountOfMoney.c b/src/third_party/asn1/InitialNonZeroAmountOfMoney.c
deleted file mode 100644
index fa4c104c..00000000
--- a/src/third_party/asn1/InitialNonZeroAmountOfMoney.c
+++ /dev/null
@@ -1,125 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "InitialNonZeroAmountOfMoney.h"
-
-int
-InitialNonZeroAmountOfMoney_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- long value;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- value = *(const long *)sptr;
-
- if((value >= 1 && value <= 1000000)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-/*
- * This type is implemented using NativeInteger,
- * so here we adjust the DEF accordingly.
- */
-static void
-InitialNonZeroAmountOfMoney_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
- td->free_struct = asn_DEF_NativeInteger.free_struct;
- td->print_struct = asn_DEF_NativeInteger.print_struct;
- td->ber_decoder = asn_DEF_NativeInteger.ber_decoder;
- td->der_encoder = asn_DEF_NativeInteger.der_encoder;
- td->xer_decoder = asn_DEF_NativeInteger.xer_decoder;
- td->xer_encoder = asn_DEF_NativeInteger.xer_encoder;
- td->uper_decoder = asn_DEF_NativeInteger.uper_decoder;
- td->uper_encoder = asn_DEF_NativeInteger.uper_encoder;
- if(!td->per_constraints)
- td->per_constraints = asn_DEF_NativeInteger.per_constraints;
- td->elements = asn_DEF_NativeInteger.elements;
- td->elements_count = asn_DEF_NativeInteger.elements_count;
- td->specifics = asn_DEF_NativeInteger.specifics;
-}
-
-void
-InitialNonZeroAmountOfMoney_free(asn_TYPE_descriptor_t *td,
- void *struct_ptr, int contents_only) {
- InitialNonZeroAmountOfMoney_1_inherit_TYPE_descriptor(td);
- td->free_struct(td, struct_ptr, contents_only);
-}
-
-int
-InitialNonZeroAmountOfMoney_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
- int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- InitialNonZeroAmountOfMoney_1_inherit_TYPE_descriptor(td);
- return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
-}
-
-asn_dec_rval_t
-InitialNonZeroAmountOfMoney_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const void *bufptr, size_t size, int tag_mode) {
- InitialNonZeroAmountOfMoney_1_inherit_TYPE_descriptor(td);
- return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
-}
-
-asn_enc_rval_t
-InitialNonZeroAmountOfMoney_encode_der(asn_TYPE_descriptor_t *td,
- void *structure, int tag_mode, ber_tlv_tag_t tag,
- asn_app_consume_bytes_f *cb, void *app_key) {
- InitialNonZeroAmountOfMoney_1_inherit_TYPE_descriptor(td);
- return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
-}
-
-asn_dec_rval_t
-InitialNonZeroAmountOfMoney_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- InitialNonZeroAmountOfMoney_1_inherit_TYPE_descriptor(td);
- return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
-}
-
-asn_enc_rval_t
-InitialNonZeroAmountOfMoney_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
- int ilevel, enum xer_encoder_flags_e flags,
- asn_app_consume_bytes_f *cb, void *app_key) {
- InitialNonZeroAmountOfMoney_1_inherit_TYPE_descriptor(td);
- return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
-}
-
-static ber_tlv_tag_t asn_DEF_InitialNonZeroAmountOfMoney_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
-};
-asn_TYPE_descriptor_t asn_DEF_InitialNonZeroAmountOfMoney = {
- "InitialNonZeroAmountOfMoney",
- "InitialNonZeroAmountOfMoney",
- InitialNonZeroAmountOfMoney_free,
- InitialNonZeroAmountOfMoney_print,
- InitialNonZeroAmountOfMoney_constraint,
- InitialNonZeroAmountOfMoney_decode_ber,
- InitialNonZeroAmountOfMoney_encode_der,
- InitialNonZeroAmountOfMoney_decode_xer,
- InitialNonZeroAmountOfMoney_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_InitialNonZeroAmountOfMoney_tags_1,
- sizeof(asn_DEF_InitialNonZeroAmountOfMoney_tags_1)
- /sizeof(asn_DEF_InitialNonZeroAmountOfMoney_tags_1[0]), /* 1 */
- asn_DEF_InitialNonZeroAmountOfMoney_tags_1, /* Same as above */
- sizeof(asn_DEF_InitialNonZeroAmountOfMoney_tags_1)
- /sizeof(asn_DEF_InitialNonZeroAmountOfMoney_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- 0, 0, /* No members */
- 0 /* No specifics */
-};
-
diff --git a/src/third_party/asn1/InitialNonZeroAmountOfMoney.h b/src/third_party/asn1/InitialNonZeroAmountOfMoney.h
deleted file mode 100644
index 4da8c5c9..00000000
--- a/src/third_party/asn1/InitialNonZeroAmountOfMoney.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _InitialNonZeroAmountOfMoney_H_
-#define _InitialNonZeroAmountOfMoney_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* InitialNonZeroAmountOfMoney */
- typedef long InitialNonZeroAmountOfMoney_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_InitialNonZeroAmountOfMoney;
- asn_struct_free_f InitialNonZeroAmountOfMoney_free;
- asn_struct_print_f InitialNonZeroAmountOfMoney_print;
- asn_constr_check_f InitialNonZeroAmountOfMoney_constraint;
- ber_type_decoder_f InitialNonZeroAmountOfMoney_decode_ber;
- der_type_encoder_f InitialNonZeroAmountOfMoney_encode_der;
- xer_type_decoder_f InitialNonZeroAmountOfMoney_decode_xer;
- xer_type_encoder_f InitialNonZeroAmountOfMoney_encode_xer;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _InitialNonZeroAmountOfMoney_H_ */
-#include
diff --git a/src/third_party/asn1/InviteNotifyMessage.c b/src/third_party/asn1/InviteNotifyMessage.c
deleted file mode 100644
index d837b839..00000000
--- a/src/third_party/asn1/InviteNotifyMessage.c
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "InviteNotifyMessage.h"
-
-static asn_TYPE_member_t asn_MBR_InviteNotifyMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct InviteNotifyMessage, gameId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct InviteNotifyMessage, playerIdWho),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "playerIdWho"
- },
- { ATF_NOFLAGS, 0, offsetof(struct InviteNotifyMessage, playerIdByWhom),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "playerIdByWhom"
- },
-};
-static ber_tlv_tag_t asn_DEF_InviteNotifyMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (17 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_InviteNotifyMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* gameId at 415 */
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* playerIdWho at 416 */
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* playerIdByWhom at 418 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_InviteNotifyMessage_specs_1 = {
- sizeof(struct InviteNotifyMessage),
- offsetof(struct InviteNotifyMessage, _asn_ctx),
- asn_MAP_InviteNotifyMessage_tag2el_1,
- 3, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 2, /* Start extensions */
- 4 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_InviteNotifyMessage = {
- "InviteNotifyMessage",
- "InviteNotifyMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_InviteNotifyMessage_tags_1,
- sizeof(asn_DEF_InviteNotifyMessage_tags_1)
- /sizeof(asn_DEF_InviteNotifyMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_InviteNotifyMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_InviteNotifyMessage_tags_1)
- /sizeof(asn_DEF_InviteNotifyMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_InviteNotifyMessage_1,
- 3, /* Elements count */
- &asn_SPC_InviteNotifyMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/InviteNotifyMessage.h b/src/third_party/asn1/InviteNotifyMessage.h
deleted file mode 100644
index 6520d84c..00000000
--- a/src/third_party/asn1/InviteNotifyMessage.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _InviteNotifyMessage_H_
-#define _InviteNotifyMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* InviteNotifyMessage */
- typedef struct InviteNotifyMessage {
- NonZeroId_t gameId;
- NonZeroId_t playerIdWho;
- NonZeroId_t playerIdByWhom;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } InviteNotifyMessage_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_InviteNotifyMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _InviteNotifyMessage_H_ */
-#include
diff --git a/src/third_party/asn1/InvitePlayerToGameMessage.c b/src/third_party/asn1/InvitePlayerToGameMessage.c
deleted file mode 100644
index f6cf682f..00000000
--- a/src/third_party/asn1/InvitePlayerToGameMessage.c
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "InvitePlayerToGameMessage.h"
-
-static asn_TYPE_member_t asn_MBR_InvitePlayerToGameMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct InvitePlayerToGameMessage, gameId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct InvitePlayerToGameMessage, playerId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "playerId"
- },
-};
-static ber_tlv_tag_t asn_DEF_InvitePlayerToGameMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (16 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_InvitePlayerToGameMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 410 */
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 412 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_InvitePlayerToGameMessage_specs_1 = {
- sizeof(struct InvitePlayerToGameMessage),
- offsetof(struct InvitePlayerToGameMessage, _asn_ctx),
- asn_MAP_InvitePlayerToGameMessage_tag2el_1,
- 2, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_InvitePlayerToGameMessage = {
- "InvitePlayerToGameMessage",
- "InvitePlayerToGameMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_InvitePlayerToGameMessage_tags_1,
- sizeof(asn_DEF_InvitePlayerToGameMessage_tags_1)
- /sizeof(asn_DEF_InvitePlayerToGameMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_InvitePlayerToGameMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_InvitePlayerToGameMessage_tags_1)
- /sizeof(asn_DEF_InvitePlayerToGameMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_InvitePlayerToGameMessage_1,
- 2, /* Elements count */
- &asn_SPC_InvitePlayerToGameMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/InvitePlayerToGameMessage.h b/src/third_party/asn1/InvitePlayerToGameMessage.h
deleted file mode 100644
index f9fa5339..00000000
--- a/src/third_party/asn1/InvitePlayerToGameMessage.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _InvitePlayerToGameMessage_H_
-#define _InvitePlayerToGameMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* InvitePlayerToGameMessage */
- typedef struct InvitePlayerToGameMessage {
- NonZeroId_t gameId;
- NonZeroId_t playerId;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } InvitePlayerToGameMessage_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_InvitePlayerToGameMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _InvitePlayerToGameMessage_H_ */
-#include
diff --git a/src/third_party/asn1/JoinExistingGame.c b/src/third_party/asn1/JoinExistingGame.c
deleted file mode 100644
index a47779ed..00000000
--- a/src/third_party/asn1/JoinExistingGame.c
+++ /dev/null
@@ -1,101 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "JoinExistingGame.h"
-
-static int
-memb_password_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- const UTF8String_t *st = (const UTF8String_t *)sptr;
- size_t size;
-
- if(!sptr) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: value not given (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- size = UTF8String_length(st);
- if((ssize_t)size < 0) {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: UTF-8: broken encoding (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-
- if((size >= 1 && size <= 64)) {
- /* Constraint check succeeded */
- return 0;
- } else {
- _ASN_CTFAIL(app_key, td, sptr,
- "%s: constraint failed (%s:%d)",
- td->name, __FILE__, __LINE__);
- return -1;
- }
-}
-
-static asn_TYPE_member_t asn_MBR_JoinExistingGame_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct JoinExistingGame, gameId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameId"
- },
- { ATF_POINTER, 1, offsetof(struct JoinExistingGame, password),
- (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
- 0,
- &asn_DEF_UTF8String,
- memb_password_constraint_1,
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "password"
- },
-};
-static ber_tlv_tag_t asn_DEF_JoinExistingGame_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_JoinExistingGame_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 292 */
- { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 } /* password at 293 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_JoinExistingGame_specs_1 = {
- sizeof(struct JoinExistingGame),
- offsetof(struct JoinExistingGame, _asn_ctx),
- asn_MAP_JoinExistingGame_tag2el_1,
- 2, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_JoinExistingGame = {
- "JoinExistingGame",
- "JoinExistingGame",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_JoinExistingGame_tags_1,
- sizeof(asn_DEF_JoinExistingGame_tags_1)
- /sizeof(asn_DEF_JoinExistingGame_tags_1[0]), /* 1 */
- asn_DEF_JoinExistingGame_tags_1, /* Same as above */
- sizeof(asn_DEF_JoinExistingGame_tags_1)
- /sizeof(asn_DEF_JoinExistingGame_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_JoinExistingGame_1,
- 2, /* Elements count */
- &asn_SPC_JoinExistingGame_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/JoinExistingGame.h b/src/third_party/asn1/JoinExistingGame.h
deleted file mode 100644
index 86ff52ef..00000000
--- a/src/third_party/asn1/JoinExistingGame.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _JoinExistingGame_H_
-#define _JoinExistingGame_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* JoinExistingGame */
- typedef struct JoinExistingGame {
- NonZeroId_t gameId;
- UTF8String_t *password /* OPTIONAL */;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } JoinExistingGame_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_JoinExistingGame;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _JoinExistingGame_H_ */
-#include
diff --git a/src/third_party/asn1/JoinGameAck.c b/src/third_party/asn1/JoinGameAck.c
deleted file mode 100644
index 7fa53fab..00000000
--- a/src/third_party/asn1/JoinGameAck.c
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "JoinGameAck.h"
-
-static asn_TYPE_member_t asn_MBR_JoinGameAck_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct JoinGameAck, areYouGameAdmin),
- (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)),
- 0,
- &asn_DEF_BOOLEAN,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "areYouGameAdmin"
- },
- { ATF_NOFLAGS, 0, offsetof(struct JoinGameAck, gameInfo),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
- 0,
- &asn_DEF_NetGameInfo,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameInfo"
- },
-};
-static ber_tlv_tag_t asn_DEF_JoinGameAck_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_JoinGameAck_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 0, 0, 0 }, /* areYouGameAdmin at 314 */
- { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* gameInfo at 316 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_JoinGameAck_specs_1 = {
- sizeof(struct JoinGameAck),
- offsetof(struct JoinGameAck, _asn_ctx),
- asn_MAP_JoinGameAck_tag2el_1,
- 2, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_JoinGameAck = {
- "JoinGameAck",
- "JoinGameAck",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_JoinGameAck_tags_1,
- sizeof(asn_DEF_JoinGameAck_tags_1)
- /sizeof(asn_DEF_JoinGameAck_tags_1[0]), /* 1 */
- asn_DEF_JoinGameAck_tags_1, /* Same as above */
- sizeof(asn_DEF_JoinGameAck_tags_1)
- /sizeof(asn_DEF_JoinGameAck_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_JoinGameAck_1,
- 2, /* Elements count */
- &asn_SPC_JoinGameAck_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/JoinGameAck.h b/src/third_party/asn1/JoinGameAck.h
deleted file mode 100644
index b7574ed0..00000000
--- a/src/third_party/asn1/JoinGameAck.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _JoinGameAck_H_
-#define _JoinGameAck_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-#include "NetGameInfo.h"
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* JoinGameAck */
- typedef struct JoinGameAck {
- BOOLEAN_t areYouGameAdmin;
- NetGameInfo_t gameInfo;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } JoinGameAck_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_JoinGameAck;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _JoinGameAck_H_ */
-#include
diff --git a/src/third_party/asn1/JoinGameFailed.c b/src/third_party/asn1/JoinGameFailed.c
deleted file mode 100644
index edec88bc..00000000
--- a/src/third_party/asn1/JoinGameFailed.c
+++ /dev/null
@@ -1,194 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "JoinGameFailed.h"
-
-static int
-joinGameFailureReason_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- /* Replace with underlying type checker */
- td->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
- return td->check_constraints(td, sptr, ctfailcb, app_key);
-}
-
-/*
- * This type is implemented using NativeEnumerated,
- * so here we adjust the DEF accordingly.
- */
-static void
-joinGameFailureReason_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
- td->free_struct = asn_DEF_NativeEnumerated.free_struct;
- td->print_struct = asn_DEF_NativeEnumerated.print_struct;
- td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder;
- td->der_encoder = asn_DEF_NativeEnumerated.der_encoder;
- td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder;
- td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder;
- td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder;
- td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder;
- if(!td->per_constraints)
- td->per_constraints = asn_DEF_NativeEnumerated.per_constraints;
- td->elements = asn_DEF_NativeEnumerated.elements;
- td->elements_count = asn_DEF_NativeEnumerated.elements_count;
- /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */
-}
-
-static void
-joinGameFailureReason_2_free(asn_TYPE_descriptor_t *td,
- void *struct_ptr, int contents_only) {
- joinGameFailureReason_2_inherit_TYPE_descriptor(td);
- td->free_struct(td, struct_ptr, contents_only);
-}
-
-static int
-joinGameFailureReason_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
- int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- joinGameFailureReason_2_inherit_TYPE_descriptor(td);
- return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
-}
-
-static asn_dec_rval_t
-joinGameFailureReason_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const void *bufptr, size_t size, int tag_mode) {
- joinGameFailureReason_2_inherit_TYPE_descriptor(td);
- return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
-}
-
-static asn_enc_rval_t
-joinGameFailureReason_2_encode_der(asn_TYPE_descriptor_t *td,
- void *structure, int tag_mode, ber_tlv_tag_t tag,
- asn_app_consume_bytes_f *cb, void *app_key) {
- joinGameFailureReason_2_inherit_TYPE_descriptor(td);
- return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
-}
-
-static asn_dec_rval_t
-joinGameFailureReason_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- joinGameFailureReason_2_inherit_TYPE_descriptor(td);
- return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
-}
-
-static asn_enc_rval_t
-joinGameFailureReason_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
- int ilevel, enum xer_encoder_flags_e flags,
- asn_app_consume_bytes_f *cb, void *app_key) {
- joinGameFailureReason_2_inherit_TYPE_descriptor(td);
- return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
-}
-
-static asn_INTEGER_enum_map_t asn_MAP_joinGameFailureReason_value2enum_2[] = {
- { 1, 11, "invalidGame" },
- { 2, 10, "gameIsFull" },
- { 3, 13, "gameIsRunning" },
- { 4, 15, "invalidPassword" },
- { 5, 17, "notAllowedAsGuest" },
- { 6, 10, "notInvited" },
- { 7, 13, "gameNameInUse" },
- { 8, 11, "badGameName" },
- { 9, 15, "invalidSettings" },
- { 10, 16, "ipAddressBlocked" },
- { 11, 12, "rejoinFailed" }
-};
-static unsigned int asn_MAP_joinGameFailureReason_enum2value_2[] = {
- 7, /* badGameName(8) */
- 1, /* gameIsFull(2) */
- 2, /* gameIsRunning(3) */
- 6, /* gameNameInUse(7) */
- 0, /* invalidGame(1) */
- 3, /* invalidPassword(4) */
- 8, /* invalidSettings(9) */
- 9, /* ipAddressBlocked(10) */
- 4, /* notAllowedAsGuest(5) */
- 5, /* notInvited(6) */
- 10 /* rejoinFailed(11) */
-};
-static asn_INTEGER_specifics_t asn_SPC_joinGameFailureReason_specs_2 = {
- asn_MAP_joinGameFailureReason_value2enum_2, /* "tag" => N; sorted by tag */
- asn_MAP_joinGameFailureReason_enum2value_2, /* N => "tag"; sorted by N */
- 11, /* Number of elements in the maps */
- 0, /* Enumeration is not extensible */
- 1, /* Strict enumeration */
- 0, /* Native long size */
- 0
-};
-static ber_tlv_tag_t asn_DEF_joinGameFailureReason_tags_2[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
-};
-static /* Use -fall-defs-global to expose */
-asn_TYPE_descriptor_t asn_DEF_joinGameFailureReason_2 = {
- "joinGameFailureReason",
- "joinGameFailureReason",
- joinGameFailureReason_2_free,
- joinGameFailureReason_2_print,
- joinGameFailureReason_2_constraint,
- joinGameFailureReason_2_decode_ber,
- joinGameFailureReason_2_encode_der,
- joinGameFailureReason_2_decode_xer,
- joinGameFailureReason_2_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_joinGameFailureReason_tags_2,
- sizeof(asn_DEF_joinGameFailureReason_tags_2)
- /sizeof(asn_DEF_joinGameFailureReason_tags_2[0]), /* 1 */
- asn_DEF_joinGameFailureReason_tags_2, /* Same as above */
- sizeof(asn_DEF_joinGameFailureReason_tags_2)
- /sizeof(asn_DEF_joinGameFailureReason_tags_2[0]), /* 1 */
- 0, /* No PER visible constraints */
- 0, 0, /* Defined elsewhere */
- &asn_SPC_joinGameFailureReason_specs_2 /* Additional specs */
-};
-
-static asn_TYPE_member_t asn_MBR_JoinGameFailed_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct JoinGameFailed, joinGameFailureReason),
- (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
- 0,
- &asn_DEF_joinGameFailureReason_2,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "joinGameFailureReason"
- },
-};
-static ber_tlv_tag_t asn_DEF_JoinGameFailed_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_JoinGameFailed_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* joinGameFailureReason at 320 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_JoinGameFailed_specs_1 = {
- sizeof(struct JoinGameFailed),
- offsetof(struct JoinGameFailed, _asn_ctx),
- asn_MAP_JoinGameFailed_tag2el_1,
- 1, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 0, /* Start extensions */
- 2 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_JoinGameFailed = {
- "JoinGameFailed",
- "JoinGameFailed",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_JoinGameFailed_tags_1,
- sizeof(asn_DEF_JoinGameFailed_tags_1)
- /sizeof(asn_DEF_JoinGameFailed_tags_1[0]), /* 1 */
- asn_DEF_JoinGameFailed_tags_1, /* Same as above */
- sizeof(asn_DEF_JoinGameFailed_tags_1)
- /sizeof(asn_DEF_JoinGameFailed_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_JoinGameFailed_1,
- 1, /* Elements count */
- &asn_SPC_JoinGameFailed_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/JoinGameFailed.h b/src/third_party/asn1/JoinGameFailed.h
deleted file mode 100644
index 78021f7e..00000000
--- a/src/third_party/asn1/JoinGameFailed.h
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _JoinGameFailed_H_
-#define _JoinGameFailed_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* Dependencies */
- typedef enum joinGameFailureReason {
- joinGameFailureReason_invalidGame = 1,
- joinGameFailureReason_gameIsFull = 2,
- joinGameFailureReason_gameIsRunning = 3,
- joinGameFailureReason_invalidPassword = 4,
- joinGameFailureReason_notAllowedAsGuest = 5,
- joinGameFailureReason_notInvited = 6,
- joinGameFailureReason_gameNameInUse = 7,
- joinGameFailureReason_badGameName = 8,
- joinGameFailureReason_invalidSettings = 9,
- joinGameFailureReason_ipAddressBlocked = 10,
- joinGameFailureReason_rejoinFailed = 11
- }
- e_joinGameFailureReason;
-
- /* JoinGameFailed */
- typedef struct JoinGameFailed {
- long joinGameFailureReason;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } JoinGameFailed_t;
-
- /* Implementation */
- /* extern asn_TYPE_descriptor_t asn_DEF_joinGameFailureReason_2; // (Use -fall-defs-global to expose) */
- extern asn_TYPE_descriptor_t asn_DEF_JoinGameFailed;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _JoinGameFailed_H_ */
-#include
diff --git a/src/third_party/asn1/JoinGameReplyMessage.c b/src/third_party/asn1/JoinGameReplyMessage.c
deleted file mode 100644
index a2fd843c..00000000
--- a/src/third_party/asn1/JoinGameReplyMessage.c
+++ /dev/null
@@ -1,128 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "JoinGameReplyMessage.h"
-
-static asn_TYPE_member_t asn_MBR_joinGameResult_3[] = {
- { ATF_NOFLAGS, 0, offsetof(struct joinGameResult, choice.joinGameAck),
- (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_JoinGameAck,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "joinGameAck"
- },
- { ATF_NOFLAGS, 0, offsetof(struct joinGameResult, choice.joinGameFailed),
- (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_JoinGameFailed,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "joinGameFailed"
- },
-};
-static asn_TYPE_tag2member_t asn_MAP_joinGameResult_tag2el_3[] = {
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinGameAck at 308 */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinGameFailed at 310 */
-};
-static asn_CHOICE_specifics_t asn_SPC_joinGameResult_specs_3 = {
- sizeof(struct joinGameResult),
- offsetof(struct joinGameResult, _asn_ctx),
- offsetof(struct joinGameResult, present),
- sizeof(((struct joinGameResult *)0)->present),
- asn_MAP_joinGameResult_tag2el_3,
- 2, /* Count of tags in the map */
- 0,
- 2 /* Extensions start */
-};
-static /* Use -fall-defs-global to expose */
-asn_TYPE_descriptor_t asn_DEF_joinGameResult_3 = {
- "joinGameResult",
- "joinGameResult",
- CHOICE_free,
- CHOICE_print,
- CHOICE_constraint,
- CHOICE_decode_ber,
- CHOICE_encode_der,
- CHOICE_decode_xer,
- CHOICE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- CHOICE_outmost_tag,
- 0, /* No effective tags (pointer) */
- 0, /* No effective tags (count) */
- 0, /* No tags (pointer) */
- 0, /* No tags (count) */
- 0, /* No PER visible constraints */
- asn_MBR_joinGameResult_3,
- 2, /* Elements count */
- &asn_SPC_joinGameResult_specs_3 /* Additional specs */
-};
-
-static asn_TYPE_member_t asn_MBR_JoinGameReplyMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct JoinGameReplyMessage, gameId),
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_NonZeroId,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "gameId"
- },
- { ATF_NOFLAGS, 0, offsetof(struct JoinGameReplyMessage, joinGameResult),
- -1 /* Ambiguous tag (CHOICE?) */,
- 0,
- &asn_DEF_joinGameResult_3,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "joinGameResult"
- },
-};
-static ber_tlv_tag_t asn_DEF_JoinGameReplyMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (12 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_JoinGameReplyMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 306 */
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* joinGameAck at 308 */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinGameFailed at 310 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_JoinGameReplyMessage_specs_1 = {
- sizeof(struct JoinGameReplyMessage),
- offsetof(struct JoinGameReplyMessage, _asn_ctx),
- asn_MAP_JoinGameReplyMessage_tag2el_1,
- 3, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_JoinGameReplyMessage = {
- "JoinGameReplyMessage",
- "JoinGameReplyMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_JoinGameReplyMessage_tags_1,
- sizeof(asn_DEF_JoinGameReplyMessage_tags_1)
- /sizeof(asn_DEF_JoinGameReplyMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_JoinGameReplyMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_JoinGameReplyMessage_tags_1)
- /sizeof(asn_DEF_JoinGameReplyMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_JoinGameReplyMessage_1,
- 2, /* Elements count */
- &asn_SPC_JoinGameReplyMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/JoinGameReplyMessage.h b/src/third_party/asn1/JoinGameReplyMessage.h
deleted file mode 100644
index 071d026f..00000000
--- a/src/third_party/asn1/JoinGameReplyMessage.h
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _JoinGameReplyMessage_H_
-#define _JoinGameReplyMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include "NonZeroId.h"
-#include "JoinGameAck.h"
-#include "JoinGameFailed.h"
-#include
-#include
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* Dependencies */
- typedef enum joinGameResult_PR {
- joinGameResult_PR_NOTHING, /* No components present */
- joinGameResult_PR_joinGameAck,
- joinGameResult_PR_joinGameFailed,
- /* Extensions may appear below */
-
- }
- joinGameResult_PR;
-
- /* JoinGameReplyMessage */
- typedef struct JoinGameReplyMessage {
- NonZeroId_t gameId;
- struct joinGameResult {
- joinGameResult_PR present;
- union JoinGameReplyMessage__joinGameResult_u {
- JoinGameAck_t joinGameAck;
- JoinGameFailed_t joinGameFailed;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
- } choice;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } joinGameResult;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } JoinGameReplyMessage_t;
-
- /* Implementation */
- extern asn_TYPE_descriptor_t asn_DEF_JoinGameReplyMessage;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _JoinGameReplyMessage_H_ */
-#include
diff --git a/src/third_party/asn1/JoinGameRequestMessage.c b/src/third_party/asn1/JoinGameRequestMessage.c
deleted file mode 100644
index 1641b44e..00000000
--- a/src/third_party/asn1/JoinGameRequestMessage.c
+++ /dev/null
@@ -1,139 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#include "JoinGameRequestMessage.h"
-
-static asn_TYPE_member_t asn_MBR_joinGameAction_2[] = {
- { ATF_NOFLAGS, 0, offsetof(struct joinGameAction, choice.joinExistingGame),
- (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_JoinExistingGame,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "joinExistingGame"
- },
- { ATF_NOFLAGS, 0, offsetof(struct joinGameAction, choice.joinNewGame),
- (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_JoinNewGame,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "joinNewGame"
- },
- { ATF_NOFLAGS, 0, offsetof(struct joinGameAction, choice.rejoinExistingGame),
- (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_RejoinExistingGame,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "rejoinExistingGame"
- },
-};
-static asn_TYPE_tag2member_t asn_MAP_joinGameAction_tag2el_2[] = {
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinExistingGame at 284 */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* joinNewGame at 285 */
- { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* rejoinExistingGame at 287 */
-};
-static asn_CHOICE_specifics_t asn_SPC_joinGameAction_specs_2 = {
- sizeof(struct joinGameAction),
- offsetof(struct joinGameAction, _asn_ctx),
- offsetof(struct joinGameAction, present),
- sizeof(((struct joinGameAction *)0)->present),
- asn_MAP_joinGameAction_tag2el_2,
- 3, /* Count of tags in the map */
- 0,
- 3 /* Extensions start */
-};
-static /* Use -fall-defs-global to expose */
-asn_TYPE_descriptor_t asn_DEF_joinGameAction_2 = {
- "joinGameAction",
- "joinGameAction",
- CHOICE_free,
- CHOICE_print,
- CHOICE_constraint,
- CHOICE_decode_ber,
- CHOICE_encode_der,
- CHOICE_decode_xer,
- CHOICE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- CHOICE_outmost_tag,
- 0, /* No effective tags (pointer) */
- 0, /* No effective tags (count) */
- 0, /* No tags (pointer) */
- 0, /* No tags (count) */
- 0, /* No PER visible constraints */
- asn_MBR_joinGameAction_2,
- 3, /* Elements count */
- &asn_SPC_joinGameAction_specs_2 /* Additional specs */
-};
-
-static asn_TYPE_member_t asn_MBR_JoinGameRequestMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct JoinGameRequestMessage, joinGameAction),
- -1 /* Ambiguous tag (CHOICE?) */,
- 0,
- &asn_DEF_joinGameAction_2,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "joinGameAction"
- },
- { ATF_NOFLAGS, 0, offsetof(struct JoinGameRequestMessage, autoLeave),
- (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)),
- 0,
- &asn_DEF_BOOLEAN,
- 0, /* Defer constraints checking to the member type */
- 0, /* PER is not compiled, use -gen-PER */
- 0,
- "autoLeave"
- },
-};
-static ber_tlv_tag_t asn_DEF_JoinGameRequestMessage_tags_1[] = {
- (ASN_TAG_CLASS_APPLICATION | (11 << 2)),
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_TYPE_tag2member_t asn_MAP_JoinGameRequestMessage_tag2el_1[] = {
- { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* autoLeave at 288 */
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinExistingGame at 284 */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* joinNewGame at 285 */
- { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 } /* rejoinExistingGame at 287 */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_JoinGameRequestMessage_specs_1 = {
- sizeof(struct JoinGameRequestMessage),
- offsetof(struct JoinGameRequestMessage, _asn_ctx),
- asn_MAP_JoinGameRequestMessage_tag2el_1,
- 4, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_JoinGameRequestMessage = {
- "JoinGameRequestMessage",
- "JoinGameRequestMessage",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- 0, 0, /* No PER support, use "-gen-PER" to enable */
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_JoinGameRequestMessage_tags_1,
- sizeof(asn_DEF_JoinGameRequestMessage_tags_1)
- /sizeof(asn_DEF_JoinGameRequestMessage_tags_1[0]) - 1, /* 1 */
- asn_DEF_JoinGameRequestMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_JoinGameRequestMessage_tags_1)
- /sizeof(asn_DEF_JoinGameRequestMessage_tags_1[0]), /* 2 */
- 0, /* No PER visible constraints */
- asn_MBR_JoinGameRequestMessage_1,
- 2, /* Elements count */
- &asn_SPC_JoinGameRequestMessage_specs_1 /* Additional specs */
-};
-
diff --git a/src/third_party/asn1/JoinGameRequestMessage.h b/src/third_party/asn1/JoinGameRequestMessage.h
deleted file mode 100644
index c2283c32..00000000
--- a/src/third_party/asn1/JoinGameRequestMessage.h
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
- * From ASN.1 module "POKERTH-PROTOCOL"
- * found in "../../../docs/pokerth.asn1"
- * `asn1c -fskeletons-copy`
- */
-
-#ifndef _JoinGameRequestMessage_H_
-#define _JoinGameRequestMessage_H_
-
-
-#include
-
-/* Including external dependencies */
-#include
-#include "JoinExistingGame.h"
-#include "JoinNewGame.h"
-#include "RejoinExistingGame.h"
-#include
-#include