diff options
Diffstat (limited to 'branches/1.0/tinySIGCOMP/src/tcomp_message.h')
-rw-r--r-- | branches/1.0/tinySIGCOMP/src/tcomp_message.h | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/branches/1.0/tinySIGCOMP/src/tcomp_message.h b/branches/1.0/tinySIGCOMP/src/tcomp_message.h deleted file mode 100644 index 5ef9b3b..0000000 --- a/branches/1.0/tinySIGCOMP/src/tcomp_message.h +++ /dev/null @@ -1,74 +0,0 @@ -/* -* Copyright (C) 2009-2010 Mamadou Diop. -* -* Contact: Mamadou Diop <diopmamadou(at)doubango.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. -* -*/ - -/**@file tcomp_message.h - * @brief SIGCOMP message as per RFC 3320 subclause 7. - * - * @author Mamadou Diop <diopmamadou(at)yahoo.fr> - * - * @date Created: Sat Nov 8 16:54:58 2009 mdiop - */ -#ifndef TCOMP_MESSAGE_H -#define TCOMP_MESSAGE_H - -#include "tinysigcomp_config.h" -#include "tcomp_buffer.h" -#include "tcomp_nackinfo.h" -#include "tsk_object.h" - -TCOMP_BEGIN_DECLS - - -/** -* SigComp Message Format as per RFC 3320 subclause 7. -*/ -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; /**< */ - - uint16_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_message_t; - -tcomp_message_t* tcomp_message_create(const void* input_ptr, tsk_size_t input_size, tsk_bool_t stream); - -TINYSIGCOMP_GEXTERN const tsk_object_def_t *tcomp_message_def_t; - -TCOMP_END_DECLS - -#endif /* TCOMP_MESSAGE_H */ |