Lines Matching refs:buff
174 char *vector[6], buff[LINE_LEN]; in auth_SetPhoneList() local
181 while (fgets(buff, sizeof buff, fp)) { in auth_SetPhoneList()
183 if (buff[0] == '#') in auth_SetPhoneList()
185 buff[strlen(buff) - 1] = '\0'; in auth_SetPhoneList()
187 if ((n = MakeArgs(buff, vector, VECSIZE(vector), PARSE_REDUCE)) < 0) in auth_SetPhoneList()
219 char *vector[5], buff[LINE_LEN]; in auth_Select() local
242 while (fgets(buff, sizeof buff, fp)) { in auth_Select()
244 if (buff[0] == '#') in auth_Select()
246 buff[strlen(buff) - 1] = '\0'; in auth_Select()
248 if ((n = MakeArgs(buff, vector, VECSIZE(vector), PARSE_REDUCE)) < 0) in auth_Select()
302 char *vector[5], buff[LINE_LEN]; in auth_Validate() local
309 while (fgets(buff, sizeof buff, fp)) { in auth_Validate()
311 if (buff[0] == '#') in auth_Validate()
313 buff[strlen(buff) - 1] = 0; in auth_Validate()
315 if ((n = MakeArgs(buff, vector, VECSIZE(vector), PARSE_REDUCE)) < 0) in auth_Validate()
355 static char buff[LINE_LEN]; /* vector[] will point here when returned */ in auth_GetSecret() local
363 while (fgets(buff, sizeof buff, fp)) { in auth_GetSecret()
365 if (buff[0] == '#') in auth_GetSecret()
367 n = strlen(buff) - 1; in auth_GetSecret()
368 if (buff[n] == '\n') in auth_GetSecret()
369 buff[n] = '\0'; /* Trim the '\n' */ in auth_GetSecret()
371 if ((n = MakeArgs(buff, vector, VECSIZE(vector), PARSE_REDUCE)) < 0) in auth_GetSecret()