scanner: Make emit_structs more explicit
authorJasper St. Pierre <jstpierre@mecheye.net>
Fri, 8 Aug 2014 22:22:48 +0000 (18:22 -0400)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Mon, 18 Aug 2014 08:31:48 +0000 (11:31 +0300)
commitedddb0f58ebe14a3cff93d85919af671f17612b4
tree8514d3f7fdbce5ba53d523886897cda8f1549b70
parenteb223cc2f606f4a8641efbd0ef0d0af223dc9216
scanner: Make emit_structs more explicit

"is_interface" is a really terrible name for the client or server
variants, and instead of checking whether we were passed the requests or
the events, just pass an argument through.

Reviewed-by: Marek Chalupa <mchqwerty@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
src/scanner.c