Cleaned some PDCP/driver code types parameters and vars Please see openair2/COMMON/platform_types.h for simple coding rules. please declare prototypes of functions in .h and include .h files in where the function is used and where it is implemented. git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5096 818b1a75-f10b-46b9-bf7c-635c3b92a50f
26 lines
924 B
C
Executable File
26 lines
924 B
C
Executable File
/***************************************************************************
|
|
umts_timer_struct.h - description
|
|
-------------------
|
|
AUTHOR : Lionel GAUTHIER
|
|
COMPANY : EURECOM
|
|
EMAIL : Lionel.Gauthier@eurecom.fr
|
|
|
|
|
|
|
|
***************************************************************************/
|
|
#ifndef __UMTS_TIMER_STRUCT_H__
|
|
# define __UMTS_TIMER_STRUCT_H__
|
|
|
|
# include "platform_types.h"
|
|
|
|
struct timer_unit {
|
|
|
|
void (*proc) (void *, void *); // proc executed when time_out
|
|
void *protocol; // arg should be a pointer on a allocated protocol entity private struct including its variables
|
|
void *timer_id; // arg should be a value or a pointer identifying the timer
|
|
// Example: rlc_am_sdu_discard_time_out(rlc_am, sdu)
|
|
uint32_t frame_time_out;
|
|
uint32_t frame_tick_start;
|
|
};
|
|
#endif
|