Adding challenge/response authentication to network protocol. Build is currently broken until gsasl integration is complete.

This commit is contained in:
lotodore
2009-10-10 20:24:48 +00:00
parent 51e393823a
commit 730f81129b
190 changed files with 604 additions and 489 deletions
+49 -33
View File
@@ -25,6 +25,7 @@ BEGIN
PokerTHMessage ::= CHOICE { PokerTHMessage ::= CHOICE {
initMessage InitMessage, initMessage InitMessage,
authMessage AuthMessage,
initAckMessage InitAckMessage, initAckMessage InitAckMessage,
avatarRequestMessage AvatarRequestMessage, avatarRequestMessage AvatarRequestMessage,
avatarReplyMessage AvatarReplyMessage, avatarReplyMessage AvatarReplyMessage,
@@ -83,33 +84,48 @@ Version ::= SEQUENCE {
} }
AnonymousLogin ::= SEQUENCE { AnonymousLogin ::= SEQUENCE {
playerName UTF8String (SIZE(1..32)), }
-- Login data is according to SCRAM SHA-1
AuthenticatedLogin ::= SEQUENCE {
clientUserData OCTET STRING (SIZE(1..256)),
avatar AvatarHash OPTIONAL avatar AvatarHash OPTIONAL
} }
-- TODO challenge/response AuthMessage ::= [APPLICATION 1] CHOICE {
AuthenticatedLogin ::= SEQUENCE { authServerChallenge [0] AuthServerChallenge,
playerName UTF8String (SIZE(1..32)), authClientResponse [1] AuthClientResponse,
password UTF8String (SIZE(1..32)), authServerVerification [2] AuthServerVerification
avatar AvatarHash OPTIONAL }
AuthServerChallenge ::= SEQUENCE {
serverChallenge OCTET STRING (SIZE(1..256))
}
AuthClientResponse ::= SEQUENCE {
clientResponse OCTET STRING (SIZE(1..256))
}
AuthServerVerification ::= SEQUENCE {
serverVerification OCTET STRING (SIZE(1..256))
} }
StatisticsLogin ::= SEQUENCE { StatisticsLogin ::= SEQUENCE {
} }
InitAckMessage ::= [APPLICATION 1] SEQUENCE { InitAckMessage ::= [APPLICATION 2] SEQUENCE {
latestGameVersion Version, latestGameVersion Version,
latestBetaRevision INTEGER(0..65535), latestBetaRevision INTEGER(0..65535),
yourSessionId Guid, yourSessionId Guid,
yourPlayerId NonZeroId yourPlayerId NonZeroId
} }
AvatarRequestMessage ::= [APPLICATION 2] SEQUENCE { AvatarRequestMessage ::= [APPLICATION 3] SEQUENCE {
requestId NonZeroId, requestId NonZeroId,
avatar AvatarHash avatar AvatarHash
} }
AvatarReplyMessage ::= [APPLICATION 3] SEQUENCE { AvatarReplyMessage ::= [APPLICATION 4] SEQUENCE {
requestId NonZeroId, requestId NonZeroId,
avatarResult CHOICE { avatarResult CHOICE {
avatarHeader [0] AvatarHeader, avatarHeader [0] AvatarHeader,
@@ -142,7 +158,7 @@ NetAvatarType ::= ENUMERATED {
avatarImageGif (3) avatarImageGif (3)
} }
PlayerListMessage ::= [APPLICATION 4] SEQUENCE { PlayerListMessage ::= [APPLICATION 5] SEQUENCE {
playerId NonZeroId, playerId NonZeroId,
playerListNotification ENUMERATED { playerListNotification ENUMERATED {
playerListNew (0), playerListNew (0),
@@ -150,7 +166,7 @@ PlayerListMessage ::= [APPLICATION 4] SEQUENCE {
} }
} }
GameListMessage ::= [APPLICATION 5] SEQUENCE { GameListMessage ::= [APPLICATION 6] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
gameListNotification CHOICE { gameListNotification CHOICE {
gameListNew [0] GameListNew, gameListNew [0] GameListNew,
@@ -191,11 +207,11 @@ NetGameMode ::= ENUMERATED {
gameClosed (3) gameClosed (3)
} }
PlayerInfoRequestMessage ::= [APPLICATION 6] SEQUENCE { PlayerInfoRequestMessage ::= [APPLICATION 7] SEQUENCE {
playerId NonZeroId playerId NonZeroId
} }
PlayerInfoReplyMessage ::= [APPLICATION 7] SEQUENCE { PlayerInfoReplyMessage ::= [APPLICATION 8] SEQUENCE {
playerId NonZeroId, playerId NonZeroId,
playerInfoResult CHOICE { playerInfoResult CHOICE {
playerInfoData [0] PlayerInfoData, playerInfoData [0] PlayerInfoData,
@@ -218,14 +234,14 @@ UnknownPlayerInfo ::= SEQUENCE {
-- The following request will not be confirmed by the server. It is used, -- The following request will not be confirmed by the server. It is used,
-- optionally, to reduce server traffic. The server might ignore it. -- optionally, to reduce server traffic. The server might ignore it.
SubscriptionRequestMessage ::= [APPLICATION 8] SEQUENCE { SubscriptionRequestMessage ::= [APPLICATION 9] SEQUENCE {
subscriptionAction ENUMERATED { subscriptionAction ENUMERATED {
unsubscribeGameList (1), unsubscribeGameList (1),
resubscribeGameList (2) resubscribeGameList (2)
} }
} }
JoinGameRequestMessage ::= [APPLICATION 9] SEQUENCE { JoinGameRequestMessage ::= [APPLICATION 10] SEQUENCE {
joinGameAction CHOICE { joinGameAction CHOICE {
joinExistingGame [0] JoinExistingGame, joinExistingGame [0] JoinExistingGame,
joinNewGame [1] JoinNewGame joinNewGame [1] JoinNewGame
@@ -241,7 +257,7 @@ JoinNewGame ::= SEQUENCE {
gameInfo NetGameInfo gameInfo NetGameInfo
} }
JoinGameReplyMessage ::= [APPLICATION 10] SEQUENCE { JoinGameReplyMessage ::= [APPLICATION 11] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
joinGameResult CHOICE { joinGameResult CHOICE {
joinGameAck [0] JoinGameAck, joinGameAck [0] JoinGameAck,
@@ -283,7 +299,7 @@ NetGameInfo ::= SEQUENCE {
manualBlinds SEQUENCE SIZE(0..30) OF INTEGER(1..20001) manualBlinds SEQUENCE SIZE(0..30) OF INTEGER(1..20001)
} }
GamePlayerMessage ::= [APPLICATION 11] SEQUENCE { GamePlayerMessage ::= [APPLICATION 12] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
gamePlayerNotification CHOICE { gamePlayerNotification CHOICE {
gamePlayerJoined [0] GamePlayerJoined, gamePlayerJoined [0] GamePlayerJoined,
@@ -322,51 +338,51 @@ RemovedFromGame ::= SEQUENCE {
} }
} }
KickPlayerRequestMessage ::= [APPLICATION 12] SEQUENCE { KickPlayerRequestMessage ::= [APPLICATION 13] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
playerId NonZeroId playerId NonZeroId
} }
LeaveGameRequestMessage ::= [APPLICATION 13] SEQUENCE { LeaveGameRequestMessage ::= [APPLICATION 14] SEQUENCE {
gameId NonZeroId gameId NonZeroId
} }
StartEventMessage ::= [APPLICATION 14] SEQUENCE { StartEventMessage ::= [APPLICATION 15] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
fillWithComputerPlayers BOOLEAN fillWithComputerPlayers BOOLEAN
} }
StartEventAckMessage ::= [APPLICATION 15] SEQUENCE { StartEventAckMessage ::= [APPLICATION 16] SEQUENCE {
gameId NonZeroId gameId NonZeroId
} }
GameStartMessage ::= [APPLICATION 16] SEQUENCE { GameStartMessage ::= [APPLICATION 17] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
startDealerPlayerId NonZeroId, startDealerPlayerId NonZeroId,
playerSeats SEQUENCE SIZE(2..10) OF NonZeroId playerSeats SEQUENCE SIZE(2..10) OF NonZeroId
} }
HandStartMessage ::= [APPLICATION 17] SEQUENCE { HandStartMessage ::= [APPLICATION 18] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
yourCard1 Card, yourCard1 Card,
yourCard2 Card, yourCard2 Card,
smallBlind INTEGER(1..20001) smallBlind INTEGER(1..20001)
} }
PlayersTurnMessage ::= [APPLICATION 18] SEQUENCE { PlayersTurnMessage ::= [APPLICATION 19] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
playerId NonZeroId, playerId NonZeroId,
gameState NetGameState gameState NetGameState
} }
MyActionRequestMessage ::= [APPLICATION 19] SEQUENCE { MyActionRequestMessage ::= [APPLICATION 20] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
gameState NetGameState, gameState NetGameState,
myAction NetPlayerAction, myAction NetPlayerAction,
myRelativeBet INTEGER(0..10000000) myRelativeBet INTEGER(0..10000000)
} }
YourActionRejectedMessage ::= [APPLICATION 20] SEQUENCE { YourActionRejectedMessage ::= [APPLICATION 21] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
gameState NetGameState, gameState NetGameState,
yourAction NetPlayerAction, yourAction NetPlayerAction,
@@ -378,7 +394,7 @@ YourActionRejectedMessage ::= [APPLICATION 20] SEQUENCE {
} }
} }
PlayersActionDoneMessage ::= [APPLICATION 21] SEQUENCE { PlayersActionDoneMessage ::= [APPLICATION 22] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
playerId NonZeroId, playerId NonZeroId,
gameState NetGameState, gameState NetGameState,
@@ -389,24 +405,24 @@ PlayersActionDoneMessage ::= [APPLICATION 21] SEQUENCE {
minimumRaise INTEGER(0..10000000) -- TODO minimumRaise INTEGER(0..10000000) -- TODO
} }
DealFlopCardsMessage ::= [APPLICATION 22] SEQUENCE { DealFlopCardsMessage ::= [APPLICATION 23] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
flopCard1 Card, flopCard1 Card,
flopCard2 Card, flopCard2 Card,
flopCard3 Card flopCard3 Card
} }
DealTurnCardMessage ::= [APPLICATION 23] SEQUENCE { DealTurnCardMessage ::= [APPLICATION 24] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
turnCard Card turnCard Card
} }
DealRiverCardMessage ::= [APPLICATION 24] SEQUENCE { DealRiverCardMessage ::= [APPLICATION 25] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
riverCard Card riverCard Card
} }
AllInShowCardsMessage ::= [APPLICATION 25] SEQUENCE { AllInShowCardsMessage ::= [APPLICATION 26] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
playersAllIn SEQUENCE SIZE(1..10) OF PlayerAllIn playersAllIn SEQUENCE SIZE(1..10) OF PlayerAllIn
} }
@@ -417,7 +433,7 @@ PlayerAllIn ::= SEQUENCE {
allInCard2 Card allInCard2 Card
} }
EndOfHandMessage ::= [APPLICATION 26] SEQUENCE { EndOfHandMessage ::= [APPLICATION 27] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
endOfHandType CHOICE { endOfHandType CHOICE {
endOfHandShowCards [0] EndOfHandShowCards, endOfHandShowCards [0] EndOfHandShowCards,
@@ -445,7 +461,7 @@ EndOfHandHideCards ::= SEQUENCE {
playerMoney INTEGER(0..10000000) playerMoney INTEGER(0..10000000)
} }
EndOfGameMessage ::= [APPLICATION 27] SEQUENCE { EndOfGameMessage ::= [APPLICATION 28] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
winnerPlayerId NonZeroId winnerPlayerId NonZeroId
} }
+8
View File
@@ -33,6 +33,10 @@ HEADERS += src/third_party/asn1/AllInShowCardsMessage.h \
src/third_party/asn1/AnonymousLogin.h \ src/third_party/asn1/AnonymousLogin.h \
src/third_party/asn1/AskKickDeniedMessage.h \ src/third_party/asn1/AskKickDeniedMessage.h \
src/third_party/asn1/AskKickPlayerMessage.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 \ src/third_party/asn1/asn_application.h \
src/third_party/asn1/asn_codecs.h \ src/third_party/asn1/asn_codecs.h \
src/third_party/asn1/asn_codecs_prim.h \ src/third_party/asn1/asn_codecs_prim.h \
@@ -155,6 +159,10 @@ SOURCES += src/third_party/asn1/ChatCleanerMessage.c \
src/third_party/asn1/CleanerInitAckMessage.c \ src/third_party/asn1/CleanerInitAckMessage.c \
src/third_party/asn1/CleanerChatRequestMessage.c \ src/third_party/asn1/CleanerChatRequestMessage.c \
src/third_party/asn1/CleanerChatReplyMessage.c \ src/third_party/asn1/CleanerChatReplyMessage.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/AllInShowCardsMessage.c \
src/third_party/asn1/YourActionRejectedMessage.c \ src/third_party/asn1/YourActionRejectedMessage.c \
src/third_party/asn1/xer_support.c \ src/third_party/asn1/xer_support.c \
+4 -3
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -99,12 +100,12 @@ static asn_TYPE_member_t asn_MBR_AllInShowCardsMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_AllInShowCardsMessage_tags_1[] = { static ber_tlv_tag_t asn_DEF_AllInShowCardsMessage_tags_1[] = {
(ASN_TAG_CLASS_APPLICATION | (25 << 2)), (ASN_TAG_CLASS_APPLICATION | (26 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AllInShowCardsMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AllInShowCardsMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 410 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 426 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* playersAllIn at 412 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* playersAllIn at 428 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AllInShowCardsMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AllInShowCardsMessage_specs_1 = {
sizeof(struct AllInShowCardsMessage), sizeof(struct AllInShowCardsMessage),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _AllInShowCardsMessage_H_ #ifndef _AllInShowCardsMessage_H_
+6 -62
View File
@@ -2,79 +2,24 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
#include "AnonymousLogin.h" #include "AnonymousLogin.h"
static int
memb_playerName_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 <= 32)) {
/* 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_AnonymousLogin_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct AnonymousLogin, playerName),
(ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
0,
&asn_DEF_UTF8String,
memb_playerName_constraint_1,
0, /* PER is not compiled, use -gen-PER */
0,
"playerName"
},
{ ATF_POINTER, 1, offsetof(struct AnonymousLogin, 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_AnonymousLogin_tags_1[] = { static ber_tlv_tag_t asn_DEF_AnonymousLogin_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AnonymousLogin_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 }, /* avatar at 87 */
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* playerName at 86 */
};
static asn_SEQUENCE_specifics_t asn_SPC_AnonymousLogin_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AnonymousLogin_specs_1 = {
sizeof(struct AnonymousLogin), sizeof(struct AnonymousLogin),
offsetof(struct AnonymousLogin, _asn_ctx), offsetof(struct AnonymousLogin, _asn_ctx),
asn_MAP_AnonymousLogin_tag2el_1, 0, /* No top level tags */
2, /* Count of tags in the map */ 0, /* No tags in the map */
0, 0, 0, /* Optional elements (not needed) */ 0, 0, 0, /* Optional elements (not needed) */
1, /* Start extensions */ -1, /* Start extensions */
3 /* Stop extensions */ -1 /* Stop extensions */
}; };
asn_TYPE_descriptor_t asn_DEF_AnonymousLogin = { asn_TYPE_descriptor_t asn_DEF_AnonymousLogin = {
"AnonymousLogin", "AnonymousLogin",
@@ -95,8 +40,7 @@ asn_TYPE_descriptor_t asn_DEF_AnonymousLogin = {
sizeof(asn_DEF_AnonymousLogin_tags_1) sizeof(asn_DEF_AnonymousLogin_tags_1)
/sizeof(asn_DEF_AnonymousLogin_tags_1[0]), /* 1 */ /sizeof(asn_DEF_AnonymousLogin_tags_1[0]), /* 1 */
0, /* No PER visible constraints */ 0, /* No PER visible constraints */
asn_MBR_AnonymousLogin_1, 0, 0, /* No members */
2, /* Elements count */
&asn_SPC_AnonymousLogin_specs_1 /* Additional specs */ &asn_SPC_AnonymousLogin_specs_1 /* Additional specs */
}; };
+1 -4
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _AnonymousLogin_H_ #ifndef _AnonymousLogin_H_
@@ -11,8 +12,6 @@
#include <asn_application.h> #include <asn_application.h>
/* Including external dependencies */ /* Including external dependencies */
#include <UTF8String.h>
#include "AvatarHash.h"
#include <constr_SEQUENCE.h> #include <constr_SEQUENCE.h>
#ifdef __cplusplus #ifdef __cplusplus
@@ -21,8 +20,6 @@ extern "C" {
/* AnonymousLogin */ /* AnonymousLogin */
typedef struct AnonymousLogin { typedef struct AnonymousLogin {
UTF8String_t playerName;
AvatarHash_t *avatar /* OPTIONAL */;
/* /*
* This type is extensible, * This type is extensible,
* possible extensions are below. * possible extensions are below.
+4 -3
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -165,9 +166,9 @@ static ber_tlv_tag_t asn_DEF_AskKickDeniedMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AskKickDeniedMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AskKickDeniedMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 459 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 475 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 460 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 476 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* kickDeniedReason at 462 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* kickDeniedReason at 478 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AskKickDeniedMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AskKickDeniedMessage_specs_1 = {
sizeof(struct AskKickDeniedMessage), sizeof(struct AskKickDeniedMessage),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _AskKickDeniedMessage_H_ #ifndef _AskKickDeniedMessage_H_
+3 -2
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -33,8 +34,8 @@ static ber_tlv_tag_t asn_DEF_AskKickPlayerMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AskKickPlayerMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AskKickPlayerMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 454 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 470 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 456 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 472 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AskKickPlayerMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AskKickPlayerMessage_specs_1 = {
sizeof(struct AskKickPlayerMessage), sizeof(struct AskKickPlayerMessage),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _AskKickPlayerMessage_H_ #ifndef _AskKickPlayerMessage_H_
+16 -63
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -9,9 +10,9 @@
#include "AuthenticatedLogin.h" #include "AuthenticatedLogin.h"
static int static int
memb_playerName_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, memb_clientUserData_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) { asn_app_constraint_failed_f *ctfailcb, void *app_key) {
const UTF8String_t *st = (const UTF8String_t *)sptr; const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr;
size_t size; size_t size;
if(!sptr) { if(!sptr) {
@@ -21,47 +22,9 @@ memb_playerName_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
return -1; return -1;
} }
size = UTF8String_length(st); size = st->size;
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 <= 32)) { 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 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 <= 32)) {
/* Constraint check succeeded */ /* Constraint check succeeded */
return 0; return 0;
} else { } else {
@@ -73,23 +36,14 @@ memb_password_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
} }
static asn_TYPE_member_t asn_MBR_AuthenticatedLogin_1[] = { static asn_TYPE_member_t asn_MBR_AuthenticatedLogin_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct AuthenticatedLogin, playerName), { ATF_NOFLAGS, 0, offsetof(struct AuthenticatedLogin, clientUserData),
(ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
0, 0,
&asn_DEF_UTF8String, &asn_DEF_OCTET_STRING,
memb_playerName_constraint_1, memb_clientUserData_constraint_1,
0, /* PER is not compiled, use -gen-PER */ 0, /* PER is not compiled, use -gen-PER */
0, 0,
"playerName" "clientUserData"
},
{ ATF_NOFLAGS, 0, offsetof(struct AuthenticatedLogin, 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"
}, },
{ ATF_POINTER, 1, offsetof(struct AuthenticatedLogin, avatar), { ATF_POINTER, 1, offsetof(struct AuthenticatedLogin, avatar),
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
@@ -105,18 +59,17 @@ static ber_tlv_tag_t asn_DEF_AuthenticatedLogin_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AuthenticatedLogin_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AuthenticatedLogin_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 2, 0, 0 }, /* avatar at 94 */ { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 1 }, /* clientUserData at 91 */
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 1 }, /* playerName at 92 */ { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, -1, 0 } /* avatar at 92 */
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, -1, 0 } /* password at 93 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AuthenticatedLogin_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AuthenticatedLogin_specs_1 = {
sizeof(struct AuthenticatedLogin), sizeof(struct AuthenticatedLogin),
offsetof(struct AuthenticatedLogin, _asn_ctx), offsetof(struct AuthenticatedLogin, _asn_ctx),
asn_MAP_AuthenticatedLogin_tag2el_1, asn_MAP_AuthenticatedLogin_tag2el_1,
3, /* Count of tags in the map */ 2, /* Count of tags in the map */
0, 0, 0, /* Optional elements (not needed) */ 0, 0, 0, /* Optional elements (not needed) */
2, /* Start extensions */ 1, /* Start extensions */
4 /* Stop extensions */ 3 /* Stop extensions */
}; };
asn_TYPE_descriptor_t asn_DEF_AuthenticatedLogin = { asn_TYPE_descriptor_t asn_DEF_AuthenticatedLogin = {
"AuthenticatedLogin", "AuthenticatedLogin",
@@ -138,7 +91,7 @@ asn_TYPE_descriptor_t asn_DEF_AuthenticatedLogin = {
/sizeof(asn_DEF_AuthenticatedLogin_tags_1[0]), /* 1 */ /sizeof(asn_DEF_AuthenticatedLogin_tags_1[0]), /* 1 */
0, /* No PER visible constraints */ 0, /* No PER visible constraints */
asn_MBR_AuthenticatedLogin_1, asn_MBR_AuthenticatedLogin_1,
3, /* Elements count */ 2, /* Elements count */
&asn_SPC_AuthenticatedLogin_specs_1 /* Additional specs */ &asn_SPC_AuthenticatedLogin_specs_1 /* Additional specs */
}; };
+3 -3
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _AuthenticatedLogin_H_ #ifndef _AuthenticatedLogin_H_
@@ -11,7 +12,7 @@
#include <asn_application.h> #include <asn_application.h>
/* Including external dependencies */ /* Including external dependencies */
#include <UTF8String.h> #include <OCTET_STRING.h>
#include "AvatarHash.h" #include "AvatarHash.h"
#include <constr_SEQUENCE.h> #include <constr_SEQUENCE.h>
@@ -21,8 +22,7 @@ extern "C" {
/* AuthenticatedLogin */ /* AuthenticatedLogin */
typedef struct AuthenticatedLogin { typedef struct AuthenticatedLogin {
UTF8String_t playerName; OCTET_STRING_t clientUserData;
UTF8String_t password;
AvatarHash_t *avatar /* OPTIONAL */; AvatarHash_t *avatar /* OPTIONAL */;
/* /*
* This type is extensible, * This type is extensible,
+2 -1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -49,7 +50,7 @@ static ber_tlv_tag_t asn_DEF_AvatarData_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AvatarData_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AvatarData_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* avatarBlock at 128 */ { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* avatarBlock at 144 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AvatarData_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AvatarData_specs_1 = {
sizeof(struct AvatarData), sizeof(struct AvatarData),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _AvatarData_H_ #ifndef _AvatarData_H_
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _AvatarEnd_H_ #ifndef _AvatarEnd_H_
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _AvatarHash_H_ #ifndef _AvatarHash_H_
+3 -2
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -57,8 +58,8 @@ static ber_tlv_tag_t asn_DEF_AvatarHeader_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AvatarHeader_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AvatarHeader_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* avatarSize at 124 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* avatarSize at 140 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* avatarType at 123 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* avatarType at 139 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AvatarHeader_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AvatarHeader_specs_1 = {
sizeof(struct AvatarHeader), sizeof(struct AvatarHeader),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _AvatarHeader_H_ #ifndef _AvatarHeader_H_
+11 -10
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -47,10 +48,10 @@ static asn_TYPE_member_t asn_MBR_avatarResult_3[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_avatarResult_tag2el_3[] = { static asn_TYPE_tag2member_t asn_MAP_avatarResult_tag2el_3[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* avatarHeader at 115 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* avatarHeader at 131 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 116 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 132 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* avatarEnd at 117 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* avatarEnd at 133 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* unknownAvatar at 119 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* unknownAvatar at 135 */
}; };
static asn_CHOICE_specifics_t asn_SPC_avatarResult_specs_3 = { static asn_CHOICE_specifics_t asn_SPC_avatarResult_specs_3 = {
sizeof(struct avatarResult), sizeof(struct avatarResult),
@@ -106,15 +107,15 @@ static asn_TYPE_member_t asn_MBR_AvatarReplyMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_AvatarReplyMessage_tags_1[] = { static ber_tlv_tag_t asn_DEF_AvatarReplyMessage_tags_1[] = {
(ASN_TAG_CLASS_APPLICATION | (3 << 2)), (ASN_TAG_CLASS_APPLICATION | (4 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AvatarReplyMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AvatarReplyMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* requestId at 113 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* requestId at 129 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* avatarHeader at 115 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* avatarHeader at 131 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 116 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 132 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* avatarEnd at 117 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* avatarEnd at 133 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* unknownAvatar at 119 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* unknownAvatar at 135 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AvatarReplyMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AvatarReplyMessage_specs_1 = {
sizeof(struct AvatarReplyMessage), sizeof(struct AvatarReplyMessage),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _AvatarReplyMessage_H_ #ifndef _AvatarReplyMessage_H_
+4 -3
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -29,12 +30,12 @@ static asn_TYPE_member_t asn_MBR_AvatarRequestMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_AvatarRequestMessage_tags_1[] = { static ber_tlv_tag_t asn_DEF_AvatarRequestMessage_tags_1[] = {
(ASN_TAG_CLASS_APPLICATION | (2 << 2)), (ASN_TAG_CLASS_APPLICATION | (3 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AvatarRequestMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AvatarRequestMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* requestId at 108 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* requestId at 124 */
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 } /* avatar at 110 */ { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 } /* avatar at 126 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AvatarRequestMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AvatarRequestMessage_specs_1 = {
sizeof(struct AvatarRequestMessage), sizeof(struct AvatarRequestMessage),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _AvatarRequestMessage_H_ #ifndef _AvatarRequestMessage_H_
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _Card_H_ #ifndef _Card_H_
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "CHATCLEANER-PROTOCOL" * From ASN.1 module "CHATCLEANER-PROTOCOL"
* found in "../../../docs/chatcleaner.asn1" * found in "../../../docs/chatcleaner.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "CHATCLEANER-PROTOCOL" * From ASN.1 module "CHATCLEANER-PROTOCOL"
* found in "../../../docs/chatcleaner.asn1" * found in "../../../docs/chatcleaner.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _ChatCleanerMessage_H_ #ifndef _ChatCleanerMessage_H_
+10 -9
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -79,10 +80,10 @@ static asn_TYPE_member_t asn_MBR_chatType_2[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_chatType_tag2el_2[] = { static asn_TYPE_tag2member_t asn_MAP_chatType_tag2el_2[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 554 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 570 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* chatTypeGame at 555 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* chatTypeGame at 571 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* chatTypeBot at 556 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* chatTypeBot at 572 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* chatTypeBroadcast at 558 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* chatTypeBroadcast at 574 */
}; };
static asn_CHOICE_specifics_t asn_SPC_chatType_specs_2 = { static asn_CHOICE_specifics_t asn_SPC_chatType_specs_2 = {
sizeof(struct chatType), sizeof(struct chatType),
@@ -142,11 +143,11 @@ static ber_tlv_tag_t asn_DEF_ChatMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ChatMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 559 */ { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 575 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 554 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 570 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* chatTypeGame at 555 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* chatTypeGame at 571 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 }, /* chatTypeBot at 556 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 }, /* chatTypeBot at 572 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 0, 0, 0 } /* chatTypeBroadcast at 558 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 0, 0, 0 } /* chatTypeBroadcast at 574 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ChatMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatMessage_specs_1 = {
sizeof(struct ChatMessage), sizeof(struct ChatMessage),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _ChatMessage_H_ #ifndef _ChatMessage_H_
+6 -5
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -61,8 +62,8 @@ static asn_TYPE_member_t asn_MBR_chatRequestType_2[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_chatRequestType_tag2el_2[] = { static asn_TYPE_tag2member_t asn_MAP_chatRequestType_tag2el_2[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 539 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 555 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* chatRequestTypeGame at 541 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* chatRequestTypeGame at 557 */
}; };
static asn_CHOICE_specifics_t asn_SPC_chatRequestType_specs_2 = { static asn_CHOICE_specifics_t asn_SPC_chatRequestType_specs_2 = {
sizeof(struct chatRequestType), sizeof(struct chatRequestType),
@@ -122,9 +123,9 @@ static ber_tlv_tag_t asn_DEF_ChatRequestMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatRequestMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ChatRequestMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 542 */ { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 558 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 539 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 555 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 } /* chatRequestTypeGame at 541 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 } /* chatRequestTypeGame at 557 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestMessage_specs_1 = {
sizeof(struct ChatRequestMessage), sizeof(struct ChatRequestMessage),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _ChatRequestMessage_H_ #ifndef _ChatRequestMessage_H_
+2 -1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -23,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_ChatRequestTypeGame_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatRequestTypeGame_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ChatRequestTypeGame_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 550 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 566 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestTypeGame_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestTypeGame_specs_1 = {
sizeof(struct ChatRequestTypeGame), sizeof(struct ChatRequestTypeGame),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _ChatRequestTypeGame_H_ #ifndef _ChatRequestTypeGame_H_
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _ChatRequestTypeLobby_H_ #ifndef _ChatRequestTypeLobby_H_
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _ChatTypeBot_H_ #ifndef _ChatTypeBot_H_
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _ChatTypeBroadcast_H_ #ifndef _ChatTypeBroadcast_H_
+3 -2
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -32,8 +33,8 @@ static ber_tlv_tag_t asn_DEF_ChatTypeGame_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatTypeGame_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ChatTypeGame_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 567 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 583 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 569 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 585 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ChatTypeGame_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatTypeGame_specs_1 = {
sizeof(struct ChatTypeGame), sizeof(struct ChatTypeGame),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _ChatTypeGame_H_ #ifndef _ChatTypeGame_H_
+2 -1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -23,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_ChatTypeLobby_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatTypeLobby_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ChatTypeLobby_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 564 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 580 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ChatTypeLobby_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatTypeLobby_specs_1 = {
sizeof(struct ChatTypeLobby), sizeof(struct ChatTypeLobby),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _ChatTypeLobby_H_ #ifndef _ChatTypeLobby_H_
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "CHATCLEANER-PROTOCOL" * From ASN.1 module "CHATCLEANER-PROTOCOL"
* found in "../../../docs/chatcleaner.asn1" * found in "../../../docs/chatcleaner.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "CHATCLEANER-PROTOCOL" * From ASN.1 module "CHATCLEANER-PROTOCOL"
* found in "../../../docs/chatcleaner.asn1" * found in "../../../docs/chatcleaner.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _CleanerChatReplyMessage_H_ #ifndef _CleanerChatReplyMessage_H_
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "CHATCLEANER-PROTOCOL" * From ASN.1 module "CHATCLEANER-PROTOCOL"
* found in "../../../docs/chatcleaner.asn1" * found in "../../../docs/chatcleaner.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "CHATCLEANER-PROTOCOL" * From ASN.1 module "CHATCLEANER-PROTOCOL"
* found in "../../../docs/chatcleaner.asn1" * found in "../../../docs/chatcleaner.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _CleanerChatRequestMessage_H_ #ifndef _CleanerChatRequestMessage_H_
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "CHATCLEANER-PROTOCOL" * From ASN.1 module "CHATCLEANER-PROTOCOL"
* found in "../../../docs/chatcleaner.asn1" * found in "../../../docs/chatcleaner.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "CHATCLEANER-PROTOCOL" * From ASN.1 module "CHATCLEANER-PROTOCOL"
* found in "../../../docs/chatcleaner.asn1" * found in "../../../docs/chatcleaner.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _CleanerInitAckMessage_H_ #ifndef _CleanerInitAckMessage_H_
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "CHATCLEANER-PROTOCOL" * From ASN.1 module "CHATCLEANER-PROTOCOL"
* found in "../../../docs/chatcleaner.asn1" * found in "../../../docs/chatcleaner.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "CHATCLEANER-PROTOCOL" * From ASN.1 module "CHATCLEANER-PROTOCOL"
* found in "../../../docs/chatcleaner.asn1" * found in "../../../docs/chatcleaner.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _CleanerInitMessage_H_ #ifndef _CleanerInitMessage_H_
+6 -5
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -47,14 +48,14 @@ static asn_TYPE_member_t asn_MBR_DealFlopCardsMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_DealFlopCardsMessage_tags_1[] = { static ber_tlv_tag_t asn_DEF_DealFlopCardsMessage_tags_1[] = {
(ASN_TAG_CLASS_APPLICATION | (22 << 2)), (ASN_TAG_CLASS_APPLICATION | (23 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_DealFlopCardsMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_DealFlopCardsMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 393 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 409 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* flopCard1 at 394 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* flopCard1 at 410 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* flopCard2 at 395 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* flopCard2 at 411 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* flopCard3 at 397 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* flopCard3 at 413 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_DealFlopCardsMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_DealFlopCardsMessage_specs_1 = {
sizeof(struct DealFlopCardsMessage), sizeof(struct DealFlopCardsMessage),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _DealFlopCardsMessage_H_ #ifndef _DealFlopCardsMessage_H_
+4 -3
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -29,12 +30,12 @@ static asn_TYPE_member_t asn_MBR_DealRiverCardMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_DealRiverCardMessage_tags_1[] = { static ber_tlv_tag_t asn_DEF_DealRiverCardMessage_tags_1[] = {
(ASN_TAG_CLASS_APPLICATION | (24 << 2)), (ASN_TAG_CLASS_APPLICATION | (25 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_DealRiverCardMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_DealRiverCardMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 405 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 421 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* riverCard at 407 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* riverCard at 423 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_DealRiverCardMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_DealRiverCardMessage_specs_1 = {
sizeof(struct DealRiverCardMessage), sizeof(struct DealRiverCardMessage),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _DealRiverCardMessage_H_ #ifndef _DealRiverCardMessage_H_
+4 -3
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -29,12 +30,12 @@ static asn_TYPE_member_t asn_MBR_DealTurnCardMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_DealTurnCardMessage_tags_1[] = { static ber_tlv_tag_t asn_DEF_DealTurnCardMessage_tags_1[] = {
(ASN_TAG_CLASS_APPLICATION | (23 << 2)), (ASN_TAG_CLASS_APPLICATION | (24 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_DealTurnCardMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_DealTurnCardMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 400 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 416 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* turnCard at 402 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* turnCard at 418 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_DealTurnCardMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_DealTurnCardMessage_specs_1 = {
sizeof(struct DealTurnCardMessage), sizeof(struct DealTurnCardMessage),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _DealTurnCardMessage_H_ #ifndef _DealTurnCardMessage_H_
+2 -1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -56,7 +57,7 @@ static ber_tlv_tag_t asn_DEF_DialogMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_DialogMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_DialogMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* notificationText at 578 */ { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* notificationText at 594 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_DialogMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_DialogMessage_specs_1 = {
sizeof(struct DialogMessage), sizeof(struct DialogMessage),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _DialogMessage_H_ #ifndef _DialogMessage_H_
+7 -6
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -240,12 +241,12 @@ static ber_tlv_tag_t asn_DEF_EndKickPetitionMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_EndKickPetitionMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_EndKickPetitionMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 4, 0, 0 }, /* resultPlayerKicked at 517 */ { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 4, 0, 0 }, /* resultPlayerKicked at 533 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 513 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 529 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* petitionId at 514 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* petitionId at 530 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* numVotesAgainstKicking at 515 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* numVotesAgainstKicking at 531 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 }, /* numVotesInFavourOfKicking at 516 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 }, /* numVotesInFavourOfKicking at 532 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 5, 0, 0 } /* petitionEndReason at 519 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 5, 0, 0 } /* petitionEndReason at 535 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_EndKickPetitionMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_EndKickPetitionMessage_specs_1 = {
sizeof(struct EndKickPetitionMessage), sizeof(struct EndKickPetitionMessage),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _EndKickPetitionMessage_H_ #ifndef _EndKickPetitionMessage_H_
+4 -3
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -29,12 +30,12 @@ static asn_TYPE_member_t asn_MBR_EndOfGameMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_EndOfGameMessage_tags_1[] = { static ber_tlv_tag_t asn_DEF_EndOfGameMessage_tags_1[] = {
(ASN_TAG_CLASS_APPLICATION | (27 << 2)), (ASN_TAG_CLASS_APPLICATION | (28 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_EndOfGameMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_EndOfGameMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 449 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 465 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* winnerPlayerId at 451 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* winnerPlayerId at 467 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_EndOfGameMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_EndOfGameMessage_specs_1 = {
sizeof(struct EndOfGameMessage), sizeof(struct EndOfGameMessage),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _EndOfGameMessage_H_ #ifndef _EndOfGameMessage_H_
+4 -3
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -91,9 +92,9 @@ static ber_tlv_tag_t asn_DEF_EndOfHandHideCards_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_EndOfHandHideCards_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_EndOfHandHideCards_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* playerId at 443 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* playerId at 459 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* moneyWon at 444 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* moneyWon at 460 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* playerMoney at 445 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* playerMoney at 461 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandHideCards_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandHideCards_specs_1 = {
sizeof(struct EndOfHandHideCards), sizeof(struct EndOfHandHideCards),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _EndOfHandHideCards_H_ #ifndef _EndOfHandHideCards_H_
+7 -6
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -29,8 +30,8 @@ static asn_TYPE_member_t asn_MBR_endOfHandType_3[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_endOfHandType_tag2el_3[] = { static asn_TYPE_tag2member_t asn_MAP_endOfHandType_tag2el_3[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* endOfHandShowCards at 423 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* endOfHandShowCards at 439 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 425 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 441 */
}; };
static asn_CHOICE_specifics_t asn_SPC_endOfHandType_specs_3 = { static asn_CHOICE_specifics_t asn_SPC_endOfHandType_specs_3 = {
sizeof(struct endOfHandType), sizeof(struct endOfHandType),
@@ -86,13 +87,13 @@ static asn_TYPE_member_t asn_MBR_EndOfHandMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_EndOfHandMessage_tags_1[] = { static ber_tlv_tag_t asn_DEF_EndOfHandMessage_tags_1[] = {
(ASN_TAG_CLASS_APPLICATION | (26 << 2)), (ASN_TAG_CLASS_APPLICATION | (27 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_EndOfHandMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_EndOfHandMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 421 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 437 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* endOfHandShowCards at 423 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* endOfHandShowCards at 439 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 425 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 441 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandMessage_specs_1 = {
sizeof(struct EndOfHandMessage), sizeof(struct EndOfHandMessage),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _EndOfHandMessage_H_ #ifndef _EndOfHandMessage_H_
+2 -1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -93,7 +94,7 @@ static ber_tlv_tag_t asn_DEF_EndOfHandShowCards_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_EndOfHandShowCards_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_EndOfHandShowCards_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* playerResults at 430 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* playerResults at 446 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandShowCards_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandShowCards_specs_1 = {
sizeof(struct EndOfHandShowCards), sizeof(struct EndOfHandShowCards),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _EndOfHandShowCards_H_ #ifndef _EndOfHandShowCards_H_
+2 -1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -165,7 +166,7 @@ static ber_tlv_tag_t asn_DEF_ErrorMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ErrorMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ErrorMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* errorReason at 594 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* errorReason at 610 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ErrorMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ErrorMessage_specs_1 = {
sizeof(struct ErrorMessage), sizeof(struct ErrorMessage),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _ErrorMessage_H_ #ifndef _ErrorMessage_H_
+2 -1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -23,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_GameAdminChanged_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameAdminChanged_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GameAdminChanged_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* newAdminPlayerId at 312 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* newAdminPlayerId at 328 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GameAdminChanged_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GameAdminChanged_specs_1 = {
sizeof(struct GameAdminChanged), sizeof(struct GameAdminChanged),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _GameAdminChanged_H_ #ifndef _GameAdminChanged_H_
+2 -1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -23,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_GameListAdminChanged_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameListAdminChanged_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GameListAdminChanged_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* newAdminPlayerId at 186 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* newAdminPlayerId at 202 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GameListAdminChanged_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GameListAdminChanged_specs_1 = {
sizeof(struct GameListAdminChanged), sizeof(struct GameListAdminChanged),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _GameListAdminChanged_H_ #ifndef _GameListAdminChanged_H_
+13 -12
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -56,11 +57,11 @@ static asn_TYPE_member_t asn_MBR_gameListNotification_3[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_gameListNotification_tag2el_3[] = { static asn_TYPE_tag2member_t asn_MAP_gameListNotification_tag2el_3[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gameListNew at 156 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gameListNew at 172 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 157 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 173 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameListPlayerJoined at 158 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameListPlayerJoined at 174 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* gameListPlayerLeft at 159 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* gameListPlayerLeft at 175 */
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* gameListAdminChanged at 161 */ { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* gameListAdminChanged at 177 */
}; };
static asn_CHOICE_specifics_t asn_SPC_gameListNotification_specs_3 = { static asn_CHOICE_specifics_t asn_SPC_gameListNotification_specs_3 = {
sizeof(struct gameListNotification), sizeof(struct gameListNotification),
@@ -116,16 +117,16 @@ static asn_TYPE_member_t asn_MBR_GameListMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_GameListMessage_tags_1[] = { static ber_tlv_tag_t asn_DEF_GameListMessage_tags_1[] = {
(ASN_TAG_CLASS_APPLICATION | (5 << 2)), (ASN_TAG_CLASS_APPLICATION | (6 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameListMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GameListMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 154 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 170 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gameListNew at 156 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gameListNew at 172 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 157 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 173 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameListPlayerJoined at 158 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameListPlayerJoined at 174 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 }, /* gameListPlayerLeft at 159 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 }, /* gameListPlayerLeft at 175 */
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 1, 0, 0 } /* gameListAdminChanged at 161 */ { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 1, 0, 0 } /* gameListAdminChanged at 177 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GameListMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GameListMessage_specs_1 = {
sizeof(struct GameListMessage), sizeof(struct GameListMessage),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _GameListMessage_H_ #ifndef _GameListMessage_H_
+6 -5
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -129,11 +130,11 @@ static ber_tlv_tag_t asn_DEF_GameListNew_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameListNew_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GameListNew_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isPrivate at 166 */ { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isPrivate at 182 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, 0, 0 }, /* adminPlayerId at 168 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, 0, 0 }, /* adminPlayerId at 184 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 }, /* gameMode at 165 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 }, /* gameMode at 181 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 1 }, /* playerIds at 167 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 1 }, /* playerIds at 183 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -1, 0 } /* gameInfo at 170 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -1, 0 } /* gameInfo at 186 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GameListNew_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GameListNew_specs_1 = {
sizeof(struct GameListNew), sizeof(struct GameListNew),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _GameListNew_H_ #ifndef _GameListNew_H_
+2 -1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -23,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_GameListPlayerJoined_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameListPlayerJoined_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GameListPlayerJoined_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 178 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 194 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GameListPlayerJoined_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GameListPlayerJoined_specs_1 = {
sizeof(struct GameListPlayerJoined), sizeof(struct GameListPlayerJoined),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _GameListPlayerJoined_H_ #ifndef _GameListPlayerJoined_H_
+2 -1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -23,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_GameListPlayerLeft_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameListPlayerLeft_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GameListPlayerLeft_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 182 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 198 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GameListPlayerLeft_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GameListPlayerLeft_specs_1 = {
sizeof(struct GameListPlayerLeft), sizeof(struct GameListPlayerLeft),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _GameListPlayerLeft_H_ #ifndef _GameListPlayerLeft_H_
+2 -1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -23,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_GameListUpdate_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameListUpdate_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GameListUpdate_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* gameMode at 174 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* gameMode at 190 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GameListUpdate_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GameListUpdate_specs_1 = {
sizeof(struct GameListUpdate), sizeof(struct GameListUpdate),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _GameListUpdate_H_ #ifndef _GameListUpdate_H_
+3 -2
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -32,8 +33,8 @@ static ber_tlv_tag_t asn_DEF_GamePlayerJoined_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GamePlayerJoined_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GamePlayerJoined_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isAdmin at 298 */ { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isAdmin at 314 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 297 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 313 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerJoined_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerJoined_specs_1 = {
sizeof(struct GamePlayerJoined), sizeof(struct GamePlayerJoined),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _GamePlayerJoined_H_ #ifndef _GamePlayerJoined_H_
+3 -2
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -151,8 +152,8 @@ static ber_tlv_tag_t asn_DEF_GamePlayerLeft_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GamePlayerLeft_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GamePlayerLeft_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* playerId at 302 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* playerId at 318 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 } /* gamePlayerLeftReason at 304 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 } /* gamePlayerLeftReason at 320 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerLeft_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerLeft_specs_1 = {
sizeof(struct GamePlayerLeft), sizeof(struct GamePlayerLeft),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _GamePlayerLeft_H_ #ifndef _GamePlayerLeft_H_
+11 -10
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -47,10 +48,10 @@ static asn_TYPE_member_t asn_MBR_gamePlayerNotification_3[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_gamePlayerNotification_tag2el_3[] = { static asn_TYPE_tag2member_t asn_MAP_gamePlayerNotification_tag2el_3[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gamePlayerJoined at 289 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gamePlayerJoined at 305 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 290 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 306 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameAdminChanged at 291 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameAdminChanged at 307 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* removedFromGame at 293 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* removedFromGame at 309 */
}; };
static asn_CHOICE_specifics_t asn_SPC_gamePlayerNotification_specs_3 = { static asn_CHOICE_specifics_t asn_SPC_gamePlayerNotification_specs_3 = {
sizeof(struct gamePlayerNotification), sizeof(struct gamePlayerNotification),
@@ -106,15 +107,15 @@ static asn_TYPE_member_t asn_MBR_GamePlayerMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_GamePlayerMessage_tags_1[] = { static ber_tlv_tag_t asn_DEF_GamePlayerMessage_tags_1[] = {
(ASN_TAG_CLASS_APPLICATION | (11 << 2)), (ASN_TAG_CLASS_APPLICATION | (12 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GamePlayerMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GamePlayerMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 287 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 303 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gamePlayerJoined at 289 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gamePlayerJoined at 305 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 290 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 306 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameAdminChanged at 291 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameAdminChanged at 307 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* removedFromGame at 293 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* removedFromGame at 309 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerMessage_specs_1 = {
sizeof(struct GamePlayerMessage), sizeof(struct GamePlayerMessage),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _GamePlayerMessage_H_ #ifndef _GamePlayerMessage_H_
+5 -4
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -108,13 +109,13 @@ static asn_TYPE_member_t asn_MBR_GameStartMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_GameStartMessage_tags_1[] = { static ber_tlv_tag_t asn_DEF_GameStartMessage_tags_1[] = {
(ASN_TAG_CLASS_APPLICATION | (16 << 2)), (ASN_TAG_CLASS_APPLICATION | (17 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameStartMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GameStartMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 344 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 360 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* startDealerPlayerId at 345 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* startDealerPlayerId at 361 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 0 } /* playerSeats at 347 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 0 } /* playerSeats at 363 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GameStartMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GameStartMessage_specs_1 = {
sizeof(struct GameStartMessage), sizeof(struct GameStartMessage),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _GameStartMessage_H_ #ifndef _GameStartMessage_H_
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _Guid_H_ #ifndef _Guid_H_
+6 -5
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
@@ -72,14 +73,14 @@ static asn_TYPE_member_t asn_MBR_HandStartMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_HandStartMessage_tags_1[] = { static ber_tlv_tag_t asn_DEF_HandStartMessage_tags_1[] = {
(ASN_TAG_CLASS_APPLICATION | (17 << 2)), (ASN_TAG_CLASS_APPLICATION | (18 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_HandStartMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_HandStartMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 350 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 366 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* yourCard1 at 351 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* yourCard1 at 367 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* yourCard2 at 352 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* yourCard2 at 368 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* smallBlind at 353 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* smallBlind at 369 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_HandStartMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_HandStartMessage_specs_1 = {
sizeof(struct HandStartMessage), sizeof(struct HandStartMessage),
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _HandStartMessage_H_ #ifndef _HandStartMessage_H_
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#include <asn_internal.h> #include <asn_internal.h>
+1
View File
@@ -2,6 +2,7 @@
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c) * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL" * From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1" * found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/ */
#ifndef _Id_H_ #ifndef _Id_H_

Some files were not shown because too many files have changed in this diff Show More