Lines Matching refs:nvout
47 struct nv *nvin, *nvout;
53 nvin = nvout = NULL;
58 nvout = nv_alloc();
59 nv_add_uint8(nvout, (uint8_t)event, "event");
60 error = nv_error(nvout);
66 if (hast_proto_send(res, res->hr_event, nvout, NULL, 0) == -1) {
81 if (nvout != NULL)
82 nv_free(nvout);
88 struct nv *nvin, *nvout;
95 nvin = nvout = NULL;
142 nvout = nv_alloc();
143 nv_add_int16(nvout, 0, "error");
144 error = nv_error(nvout);
150 if (hast_proto_send(res, res->hr_event, nvout, NULL, 0) == -1) {
155 nv_free(nvout);
160 if (nvout != NULL)
161 nv_free(nvout);