1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-12 16:47:42 -05:00

Rename most of the platform source files.

This gets rid of all those annoying 'win', 'ux' and 'gtk' prefixes
which made filenames annoying to type and to tab-complete. Also, as
with my other recent renaming sprees, I've taken the opportunity to
expand and clarify some of the names so that they're not such cryptic
abbreviations.
This commit is contained in:
Simon Tatham
2021-04-23 06:19:05 +01:00
parent d9f217323e
commit f39c51f9a7
92 changed files with 127 additions and 124 deletions

19
windows/x11.c Normal file
View File

@ -0,0 +1,19 @@
/*
* winx11.c: fetch local auth data for X forwarding.
*/
#include <ctype.h>
#include <assert.h>
#include <stdlib.h>
#include "putty.h"
#include "ssh.h"
void platform_get_x11_auth(struct X11Display *disp, Conf *conf)
{
char *xauthpath = conf_get_filename(conf, CONF_xauthfile)->path;
if (xauthpath[0])
x11_get_auth_from_authfile(disp, xauthpath);
}
const bool platform_uses_x11_unix_by_default = false;