extern int h_outbound_msgbuf;
extern int h_rehash;
extern int h_cap_change;
+extern int h_sendq_cleared;
void init_hook(void);
int register_hook(const char *name);
int h_outbound_msgbuf;
int h_rehash;
int h_cap_change;
+int h_sendq_cleared;
void
init_hook(void)
h_outbound_msgbuf = register_hook("outbound_msgbuf");
h_rehash = register_hook("rehash");
h_cap_change = register_hook("cap_change");
+ h_sendq_cleared = register_hook("sendq_cleared");
}
/* grow_hooktable()
send_queued_write, to);
}
else
+ {
+ hook_data_client hdata;
+ hdata.client = to;
ClearFlush(to);
+ call_hook(h_sendq_cleared, &hdata);
+ }
}
void