Преглед на файлове

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

Jan Janak преди 19 години
родител
ревизия
31c1662eab

+ 1 - 1
modules/tls/tls_config.c

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * TLS configuration file parser
+ * TLS module - Configuration file parser
  *
  * Copyright (C) 2001-2003 FhG FOKUS
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.

+ 1 - 1
modules/tls/tls_config.h

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * TLS configuration file parser
+ * TLS module - Configuration file parser
  *
  * Copyright (C) 2001-2003 FhG FOKUS
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.

+ 2 - 0
modules/tls/tls_domain.c

@@ -1,6 +1,8 @@
 /*
  * $Id$
  *
+ * TLS module - virtual configuration domain support
+ *
  * Copyright (C) 2001-2003 FhG FOKUS
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
  * Copyright (C) 2005,2006 iptelorg GmbH

+ 2 - 0
modules/tls/tls_domain.h

@@ -1,5 +1,7 @@
 /*
  * $Id$
+ *
+ * TLS module - virtual configuration domain support
  * 
  * Copyright (C) 2001-2003 FhG FOKUS
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.

+ 2 - 8
modules/tls/tls_init.c

@@ -1,6 +1,8 @@
 /*
  * $Id$
  *
+ * TLS module - OpenSSL initialization funtions
+ *
  * Copyright (C) 2001-2003 FhG FOKUS
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
  * Copyright (C) 2005,2006 iptelorg GmbH
@@ -27,14 +29,11 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-
 #include <stdio.h>
 #include <netinet/tcp.h>
 #include <netinet/ip.h>
 #include <unistd.h>
-
 #include <openssl/ssl.h>
-
  
 #include "../../dprint.h"
 #include "../../mem/shm_mem.h"
@@ -143,11 +142,6 @@ static void init_ssl_methods(void)
 }
 
 
-
-
-
-
-
 /*
  * Fix openssl compression bugs if necessary
  */

+ 2 - 0
modules/tls/tls_init.h

@@ -1,6 +1,8 @@
 /*
  * $Id$
  * 
+ * TLS module - OpenSSL initialization funtions
+ *
  * Copyright (C) 2001-2003 FhG FOKUS
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
  * Copyright (C) 2005,2006 iptelorg GmbH

+ 1 - 1
modules/tls/tls_mod.c

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * TLS module interface
+ * TLS module - module interface
  *
  * Copyright (C) 2001-2003 FhG FOKUS
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.

+ 1 - 1
modules/tls/tls_mod.h

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * TLS module interface
+ * TLS module - module interface
  *
  * Copyright (C) 2001-2003 FhG FOKUS
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.

+ 1 - 1
modules/tls/tls_rpc.c

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * TLS module interface
+ * TLS module - management interface
  *
  * Copyright (C) 2001-2003 FhG FOKUS
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.

+ 5 - 1
modules/tls/tls_rpc.h

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * TLS module interface
+ * TLS module - management interface
  *
  * Copyright (C) 2001-2003 FhG FOKUS
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
@@ -28,7 +28,11 @@
  * along with this program; if not, write to the Free Software 
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
+#ifndef _TLS_RPC_H
+#define _TLS_RPC_H
 
 #include "../../rpc.h"
 
 extern rpc_export_t tls_rpc[];
+
+#endif /* _TLS_RPC_H */

+ 1 - 1
modules/tls/tls_select.c

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * TLS module select interface
+ * TLS module - select interface
  *
  * Copyright (C) 2001-2003 FhG FOKUS
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.

+ 2 - 1
modules/tls/tls_select.h

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * TLS module select interface
+ * TLS module - select interface
  *
  * Copyright (C) 2001-2003 FhG FOKUS
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
@@ -30,6 +30,7 @@
  */
 
 #ifndef _TLS_SELECT_H
+#define _TLS_SELECT_H
 
 #include "../../select.h"
 

+ 3 - 1
modules/tls/tls_server.c

@@ -1,6 +1,8 @@
 /*
  * $Id$
  *
+ * TLS module - main server part
+ * 
  * Copyright (C) 2001-2003 FhG FOKUS
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
  * Copyright (C) 2005,2006 iptelorg GmbH
@@ -37,11 +39,11 @@
 #include "../../timer.h"
 #include "../../globals.h"
 
-#include "tls_server.h"
 #include "tls_init.h"
 #include "tls_domain.h"
 #include "tls_util.h"
 #include "tls_mod.h"
+#include "tls_server.h"
 
 /* 
  * finish the ssl init (creates the SSL and set extra_data to it)

+ 4 - 0
modules/tls/tls_server.h

@@ -1,4 +1,8 @@
 /*
+ * $Id$
+ *
+ * TLS module - main server part
+ *
  * Copyright (C) 2001-2003 FhG FOKUS
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
  * Copyright (C) 2005,2006 iptelorg GmbH

+ 1 - 1
modules/tls/tls_util.c

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * TLS module select interface
+ * TLS module - common functions
  *
  * Copyright (C) 2001-2003 FhG FOKUS
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.

+ 1 - 1
modules/tls/tls_util.h

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * TLS module select interface
+ * TLS module - common functions
  *
  * Copyright (C) 2001-2003 FhG FOKUS
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.

+ 1 - 1
modules/tls/tls_verify.c

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * TLS module select interface
+ * TLS module - certificate verification function
  *
  * Copyright (C) 2001-2003 FhG FOKUS
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.

+ 1 - 1
modules/tls/tls_verify.h

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * TLS module select interface
+ * TLS module - certificate verification function
  *
  * Copyright (C) 2001-2003 FhG FOKUS
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.