-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
windows: added back windows related putty files
References: jira SCB-8086
- Loading branch information
Showing
2 changed files
with
1,293 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#ifndef PUTTY_WINSTUFF_H | ||
#define PUTTY_WINSTUFF_H | ||
|
||
#include <windows.h> | ||
#include <stdio.h> /* for FILENAME_MAX */ | ||
|
||
#include "charset.h" | ||
|
||
struct Filename { | ||
char path[FILENAME_MAX]; | ||
}; | ||
|
||
struct FontSpec { | ||
char name[64]; | ||
int isbold; | ||
int height; | ||
int charset; | ||
}; | ||
|
||
typedef void *Context; /* FIXME: probably needs changing */ | ||
|
||
#define SEL_NL { 13, 10 } | ||
|
||
#define TICKSPERSEC 1000 /* GetTickCount returns milliseconds */ | ||
#define CURSORBLINK GetCaretBlinkTime() | ||
#define DEFAULT_CODEPAGE CP_ACP | ||
|
||
#define GETTICKCOUNT GetTickCount | ||
|
||
/* | ||
* Exports from unicode.c. | ||
*/ | ||
struct unicode_data; | ||
int init_ucs(struct unicode_data *ucsdata, const char *line_codepage, | ||
int utf8_override, int font_charset, int vtmode); | ||
|
||
#endif |
Oops, something went wrong.