Qt 4.8
Public Functions | Public Variables | List of all members
AuthMessage Struct Reference

#include <qtransportauthdefs_qws.h>

Public Functions

 AuthMessage ()
 

Public Variables

union {
   char   authData [sizeof(AuthHeader)]
 
   AuthHeader   hdr
 
}; 
 
unsigned char pad_magic [QSXE_MAGIC_BYTES]
 
char payLoad [AMOUNT_TO_AUTHENTICATE]
 

Detailed Description

Definition at line 89 of file qtransportauthdefs_qws.h.

Constructors and Destructors

◆ AuthMessage()

AuthMessage::AuthMessage ( )
inline

Definition at line 91 of file qtransportauthdefs_qws.h.

92  {
93  ::memset( authData, 0, sizeof(authData) );
94  ::memcpy( pad_magic, magic, QSXE_MAGIC_BYTES );
95  }
const unsigned char magic[QSXE_MAGIC_BYTES]
unsigned char pad_magic[QSXE_MAGIC_BYTES]
#define QSXE_MAGIC_BYTES
char authData[sizeof(AuthHeader)]

Properties

◆ @164

union { ... }

◆ authData

char AuthMessage::authData[sizeof(AuthHeader)]

Definition at line 99 of file qtransportauthdefs_qws.h.

◆ hdr

AuthHeader AuthMessage::hdr

Definition at line 98 of file qtransportauthdefs_qws.h.

◆ pad_magic

unsigned char AuthMessage::pad_magic[QSXE_MAGIC_BYTES]

Definition at line 96 of file qtransportauthdefs_qws.h.

◆ payLoad

char AuthMessage::payLoad[AMOUNT_TO_AUTHENTICATE]

Definition at line 101 of file qtransportauthdefs_qws.h.


The documentation for this struct was generated from the following file: