diff options
Diffstat (limited to 'tinySIGCOMP/src/tcomp_state.h')
-rwxr-xr-x | tinySIGCOMP/src/tcomp_state.h | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/tinySIGCOMP/src/tcomp_state.h b/tinySIGCOMP/src/tcomp_state.h index 1e7ef70..342e38b 100755 --- a/tinySIGCOMP/src/tcomp_state.h +++ b/tinySIGCOMP/src/tcomp_state.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. * @@ -47,22 +47,21 @@ TCOMP_BEGIN_DECLS /**SigComp state. */ -typedef struct tcomp_state_s -{ - TSK_DECLARE_OBJECT; - - tcomp_buffer_handle_t *value; /**< State's value. */ - tcomp_buffer_handle_t *identifier; /**< State's identifier. */ - - uint32_t length; /**< State's length. */ - uint32_t address; /**< State's address. */ - uint32_t instruction; /**< State's instruction. */ - uint32_t minimum_access_length; /**< State's minimum access length. */ - uint32_t retention_priority; /**< State's retention priority. */ - - int32_t usage_count; /**< State's usage count (to avoid duplication). */ - - TSK_DECLARE_SAFEOBJ; +typedef struct tcomp_state_s { + TSK_DECLARE_OBJECT; + + tcomp_buffer_handle_t *value; /**< State's value. */ + tcomp_buffer_handle_t *identifier; /**< State's identifier. */ + + uint32_t length; /**< State's length. */ + uint32_t address; /**< State's address. */ + uint32_t instruction; /**< State's instruction. */ + uint32_t minimum_access_length; /**< State's minimum access length. */ + uint32_t retention_priority; /**< State's retention priority. */ + + int32_t usage_count; /**< State's usage count (to avoid duplication). */ + + TSK_DECLARE_SAFEOBJ; } tcomp_state_t; |