Lines Matching refs:newopts
314 ServerOptions *newopts;
319 if (len != sizeof(*newopts))
321 newopts = xcalloc(sizeof(*newopts), 1);
322 memcpy(newopts, p, sizeof(*newopts));
325 if (newopts->x != NULL && \
326 (r = sshbuf_get_cstring(m, &newopts->x, NULL)) != 0) \
330 newopts->x = newopts->nx == 0 ? \
331 NULL : xcalloc(newopts->nx, sizeof(*newopts->x)); \
332 for (i = 0; i < newopts->nx; i++) { \
334 &newopts->x[i], NULL)) != 0) \
343 copy_set_server_options(&options, newopts, 1);
350 #define M_CP_STROPT(x) free(newopts->x)
352 for (i = 0; i < newopts->nx; i++) \
353 free(newopts->x[i]); \
354 free(newopts->x); \
359 free(newopts);