Home | History | Annotate | Download | only in ntpq

Lines Matching defs:resultbuf

45  *  resultbuf character buffer.  E.g. \" will be translated into "
49 * resultbuf char* The resulting string without quoted
53 * maxlen int Max. number of bytes for resultbuf
57 * resultbuf
60 int ntpq_stripquotes ( char *resultbuf, char *srcbuf, int datalen, int maxlen )
62 char* dst = resultbuf;
63 char* dep = resultbuf + maxlen - 1;
99 return (int)(dst - resultbuf);
116 * resultbuf char* The resulting string without quoted
119 * resultbuf
132 const char * resultbuf,
145 while (nextvar(&idatalen, &resultbuf, &name, &value)) {
173 * resultbuf char* The resulting string without quoted
179 * resultbuf
185 int ntpq_queryhost(unsigned short VARSET, unsigned short association, char *resultbuf, int maxlen)
204 /* fill result resultbuf */
205 memcpy(resultbuf, datap, dsize);
295 * resultbuf u_short*Array that should hold the list of
298 * be stored in resultbuf
301 * int number of association IDs stored in resultbuf
307 int ntpq_read_associations ( u_short resultbuf[], int max_entries )
317 resultbuf[i] = assoc_cache[i].assid;
344 * int number of association IDs stored in resultbuf
404 * resultbuf char* character buffer where the variable set
407 * written to resultbuf
411 * resultbuf
419 char * resultbuf,
443 memcpy(resultbuf, datap, dsize);
463 * resultbuf char* character buffer where the variable set
466 * written to resultbuf
470 * resultbuf
476 char * resultbuf,
499 memcpy(resultbuf, datap, dsize);
646 * resultbuf char* character buffer where the variable set
649 * written to resultbuf
653 * resultbuf
661 char * resultbuf,
681 memcpy(resultbuf, datap, dsize);
713 char resultbuf[NTPQ_BUFLEN];
722 i = ntpq_read_assoc_peervars(associd, resultbuf,
723 sizeof(resultbuf));
726 rc = ntpq_getvar(resultbuf, i, "dstadr", dstadr,