AuthMessage Struct Reference

AuthMessage Struct Reference

#include <qtransportauthdefs_qws.h>

Class Description

Definition at line 89 of file qtransportauthdefs_qws.h.

Public Member Functions

 AuthMessage ()
 

Public Attributes

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

Constructor & Destructor Documentation

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]
char authData[sizeof(AuthHeader)]
unsigned char pad_magic[QSXE_MAGIC_BYTES]
#define QSXE_MAGIC_BYTES

Member Data Documentation

unsigned char pad_magic[QSXE_MAGIC_BYTES]

Definition at line 96 of file qtransportauthdefs_qws.h.

Definition at line 98 of file qtransportauthdefs_qws.h.

char authData[sizeof(AuthHeader)]

Definition at line 99 of file qtransportauthdefs_qws.h.

union { ... }
char payLoad[AMOUNT_TO_AUTHENTICATE]

Definition at line 101 of file qtransportauthdefs_qws.h.


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