diff options
Diffstat (limited to 'tinySIGCOMP/src/tcomp_message.h')
-rwxr-xr-x | tinySIGCOMP/src/tcomp_message.h | 43 |
1 files changed, 21 insertions, 22 deletions
diff --git a/tinySIGCOMP/src/tcomp_message.h b/tinySIGCOMP/src/tcomp_message.h index 9d5b41d..70c56d3 100755 --- a/tinySIGCOMP/src/tcomp_message.h +++ b/tinySIGCOMP/src/tcomp_message.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]org> -* +* * This file is part of Open Source Doubango Framework. * * DOUBANGO is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. -* +* * DOUBANGO is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. -* +* * You should have received a copy of the GNU General Public License * along with DOUBANGO. * @@ -41,27 +41,26 @@ TCOMP_BEGIN_DECLS /** * SigComp Message Format as per RFC 3320 subclause 7. */ -typedef struct tcomp_message_s -{ - TSK_DECLARE_OBJECT; +typedef struct tcomp_message_s { + TSK_DECLARE_OBJECT; + + uint8_t headerSigComp; /**< SigComp header */ + + unsigned isOK:1; /**< Message validity. */ + unsigned isNack:1; /**< If it's a NACK message. */ + unsigned stream_based:1; /**< If it's stream message (e.g. TCP) */ + const uint8_t* startPtr; /**< Message pointer. */ + tsk_size_t totalSize; /**< The total message size. */ + tsk_size_t header_size; /**< The size of the message header */ + + tcomp_buffer_handle_t* stateId; /**< */ - uint8_t headerSigComp; /**< SigComp header */ + uint32_t bytecodes_destination; /**< */ + tcomp_buffer_handle_t* remaining_sigcomp_buffer; /**< */ + tcomp_buffer_handle_t* uploaded_UDVM_buffer; /**< */ + tcomp_buffer_handle_t* ret_feedback_buffer; /**< */ - unsigned isOK:1; /**< Message validity. */ - unsigned isNack:1; /**< If it's a NACK message. */ - unsigned stream_based:1; /**< If it's stream message (e.g. TCP) */ - const uint8_t* startPtr; /**< Message pointer. */ - tsk_size_t totalSize; /**< The total message size. */ - tsk_size_t header_size; /**< The size of the message header */ - - tcomp_buffer_handle_t* stateId; /**< */ - - uint32_t bytecodes_destination; /**< */ - tcomp_buffer_handle_t* remaining_sigcomp_buffer; /**< */ - tcomp_buffer_handle_t* uploaded_UDVM_buffer; /**< */ - tcomp_buffer_handle_t* ret_feedback_buffer; /**< */ - - tcomp_nackinfo_t* nack_info; /**< */ + tcomp_nackinfo_t* nack_info; /**< */ } tcomp_message_t; |