Lines Matching refs:buff
127 char *vector[6], buff[LINE_LEN]; in auth_SetPhoneList() local
134 while (fgets(buff, sizeof buff, fp)) { in auth_SetPhoneList()
136 if (buff[0] == '#') in auth_SetPhoneList()
138 buff[strlen(buff) - 1] = '\0'; in auth_SetPhoneList()
140 if ((n = MakeArgs(buff, vector, VECSIZE(vector), PARSE_REDUCE)) < 0) in auth_SetPhoneList()
172 char *vector[5], buff[LINE_LEN]; in auth_Select() local
195 while (fgets(buff, sizeof buff, fp)) { in auth_Select()
197 if (buff[0] == '#') in auth_Select()
199 buff[strlen(buff) - 1] = '\0'; in auth_Select()
201 if ((n = MakeArgs(buff, vector, VECSIZE(vector), PARSE_REDUCE)) < 0) in auth_Select()
255 char *vector[5], buff[LINE_LEN]; in auth_Validate() local
262 while (fgets(buff, sizeof buff, fp)) { in auth_Validate()
264 if (buff[0] == '#') in auth_Validate()
266 buff[strlen(buff) - 1] = 0; in auth_Validate()
268 if ((n = MakeArgs(buff, vector, VECSIZE(vector), PARSE_REDUCE)) < 0) in auth_Validate()
308 static char buff[LINE_LEN]; /* vector[] will point here when returned */ in auth_GetSecret() local
316 while (fgets(buff, sizeof buff, fp)) { in auth_GetSecret()
318 if (buff[0] == '#') in auth_GetSecret()
320 n = strlen(buff) - 1; in auth_GetSecret()
321 if (buff[n] == '\n') in auth_GetSecret()
322 buff[n] = '\0'; /* Trim the '\n' */ in auth_GetSecret()
324 if ((n = MakeArgs(buff, vector, VECSIZE(vector), PARSE_REDUCE)) < 0) in auth_GetSecret()