Lines Matching defs:file
65 #define DEF_USER_AUTH_DIR "/tmp" /* Backup directory for User Auth file */
68 static void DefineLocal(FILE *file, Xauth *auth);
69 static void DefineSelf(int fd, FILE *file, Xauth *auth);
70 static void writeAuth(FILE *file, Xauth *auth);
76 char * authFile; /* file to store authorization in */
217 writeLocalAuth(FILE *file, Xauth *auth, const char *name)
223 DefineSelf(fd, file, auth);
226 DefineLocal(file, auth);
230 writeAddr(int family, size_t addr_length, char *addr, FILE *file, Xauth *auth)
239 writeAuth(file, auth);
243 DefineSelf(int fd, FILE *file, Xauth *auth)
298 writeAddr(family, len, addr, file, auth);
303 DefineLocal(FILE *file, Xauth *auth)
308 writeAddr(FamilyLocal, strlen(displayname), displayname, file, auth);
366 writeAuth(FILE *file, Xauth *auth)
370 if (!XauWriteAuth(file, auth)) {
536 fatalError("Could not write server authorization file. exiting");