summaryrefslogtreecommitdiffstats
path: root/src/include/socket-utils.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2001-08-30 02:00:04 +0000
committerKen Raeburn <raeburn@mit.edu>2001-08-30 02:00:04 +0000
commit1aebe259becc87d9b984183c83b9c8c48d53c025 (patch)
tree1b4176d9464a34ec83aca9fb9dfd1bfe0eceb723 /src/include/socket-utils.h
parent95372d2149fb660d49930ba5510d189ef4f159e1 (diff)
downloadkrb5-1aebe259becc87d9b984183c83b9c8c48d53c025.tar.gz
krb5-1aebe259becc87d9b984183c83b9c8c48d53c025.tar.xz
krb5-1aebe259becc87d9b984183c83b9c8c48d53c025.zip
copyright; update comments
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13691 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/socket-utils.h')
-rw-r--r--src/include/socket-utils.h49
1 files changed, 48 insertions, 1 deletions
diff --git a/src/include/socket-utils.h b/src/include/socket-utils.h
index d592f95979..eeb47eb046 100644
--- a/src/include/socket-utils.h
+++ b/src/include/socket-utils.h
@@ -1,7 +1,54 @@
+/*
+ * Copyright (C) 2001 by the Massachusetts Institute of Technology,
+ * Cambridge, MA, USA. All Rights Reserved.
+ *
+ * This software is being provided to you, the LICENSEE, by the
+ * Massachusetts Institute of Technology (M.I.T.) under the following
+ * license. By obtaining, using and/or copying this software, you agree
+ * that you have read, understood, and will comply with these terms and
+ * conditions:
+ *
+ * Export of this software from the United States of America may
+ * require a specific license from the United States Government.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify and distribute
+ * this software and its documentation for any purpose and without fee or
+ * royalty is hereby granted, provided that you agree to comply with the
+ * following copyright notice and statements, including the disclaimer, and
+ * that the same appear on ALL copies of the software and documentation,
+ * including modifications that you make for internal use or for
+ * distribution:
+ *
+ * THIS SOFTWARE IS PROVIDED "AS IS", AND M.I.T. MAKES NO REPRESENTATIONS
+ * OR WARRANTIES, EXPRESS OR IMPLIED. By way of example, but not
+ * limitation, M.I.T. MAKES NO REPRESENTATIONS OR WARRANTIES OF
+ * MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF
+ * THE LICENSED SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY
+ * PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
+ *
+ * The name of the Massachusetts Institute of Technology or M.I.T. may NOT
+ * be used in advertising or publicity pertaining to distribution of the
+ * software. Title to copyright in this software and any associated
+ * documentation shall at all times remain with M.I.T., and USER agrees to
+ * preserve same.
+ *
+ * Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ */
+
#ifndef SOCKET_UTILS_H
#define SOCKET_UTILS_H
-/* Some useful stuff cross-platform. */
+/* Some useful stuff cross-platform for manipulating socket addresses.
+ We assume at least ipv4 sockaddr_in support. The sockaddr_storage
+ stuff comes from the ipv6 socket api enhancements; socklen_t is
+ provided on some systems; the rest is just convenience for internal
+ use in the krb5 tree.
+
+ Do NOT install this file. */
/* for HAVE_SOCKLEN_T, KRB5_USE_INET6, HAVE_SA_LEN */
#include "krb5/autoconf.h"