Lines Matching refs:np
81 struct notif_server *np;
95 np = notifs[i];
99 if (!np->queue.empty ())
101 struct notif_event *head = np->queue.front ();
102 np->queue.pop_front ();
104 remote_debug_printf ("%s: acking %d", np->ack_name,
105 (int) np->queue.size ());
110 notif_write_event (np, own_buf);
128 /* Push one event NEW_EVENT of notification NP into NP->queue. */
131 notif_push (struct notif_server *np, struct notif_event *new_event)
133 bool is_first_event = np->queue.empty ();
136 notif_event_enque (np, new_event);
145 xsnprintf (p, PBUFSIZ, "%s:", np->notif_name);
148 np->write (new_event, p);