Permalink
Browse files

Sprinkle some header comments in various files in an attempt to expla…

…in what

they're for.


git-svn-id: svn://svn.tartarus.org/sgt/putty@6639 cda61777-01e9-0310-a592-d414129be87e
  • Loading branch information...
1 parent 2e06dc9 commit eaf1e20af0294d79a176d2ac3b35fd4143163051 jacob committed Apr 23, 2006
Showing with 71 additions and 1 deletion.
  1. +5 −0 cmdline.c
  2. +4 −0 logging.c
  3. +4 −0 misc.h
  4. +4 −0 portfwd.c
  5. +4 −0 puttyps.h
  6. +4 −0 raw.c
  7. +4 −0 rlogin.c
  8. +4 −0 ssh.c
  9. +4 −0 sshdh.c
  10. +4 −0 sshdss.c
  11. +4 −0 telnet.c
  12. +4 −0 terminal.c
  13. +4 −0 windows/sizetip.c
  14. +4 −0 windows/win_res.h
  15. +1 −1 windows/wincons.c
  16. +4 −0 windows/windlg.c
  17. +5 −0 windows/window.c
  18. +4 −0 windows/wintime.c
View
@@ -1,3 +1,8 @@
+/*
+ * cmdline.c - command-line parsing shared between many of the
+ * PuTTY applications
+ */
+
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
View
@@ -1,3 +1,7 @@
+/*
+ * Session logging.
+ */
+
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
View
4 misc.h
@@ -1,3 +1,7 @@
+/*
+ * Header for misc.c.
+ */
+
#ifndef PUTTY_MISC_H
#define PUTTY_MISC_H
View
@@ -1,3 +1,7 @@
+/*
+ * SSH port forwarding.
+ */
+
#include <stdio.h>
#include <stdlib.h>
View
@@ -1,3 +1,7 @@
+/*
+ * Find the platform-specific header for this platform.
+ */
+
#ifndef PUTTY_PUTTYPS_H
#define PUTTY_PUTTYPS_H
View
4 raw.c
@@ -1,3 +1,7 @@
+/*
+ * "Raw" backend.
+ */
+
#include <stdio.h>
#include <stdlib.h>
View
@@ -1,3 +1,7 @@
+/*
+ * Rlogin backend.
+ */
+
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
View
4 ssh.c
@@ -1,3 +1,7 @@
+/*
+ * SSH backend.
+ */
+
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
View
@@ -1,3 +1,7 @@
+/*
+ * Diffie-Hellman implementation for PuTTY.
+ */
+
#include "ssh.h"
/*
View
@@ -1,3 +1,7 @@
+/*
+ * Digital Signature Standard implementation for PuTTY.
+ */
+
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
View
@@ -1,3 +1,7 @@
+/*
+ * Telnet backend.
+ */
+
#include <stdio.h>
#include <stdlib.h>
View
@@ -1,3 +1,7 @@
+/*
+ * Terminal emulator.
+ */
+
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
View
@@ -1,3 +1,7 @@
+/*
+ * sizetip.c - resize tips for PuTTY(tel) terminal window.
+ */
+
#include <stdio.h>
#include <stdlib.h>
#include <tchar.h>
View
@@ -1,3 +1,7 @@
+/*
+ * win_res.h - constants shared between win_res.rc2 and the C code.
+ */
+
#ifndef PUTTY_WIN_RES_H
#define PUTTY_WIN_RES_H
View
@@ -1,5 +1,5 @@
/*
- * console.c: various interactive-prompt routines shared between
+ * wincons.c - various interactive-prompt routines shared between
* the Windows console PuTTY tools
*/
View
@@ -1,3 +1,7 @@
+/*
+ * windlg.c - dialogs for PuTTY(tel), including the configuration dialog.
+ */
+
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
View
@@ -1,3 +1,8 @@
+/*
+ * window.c - the PuTTY(tel) main program, which runs a PuTTY terminal
+ * emulator and backend in a window.
+ */
+
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
View
@@ -1,3 +1,7 @@
+/*
+ * wintime.c - Avoid trouble with time() returning (time_t)-1 on Windows.
+ */
+
#include "putty.h"
#include <time.h>

0 comments on commit eaf1e20

Please sign in to comment.