Lines Matching defs:logmsg
365 struct sshbuf *logmsg;
371 if ((logmsg = sshbuf_new()) == NULL)
375 if ((r = sshbuf_reserve(logmsg, 4, &p)) != 0)
379 sshbuf_free(logmsg);
387 if ((r = sshbuf_get_u32(logmsg, &len)) != 0)
393 sshbuf_reset(logmsg);
394 if ((r = sshbuf_reserve(logmsg, len, &p)) != 0)
398 if ((r = sshbuf_get_u32(logmsg, &level)) != 0 ||
399 (r = sshbuf_get_u32(logmsg, &forced)) != 0 ||
400 (r = sshbuf_get_cstring(logmsg, &msg, NULL)) != 0)
409 sshbuf_free(logmsg);