And just to prove that psftp.c really is now platform-independent
[u/mdw/putty] / psftp.h
diff --git a/psftp.h b/psftp.h
index 092d10a..30fbd88 100644 (file)
--- a/psftp.h
+++ b/psftp.h
@@ -25,4 +25,10 @@ char *psftp_lcd(char *newdir);
  */\r
 int ssh_sftp_loop_iteration(void);\r
 \r
+/*\r
+ * The main program in psftp.c. Called from main() in the platform-\r
+ * specific code, after doing any platform-specific initialisation.\r
+ */\r
+int psftp_main(int argc, char *argv[]);\r
+\r
 #endif /* PUTTY_PSFTP_H */\r