Browse code

- fixed file comments - added missing defines in header files - added missing Id tags

Jan Janak authored on 03/03/2006 15:52:11
Showing 18 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 /*
2 2
  * $Id$
3 3
  *
4
- * TLS configuration file parser
4
+ * TLS module - Configuration file parser
5 5
  *
6 6
  * Copyright (C) 2001-2003 FhG FOKUS
7 7
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
... ...
@@ -1,7 +1,7 @@
1 1
 /*
2 2
  * $Id$
3 3
  *
4
- * TLS configuration file parser
4
+ * TLS module - Configuration file parser
5 5
  *
6 6
  * Copyright (C) 2001-2003 FhG FOKUS
7 7
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
... ...
@@ -1,6 +1,8 @@
1 1
 /*
2 2
  * $Id$
3 3
  *
4
+ * TLS module - virtual configuration domain support
5
+ *
4 6
  * Copyright (C) 2001-2003 FhG FOKUS
5 7
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
6 8
  * Copyright (C) 2005,2006 iptelorg GmbH
... ...
@@ -1,5 +1,7 @@
1 1
 /*
2 2
  * $Id$
3
+ *
4
+ * TLS module - virtual configuration domain support
3 5
  * 
4 6
  * Copyright (C) 2001-2003 FhG FOKUS
5 7
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
... ...
@@ -1,6 +1,8 @@
1 1
 /*
2 2
  * $Id$
3 3
  *
4
+ * TLS module - OpenSSL initialization funtions
5
+ *
4 6
  * Copyright (C) 2001-2003 FhG FOKUS
5 7
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
6 8
  * Copyright (C) 2005,2006 iptelorg GmbH
... ...
@@ -27,14 +29,11 @@
27 29
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
28 30
  */
29 31
 
30
-
31 32
 #include <stdio.h>
32 33
 #include <netinet/tcp.h>
33 34
 #include <netinet/ip.h>
34 35
 #include <unistd.h>
35
-
36 36
 #include <openssl/ssl.h>
37
-
38 37
  
39 38
 #include "../../dprint.h"
40 39
 #include "../../mem/shm_mem.h"
... ...
@@ -143,11 +142,6 @@ static void init_ssl_methods(void)
143 142
 }
144 143
 
145 144
 
146
-
147
-
148
-
149
-
150
-
151 145
 /*
152 146
  * Fix openssl compression bugs if necessary
153 147
  */
... ...
@@ -1,6 +1,8 @@
1 1
 /*
2 2
  * $Id$
3 3
  * 
4
+ * TLS module - OpenSSL initialization funtions
5
+ *
4 6
  * Copyright (C) 2001-2003 FhG FOKUS
5 7
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
6 8
  * Copyright (C) 2005,2006 iptelorg GmbH
... ...
@@ -1,7 +1,7 @@
1 1
 /*
2 2
  * $Id$
3 3
  *
4
- * TLS module interface
4
+ * TLS module - module interface
5 5
  *
6 6
  * Copyright (C) 2001-2003 FhG FOKUS
7 7
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
... ...
@@ -1,7 +1,7 @@
1 1
 /*
2 2
  * $Id$
3 3
  *
4
- * TLS module interface
4
+ * TLS module - module interface
5 5
  *
6 6
  * Copyright (C) 2001-2003 FhG FOKUS
7 7
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
... ...
@@ -1,7 +1,7 @@
1 1
 /*
2 2
  * $Id$
3 3
  *
4
- * TLS module interface
4
+ * TLS module - management interface
5 5
  *
6 6
  * Copyright (C) 2001-2003 FhG FOKUS
7 7
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
... ...
@@ -1,7 +1,7 @@
1 1
 /*
2 2
  * $Id$
3 3
  *
4
- * TLS module interface
4
+ * TLS module - management interface
5 5
  *
6 6
  * Copyright (C) 2001-2003 FhG FOKUS
7 7
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
... ...
@@ -28,7 +28,11 @@
28 28
  * along with this program; if not, write to the Free Software 
29 29
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
30 30
  */
31
+#ifndef _TLS_RPC_H
32
+#define _TLS_RPC_H
31 33
 
32 34
 #include "../../rpc.h"
33 35
 
34 36
 extern rpc_export_t tls_rpc[];
37
+
38
+#endif /* _TLS_RPC_H */
... ...
@@ -1,7 +1,7 @@
1 1
 /*
2 2
  * $Id$
3 3
  *
4
- * TLS module select interface
4
+ * TLS module - select interface
5 5
  *
6 6
  * Copyright (C) 2001-2003 FhG FOKUS
7 7
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
... ...
@@ -1,7 +1,7 @@
1 1
 /*
2 2
  * $Id$
3 3
  *
4
- * TLS module select interface
4
+ * TLS module - select interface
5 5
  *
6 6
  * Copyright (C) 2001-2003 FhG FOKUS
7 7
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
... ...
@@ -30,6 +30,7 @@
30 30
  */
31 31
 
32 32
 #ifndef _TLS_SELECT_H
33
+#define _TLS_SELECT_H
33 34
 
34 35
 #include "../../select.h"
35 36
 
... ...
@@ -1,6 +1,8 @@
1 1
 /*
2 2
  * $Id$
3 3
  *
4
+ * TLS module - main server part
5
+ * 
4 6
  * Copyright (C) 2001-2003 FhG FOKUS
5 7
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
6 8
  * Copyright (C) 2005,2006 iptelorg GmbH
... ...
@@ -37,11 +39,11 @@
37 39
 #include "../../timer.h"
38 40
 #include "../../globals.h"
39 41
 
40
-#include "tls_server.h"
41 42
 #include "tls_init.h"
42 43
 #include "tls_domain.h"
43 44
 #include "tls_util.h"
44 45
 #include "tls_mod.h"
46
+#include "tls_server.h"
45 47
 
46 48
 /* 
47 49
  * finish the ssl init (creates the SSL and set extra_data to it)
... ...
@@ -1,4 +1,8 @@
1 1
 /*
2
+ * $Id$
3
+ *
4
+ * TLS module - main server part
5
+ *
2 6
  * Copyright (C) 2001-2003 FhG FOKUS
3 7
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
4 8
  * Copyright (C) 2005,2006 iptelorg GmbH
... ...
@@ -1,7 +1,7 @@
1 1
 /*
2 2
  * $Id$
3 3
  *
4
- * TLS module select interface
4
+ * TLS module - common functions
5 5
  *
6 6
  * Copyright (C) 2001-2003 FhG FOKUS
7 7
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
... ...
@@ -1,7 +1,7 @@
1 1
 /*
2 2
  * $Id$
3 3
  *
4
- * TLS module select interface
4
+ * TLS module - common functions
5 5
  *
6 6
  * Copyright (C) 2001-2003 FhG FOKUS
7 7
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
... ...
@@ -1,7 +1,7 @@
1 1
 /*
2 2
  * $Id$
3 3
  *
4
- * TLS module select interface
4
+ * TLS module - certificate verification function
5 5
  *
6 6
  * Copyright (C) 2001-2003 FhG FOKUS
7 7
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
... ...
@@ -1,7 +1,7 @@
1 1
 /*
2 2
  * $Id$
3 3
  *
4
- * TLS module select interface
4
+ * TLS module - certificate verification function
5 5
  *
6 6
  * Copyright (C) 2001-2003 FhG FOKUS
7 7
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.