Definition at line 810 of file dic.c.
References Dic_timer_q, dll_init(), dll_insert_queue(), dtq_add_entry(), id_get(), Memory::malloc(), MAX_NAME, MONIT_FIRST, ONCE_ONLY, dic_serv::serv_id, service_id, size, SRC_DIC, and type.
Referenced by request_command(), and request_service().
823 strncpy( newp->serv_name, name, (
size_t)
MAX_NAME );
825 newp->timeout = timeout;
826 newp->serv_address = address;
827 newp->serv_size =
size;
828 newp->user_routine = routine;
833 fillp = (
int *)
malloc((
size_t)fill_size);
834 memcpy( (
char *) fillp, (
char *) fill_addr, (
size_t)fill_size );
836 newp->fill_address = fillp;
837 newp->fill_size = fill_size;
839 newp->format_data[0].par_bytes = 0;
850 newp->timer_ent = NULL;
860 ftout = (float)tout * (
float)1.5;
863 newp->curr_timeout = tout;
869 newp->pending = pending;
870 newp->tmout_done = 0;
871 newp->stamped = stamped;
872 newp->time_stamp[0] = 0;
873 newp->time_stamp[1] = 0;
877 newp->tid = taskIdSelf();
void dll_insert_queue(DLL *head, DLL *item)
TIMR_ENT * dtq_add_entry(int queue_id, int time, void(*user_routine)(), dim_long tag)
int id_get(void *ptr, SRC_TYPES type)
void service_tmout(int serv_id)
static DIC_SERVICE * Service_pend_head