Added member fields for reserved bits and bytes in all payloads

This commit is contained in:
Martin Willi
2011-01-05 16:45:51 +01:00
parent 1b671248c2
commit c93c7a7560
19 changed files with 272 additions and 141 deletions
@@ -73,6 +73,21 @@ struct auth_payload_t {
*/
chunk_t (*get_data) (auth_payload_t *this);
/**
* Get the value of a reserved bit.
*
* @param nr number of the reserved bit, 0-6
* @return TRUE if bit was set, FALSE to clear
*/
bool (*get_reserved_bit)(auth_payload_t *this, u_int nr);
/**
* Set one of the reserved bits.
*
* @param nr number of the reserved bit, 0-6
*/
void (*set_reserved_bit)(auth_payload_t *this, u_int nr);
/**
* Destroys an auth_payload_t object.
*/