• Home
  • Raw
  • Download

Lines Matching refs:tracker

396 device_tracker_remove( device_tracker*  tracker )  in device_tracker_remove()  argument
403 if (node == tracker) { in device_tracker_remove()
416 device_tracker* tracker = (device_tracker*) socket; in device_tracker_close() local
419 D( "device tracker %p removed\n", tracker); in device_tracker_close()
424 device_tracker_remove(tracker); in device_tracker_close()
425 free(tracker); in device_tracker_close()
438 device_tracker_send( device_tracker* tracker, in device_tracker_send() argument
443 asocket* peer = tracker->socket.peer; in device_tracker_send()
454 device_tracker* tracker = (device_tracker*) socket; in device_tracker_ready() local
458 if (tracker->update_needed > 0) { in device_tracker_ready()
462 tracker->update_needed = 0; in device_tracker_ready()
465 device_tracker_send(tracker, buffer, len); in device_tracker_ready()
473 device_tracker* tracker = calloc(1,sizeof(*tracker)); in create_device_tracker() local
475 if(tracker == 0) fatal("cannot allocate device tracker"); in create_device_tracker()
477 D( "device tracker %p created\n", tracker); in create_device_tracker()
479 tracker->socket.enqueue = device_tracker_enqueue; in create_device_tracker()
480 tracker->socket.ready = device_tracker_ready; in create_device_tracker()
481 tracker->socket.close = device_tracker_close; in create_device_tracker()
482 tracker->update_needed = 1; in create_device_tracker()
484 tracker->next = device_tracker_list; in create_device_tracker()
485 device_tracker_list = tracker; in create_device_tracker()
487 return &tracker->socket; in create_device_tracker()
496 device_tracker* tracker; in update_transports() local
500 tracker = device_tracker_list; in update_transports()
501 while (tracker != NULL) { in update_transports()
502 device_tracker* next = tracker->next; in update_transports()
504 device_tracker_send(tracker, buffer, len); in update_transports()
505 tracker = next; in update_transports()