]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - unix/unix.h
Saw uxcfg.c in half down the middle, to separate out config changes
[PuTTY.git] / unix / unix.h
index 969cdbbf55028663d8d81f45b499a7c24b72a19e..4fb5662fd59bd1ea5a4e3c701ee393312686827c 100644 (file)
@@ -60,7 +60,8 @@ long get_windowid(void *frontend);
 void *get_window(void *frontend);      /* void * to avoid depending on gtk.h */
 
 /* Things pterm.c needs from gtkdlg.c */
-int do_config_box(const char *title, Config *cfg, int midsession);
+int do_config_box(const char *title, Config *cfg,
+                 int midsession, int protcfginfo);
 void fatal_message_box(void *window, char *msg);
 void about_box(void *window);
 void *eventlogstuff_new(void);
@@ -97,6 +98,9 @@ void uxsel_input_remove(int id);
 struct controlbox;
 void unix_setup_config_box(struct controlbox *b, int midsession, void *window);
 
+/* gtkcfg.c */
+void gtk_setup_config_box(struct controlbox *b, int midsession, void *window);
+
 /*
  * In the Unix Unicode layer, DEFAULT_CODEPAGE is a special value
  * which causes mb_to_wc and wc_to_mb to call _libc_ rather than
@@ -125,7 +129,7 @@ int init_ucs(struct unicode_data *ucsdata, char *line_codepage,
 /*
  * Spare function exported directly from uxnet.c.
  */
-int sk_getxdmdata(void *sock, unsigned long *ip, int *port);
+void *sk_getxdmdata(void *sock, int *lenp);
 
 /*
  * General helpful Unix stuff: more helpful version of the FD_SET