I'm sick of all those #ifdefs in settings.c, and in any case plink
[u/mdw/putty] / putty.h
diff --git a/putty.h b/putty.h
index 93fef20..c4e6d98 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -482,6 +482,18 @@ void do_defaults(char *, Config *);
 void registry_cleanup(void);
 
 /*
+ * Functions used by settings.c to provide platform-specific
+ * default settings.
+ * 
+ * (The integer one is expected to return `def' if it has no clear
+ * opinion of its own. This is because there's no integer value
+ * which I can reliably set aside to indicate `nil'. The string
+ * function is perfectly all right returning NULL, of course.)
+ */
+char *platform_default_s(char *name);
+int platform_default_i(char *name, int def);
+
+/*
  * Exports from terminal.c.
  */