Lines Matching defs:line
86 * blank() returns true if the line is a blank line, 0 otherwise
99 * comment() returns true if the line is a comment, 0 otherwise.
212 * matchname() parses a line of the /etc/nfssec.conf file
220 matchname(char *line, char *name, seconfig_t *secp)
222 char *tok1, *tok2; /* holds a token from the line */
225 if ((secname = gettoken(line, FALSE)) == NULL) {
226 /* bad line */
258 * matchnum() parses a line of the /etc/nfssec.conf file
266 matchnum(char *line, int num, seconfig_t *secp)
268 char *tok1, *tok2; /* holds a token from the line */
271 if ((secname = gettoken(line, FALSE)) == NULL) {
272 /* bad line */
278 /* bad line */
362 char *tok; /* holds a token from the line */
364 char line[BUFSIZ]; /* holds each line of NFSSEC_CONF */
373 while (fgets(line, BUFSIZ, fp)) {
374 if (!(blank(line) || comment(line))) {
375 if ((secname = gettoken(line, FALSE)) == NULL) {
376 /* bad line */
382 /* bad line */
708 char line[BUFSIZ]; /* holds each line of NFSSEC_CONF */
720 while (fgets(line, BUFSIZ, fp)) {
721 if (!(blank(line) || comment(line))) {
724 if (matchname(line, name, entryp)) {
730 if (matchnum(line, num, entryp)) {