Lines Matching refs:AvahiResponseJob

45 typedef struct AvahiResponseJob AvahiResponseJob;  typedef
53 struct AvahiResponseJob { struct
65 AVAHI_LLIST_FIELDS(AvahiResponseJob, jobs); argument
72 AVAHI_LLIST_HEAD(AvahiResponseJob, jobs);
73 AVAHI_LLIST_HEAD(AvahiResponseJob, history);
74 AVAHI_LLIST_HEAD(AvahiResponseJob, suppressed);
77 static AvahiResponseJob* job_new(AvahiResponseScheduler *s, AvahiRecord *record, AvahiResponseJobSt… in job_new()
78 AvahiResponseJob *rj; in job_new()
83 if (!(rj = avahi_new(AvahiResponseJob, 1))) { in job_new()
95 AVAHI_LLIST_PREPEND(AvahiResponseJob, jobs, s->jobs, rj); in job_new()
97 AVAHI_LLIST_PREPEND(AvahiResponseJob, jobs, s->history, rj); in job_new()
99 AVAHI_LLIST_PREPEND(AvahiResponseJob, jobs, s->suppressed, rj); in job_new()
104 static void job_free(AvahiResponseScheduler *s, AvahiResponseJob *rj) { in job_free()
112 AVAHI_LLIST_REMOVE(AvahiResponseJob, jobs, s->jobs, rj); in job_free()
114 AVAHI_LLIST_REMOVE(AvahiResponseJob, jobs, s->history, rj); in job_free()
116 AVAHI_LLIST_REMOVE(AvahiResponseJob, jobs, s->suppressed, rj); in job_free()
124 static void job_set_elapse_time(AvahiResponseScheduler *s, AvahiResponseJob *rj, unsigned msec, uns… in job_set_elapse_time()
138 static void job_mark_done(AvahiResponseScheduler *s, AvahiResponseJob *rj) { in job_mark_done()
144 AVAHI_LLIST_REMOVE(AvahiResponseJob, jobs, s->jobs, rj); in job_mark_done()
145 AVAHI_LLIST_PREPEND(AvahiResponseJob, jobs, s->history, rj); in job_mark_done()
166 AVAHI_LLIST_HEAD_INIT(AvahiResponseJob, s->jobs); in avahi_response_scheduler_new()
167 AVAHI_LLIST_HEAD_INIT(AvahiResponseJob, s->history); in avahi_response_scheduler_new()
168 AVAHI_LLIST_HEAD_INIT(AvahiResponseJob, s->suppressed); in avahi_response_scheduler_new()
192 AvahiResponseJob *rj = userdata; in enumerate_aux_records_callback()
200 static int packet_add_response_job(AvahiResponseScheduler *s, AvahiDnsPacket *p, AvahiResponseJob *… in packet_add_response_job()
217 static void send_response_packet(AvahiResponseScheduler *s, AvahiResponseJob *rj) { in send_response_packet()
266 AvahiResponseJob *rj = data; in elapse_callback()
276 static AvahiResponseJob* find_scheduled_job(AvahiResponseScheduler *s, AvahiRecord *record) { in find_scheduled_job()
277 AvahiResponseJob *rj; in find_scheduled_job()
292 static AvahiResponseJob* find_history_job(AvahiResponseScheduler *s, AvahiRecord *record) { in find_history_job()
293 AvahiResponseJob *rj; in find_history_job()
319 static AvahiResponseJob* find_suppressed_job(AvahiResponseScheduler *s, AvahiRecord *record, const … in find_suppressed_job()
320 AvahiResponseJob *rj; in find_suppressed_job()
348 AvahiResponseJob *rj; in avahi_response_scheduler_post()
430 AvahiResponseJob *rj; in avahi_response_scheduler_incoming()
468 AvahiResponseJob *rj; in avahi_response_scheduler_suppress()