Searched refs:answer (Results 1 - 25 of 83) sorted by relevance

1234

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetlogin.c83 getl_r_common(char *answer, size_t namelen, size_t maxlen) argument
117 (void) strncpy(answer, ubuf.ut_user, ulen);
118 answer[ulen] = '\0';
119 return (answer);
127 getlogint_r(char *answer, int namelen) argument
129 return (getl_r_common(answer, (size_t)namelen, LOGNAME_MAX_TRAD));
156 char *answer = tsdalloc(_T_LOGIN, LOGIN_NAME_MAX_TRAD, NULL); local
158 if (answer == NULL)
160 return (getl_r_common(answer, LOGIN_NAME_MAX_TRAD, LOGNAME_MAX_TRAD));
169 getloginx_r(char *answer, in argument
202 char *answer = tsdalloc(_T_LOGIN, LOGIN_NAME_MAX, NULL); local
[all...]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypxfrd.x35 enum answer {OK,GETDBM_EOF,GETDBM_ERROR};
58 union pag switch (answer status){
71 union dir switch (answer status){
89 union dbmfyl switch (answer status){
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_getalias.c44 * -1 = other failure. Contents in answer are undefined.
120 char *answer, *new_answer; local
129 answer = malloc(ans_size);
130 if (answer == NULL) {
135 answer[0] = '\0';
182 answer[0] = '\0';
208 new_answer = realloc(answer, ans_size);
213 free(answer);
216 answer = new_answer;
219 (void) strcat(answer, ",");
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Dprocess.c87 response->answer = FAILED;
106 response->answer = SUCCESS;
118 response->answer = SUCCESS;
120 response->answer = NOT_HERE;
126 response->answer = delete_invite(request->id_num);
131 response->answer = UNKNOWN_REQUEST;
148 response->answer = result;
155 response->answer = MACHINE_UNKNOWN;
162 response->answer = announce(request, hp->h_name);
169 response->answer
[all...]
H A Dprint.c61 (void) printf("type is %d, answer is %d, id = %d\n\n", response->type,
62 response->answer, response->id_num);
H A Dctl.h83 * The values for answer.
96 char answer; member in struct:ctl_response
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dlook_up.c121 switch (response->answer) {
141 char answer; member in struct:ctl_response_runrise
158 rsp.answer = swaprsp.answer;
169 char answer; member in struct:ctl_response_sun3
188 rsp.answer = swaprsp.answer;
H A Dctl.h67 /* the values for answer */
80 char answer; member in struct:ctl_response
/illumos-gate/usr/src/cmd/krb5/kadmin/kdcmgr/
H A Dklookup.c53 unsigned char answer[NS_MAXMSG], *ansp = NULL, *end, a, b, c, d; local
105 anslen = sizeof (answer);
106 len = res_nsearch(&stat, name, C_IN, rr_type, answer, anslen);
113 ansp = answer;
117 h = (HEADER *)answer;
128 len = dn_expand(answer, end, ansp, name, hostlen);
143 len = dn_expand(answer, end, ansp, name, hostlen);
161 len = dn_expand(answer, end, ansp, name, hostlen);
176 len = dn_expand(answer, end, ansp, name, hostlen);
H A Dkdcmgr.sh56 # ask question, set global answer
63 read answer
64 [ -z "$answer" ] && answer="$default_answer"
70 # answer is a global set by ask
71 answer=
78 while [[ -z $answer ]]; do
80 case $answer in
81 $y|$yes) answer=yes;;
82 $n|$no) answer
[all...]
/illumos-gate/usr/src/cmd/refer/
H A Drefer2.c47 char answer[ANSLEN], temp[TLEN], line[BUFSIZ]; local
78 answer[0] = 0;
114 if (strlen(temp)+strlen(answer) > BUFSIZ)
117 strcat(answer, temp);
118 if (strlen(answer) > BUFSIZ)
119 err(gettext("answer too long (%d)"),
120 strlen(answer));
121 if (newline(answer) > 0)
126 assert(strlen(answer) < ANSLEN);
128 switch (newline(answer)) {
[all...]
/illumos-gate/usr/src/cmd/svc/shell/
H A Dsendmail_include.sh34 answer=$default
38 answer=$1
40 answer=$default
/illumos-gate/usr/src/lib/libresolv/
H A Dres_query.c64 * Formulate a normal query, send, and await answer.
65 * Returned answer is placed in supplied buffer "answer".
66 * Perform preliminary check of answer, returning success only
67 * if no error is indicated and the answer count is nonzero.
70 * Caller must parse answer and determine whether it answers the question.
73 res_query(name, class, type, answer, anslen)
76 u_char *answer; /* buffer to put answer */
77 int anslen; /* size of answer buffe
[all...]
H A Dres_send.c134 res_send(buf, buflen, answer, anslen)
137 char *answer;
152 HEADER *anhp = (HEADER *) answer;
239 cp = answer;
270 cp = answer;
300 * Flush rest of answer
309 * message read into the "answer" buffer
442 if ((resplen = recv(s, answer, anslen, 0))
457 printf("old answer:\n");
458 p_query(answer);
[all...]
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios_name.c183 struct resource_record *answer; local
197 if ((answer = reply_info->packet->answer) == 0)
200 destination = answer->name;
201 question.name = answer->name;
206 packet.ancount = 0; /* answer recs */
207 packet.answer = NULL;
234 struct resource_record *answer; local
262 answer = reply->packet->answer;
298 struct resource_record *answer; local
332 struct resource_record *answer; local
1139 struct resource_record answer; local
1228 struct resource_record answer; local
1329 struct resource_record answer; local
1389 struct resource_record answer; local
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetdxbyname.c69 static char ** decode_answer( unsigned char *answer, int len );
118 decode_answer( unsigned char *answer, int len ) argument
128 /* __p_query( answer ); */
133 hp = (HEADER *)answer;
134 eom = answer + len;
150 p = answer + HFIXEDSZ;
151 if (( rc = dn_expand( answer, eom, p, buf, sizeof( buf ))) < 0 ) {
162 if (( rc = dn_expand( answer, eom, p, buf, sizeof( buf ))) < 0 ) {
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_sendsigned.c30 ns_tsig_key *key, u_char *answer, int anslen)
98 * Stop res_send printing the answer.
105 len = res_nsend(nstatp, newmsg, newmsglen, answer, anslen);
113 ret = ns_verify(answer, &len, dstkey, sig, siglen,
119 (stdout, ";; got answer:\n"));
124 answer, (anslen > len) ? len : anslen);
146 hp = (HEADER *) answer;
155 (stdout, ";; got answer:\n"));
160 answer, (anslen > len) ? len : anslen);
29 res_nsendsigned(res_state statp, const u_char *msg, int msglen, ns_tsig_key *key, u_char *answer, int anslen) argument
H A Dres_update.c57 * nameservers for that zone, and await answer.
96 u_char answer[PACKETSZ]; local
172 answer, sizeof answer);
174 n = res_nsend(statp, packet, n, answer, sizeof answer);
180 if (((HEADER *)answer)->rcode == NOERROR)
H A Dres_query.c101 * Formulate a normal query, send, and await answer.
102 * Returned answer is placed in supplied buffer "answer".
103 * Perform preliminary check of answer, returning success only
104 * if no error is indicated and the answer count is nonzero.
108 * Caller must parse answer and determine whether it answers the question.
114 u_char *answer, /*%< buffer to put answer */
115 int anslen) /*%< size of answer buffer */
118 HEADER *hp = (HEADER *) answer;
111 res_nquery(res_state statp, const char *name, int class, int type, u_char *answer, int anslen) argument
212 res_nsearch(res_state statp, const char *name, int class, int type, u_char *answer, int anslen) argument
358 res_nquerydomain(res_state statp, const char *name, const char *domain, int class, int type, u_char *answer, int anslen) argument
[all...]
H A Dres_data.c193 u_char *answer, /*!< buffer to put answer */
194 int anslen) /*!< size of answer buffer */
200 return (res_nquery(&_res, name, class, type, answer, anslen));
258 u_char *answer, /*!< buffer to put answer */
259 int anslen) /*!< size of answer */
266 return (res_nsearch(&_res, name, class, type, answer, anslen));
273 u_char *answer, /*!< buffer to put answer */
191 res_query(const char *name, int class, int type, u_char *answer, int anslen) argument
256 res_search(const char *name, int class, int type, u_char *answer, int anslen) argument
270 res_querydomain(const char *name, const char *domain, int class, int type, u_char *answer, int anslen) argument
[all...]
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_config.c175 int answer; local
193 answer = atoi(buf);
195 return (answer != 0 ? answer : 2000);
H A Dslp_auth.c804 char *answer = NULL; local
820 if ((status = dld_ami_dn2str(amih, certs[0].info.subject, &answer))
825 answer = NULL;
829 if (SLPEscape(answer, &esc_answer, SLP_FALSE) != SLP_OK) {
830 free(answer);
831 answer = NULL;
833 free(answer);
834 answer = esc_answer;
840 return (answer);
923 int answer; local
[all...]
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Ddo_align.c627 char answer[BUFSIZ]; local
636 if (!fgets(answer, sizeof (answer), stdin))
639 answer[strlen(answer) -1] = '\0';
642 STREQU(answer, "q")
643 || STREQU(answer, "n")
644 || STREQU(answer, "no")
649 !*answer
650 || STREQU(answer, "
[all...]
/illumos-gate/usr/src/cmd/sendmail/lib/
H A Dsendmail-client45 CLIENTQUEUEINTERVAL=$answer
/illumos-gate/usr/src/cmd/sendmail/src/
H A Ddomain.c35 ** the size of the *un*truncated answer in case the supplied answer buffer
36 ** it not big enough to accommodate the entire answer.
221 querybuf answer; local
276 n = (*resfunc)(host, C_IN, T_MX, (unsigned char *) &answer,
277 sizeof(answer));
326 if (n > sizeof(answer))
327 n = sizeof(answer);
329 /* find first satisfactory answer */
330 hp = (HEADER *)&answer;
798 querybuf answer; local
[all...]

Completed in 508 milliseconds

1234