Lines Matching refs:entry

59 static int matchEntry(const char *entry, const gss_buffer_t name,
104 char entry[MAX_ENTRY_LEN+1]; in file_getGssCredEntry() local
109 (void) snprintf(entry, sizeof (entry), in file_getGssCredEntry()
112 *errDetails = strdup(entry); in file_getGssCredEntry()
119 while (fgets(entry, MAX_ENTRY_LEN, fp) != NULL) { in file_getGssCredEntry()
122 (void) fprintf(stdout, "%s", entry); in file_getGssCredEntry()
126 if (matchEntry(entry, name, uid, NULL)) in file_getGssCredEntry()
127 (void) fprintf(stdout, "%s", entry); in file_getGssCredEntry()
148 char entry[MAX_ENTRY_LEN+1]; in file_getGssCredUid() local
155 while (fgets(entry, MAX_ENTRY_LEN, fp) != NULL) { in file_getGssCredUid()
156 if (matchEntry(entry, expName, NULL, uidOut)) { in file_getGssCredUid()
177 char entry[MAX_ENTRY_LEN+1]; in file_deleteGssCredEntry() local
186 (void) snprintf(entry, sizeof (entry), in file_deleteGssCredEntry()
190 *errDetails = strdup(entry); in file_deleteGssCredEntry()
203 (void) snprintf(entry, sizeof (entry), in file_deleteGssCredEntry()
206 *errDetails = strdup(entry); in file_deleteGssCredEntry()
214 (void) snprintf(entry, sizeof (entry), in file_deleteGssCredEntry()
218 *errDetails = strdup(entry); in file_deleteGssCredEntry()
226 while (fgets(entry, MAX_ENTRY_LEN, fp) != NULL) { in file_deleteGssCredEntry()
228 if (!matchEntry(entry, name, uid, NULL)) in file_deleteGssCredEntry()
229 (void) fputs(entry, tempFp); in file_deleteGssCredEntry()
258 static int matchEntry(const char *entry, const gss_buffer_t name, in matchEntry() argument
280 if (entry == NULL || isspace(*entry)) in matchEntry()
284 (void) strcpy(fullEntry, entry); in matchEntry()