FreeBSD/contrib/ntp/ntpq/ntpq-subs.c
/*
 * doquerylist - send a message including variables in a list
 */
send a message including variables in a list
send a message including variables in a list
static int
doquerylist(
	struct varlist *vlist,
	int op,
	associd_t associd,
	int auth,
	u_short *rstatus,
	size_t *dsize,
	const char **datap
	)
{
	char data[CTL_MAX_DATA_LEN];
	size_t datalen;
	datalen = sizeof(data);
	makequerydata(vlist, &datalen, data);
	return doquery(op, associd, auth, datalen, data, rstatus, dsize,
		       datap);
}
static int doquerylist ( struct varlist * vlist , int op , associd_t associd , int auth , u_short * rstatus , size_t * dsize , const char * * datap ) { char data [ CTL_MAX_DATA_LEN ] ; size_t datalen ; datalen = sizeof ( data ) ; makequerydata ( vlist , & datalen , data ) ; return doquery ( op , associd , auth , datalen , data , rstatus , dsize , datap ) ; }
doquerylist - send a message including variables in a list
doquerylist - send a message including variables in a list