Lines Matching defs:proxyFile
204 WriteProxyFileEntry(FILE *proxyFile, WinInfo *theWindow)
206 if (!write_counted_string (proxyFile, theWindow->client_id))
208 if (!write_counted_string (proxyFile, theWindow->class.res_name))
210 if (!write_counted_string (proxyFile, theWindow->class.res_class))
212 if (!write_counted_string (proxyFile, theWindow->wm_name))
217 if (!write_byte (proxyFile, 0))
222 if (!write_byte (proxyFile, (char) theWindow->wm_command_count))
225 if (!write_counted_string (proxyFile, theWindow->wm_command[i]))
234 ReadProxyFileEntry(FILE *proxyFile, ProxyFileEntry **pentry)
252 if (!read_counted_string (proxyFile, &entry->client_id))
254 if (!read_counted_string (proxyFile, &entry->class.res_name))
256 if (!read_counted_string (proxyFile, &entry->class.res_class))
258 if (!read_counted_string (proxyFile, &entry->wm_name))
261 if (!read_byte (proxyFile, &byte))
275 if (!read_counted_string (proxyFile, &entry->wm_command[i]))
312 FILE *proxyFile;
317 proxyFile = fopen (filename, "rb");
318 if (!proxyFile)
321 if (!read_short (proxyFile, &version) ||
329 if (ReadProxyFileEntry (proxyFile, &entry))
338 fclose (proxyFile);
386 FILE *proxyFile = NULL;
404 if (!(proxyFile = fdopen(fd, "wb")))
407 if (!write_short (proxyFile, SAVEFILE_VERSION))
416 if (!WriteProxyFileEntry (proxyFile, winptr))
427 if (proxyFile)
428 fclose (proxyFile);