projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Private files saved on Unix should have mode 0600, not 0700. They're
[u/mdw/putty]
/
unix
/
unix.h
diff --git
a/unix/unix.h
b/unix/unix.h
index
faf5600
..
37649d5
100644
(file)
--- a/
unix/unix.h
+++ b/
unix/unix.h
@@
-13,13
+13,14
@@
#include "charset.h"
struct Filename {
#include "charset.h"
struct Filename {
- char
path[FILENAME_MAX]
;
+ char
*path
;
};
};
-FILE *f_open(
struct Filename
, char const *, int);
+FILE *f_open(
const struct Filename *
, char const *, int);
struct FontSpec {
struct FontSpec {
- char
name[256];
+ char
*name; /* may be "" to indicate no selected font at all */
};
};
+struct FontSpec *fontspec_new(const char *name);
typedef void *Context; /* FIXME: probably needs changing */
typedef void *Context; /* FIXME: probably needs changing */