And distribute LICENSE and HACKING.
45 files changed:
* Copyright (c) 2011, JANET(UK)
* Copyright (c) 2010-2011, NORDUnet A/S
* All rights reserved.
* Copyright (c) 2011, JANET(UK)
* Copyright (c) 2010-2011, NORDUnet A/S
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* 2. Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* 3. Neither the name of NORDUnet A/S nor the names of the
* contributors may be used to endorse or promote products
* derived from this software without specific prior written
* permission.
* 3. Neither the name of NORDUnet A/S nor the names of the
* contributors may be used to endorse or promote products
* derived from this software without specific prior written
* permission.
* THIS SOFTWARE IS PROVIDED BY NORDUNET A/S ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* THIS SOFTWARE IS PROVIDED BY NORDUNET A/S ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+EXTRA_DIST = HACKING LICENSE
+
libradsec_la_LIBADD = radius/libradsec-radius.la
libradsec_la_LDFLAGS = -version-info 0:0:0 -export-symbols radsec.sym
libradsec_la_CFLAGS = $(AM_CFLAGS) -DHAVE_CONFIG_H -Werror # -DDEBUG -DDEBUG_LEVENT
libradsec_la_LIBADD = radius/libradsec-radius.la
libradsec_la_LDFLAGS = -version-info 0:0:0 -export-symbols radsec.sym
libradsec_la_CFLAGS = $(AM_CFLAGS) -DHAVE_CONFIG_H -Werror # -DDEBUG -DDEBUG_LEVENT
/* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
/* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
/* NOTE: This file is not in use at the moment (libradsec-0.0.1). */
/* NOTE: This file is not in use at the moment (libradsec-0.0.1). */
/* Copyright 2011 JANET(UK). All rights reserved.
/* Copyright 2011 JANET(UK). All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
#if defined HAVE_CONFIG_H
#include <config.h>
#if defined HAVE_CONFIG_H
#include <config.h>
/* Copyright 2011 NORDUnet A/S. All rights reserved.
/* Copyright 2011 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
#if defined HAVE_CONFIG_H
#include <config.h>
#if defined HAVE_CONFIG_H
#include <config.h>
/* Copyright 2011 NORDUnet A/S. All rights reserved.
/* Copyright 2011 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
ssize_t compat_send (int sockfd, const void *buf, size_t len, int flags);
ssize_t compat_recv (int sockfd, void *buf, size_t len, int flags);
ssize_t compat_send (int sockfd, const void *buf, size_t len, int flags);
ssize_t compat_recv (int sockfd, void *buf, size_t len, int flags);
/* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
/* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
#if defined HAVE_CONFIG_H
#include <config.h>
#if defined HAVE_CONFIG_H
#include <config.h>
/* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
/* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
#if defined HAVE_CONFIG_H
#include <config.h>
#if defined HAVE_CONFIG_H
#include <config.h>
/* Copyright 2011 NORDUnet A/S. All rights reserved.
/* Copyright 2011 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
int conn_user_dispatch_p (const struct rs_connection *conn);
int conn_close (struct rs_connection **connp);
int conn_user_dispatch_p (const struct rs_connection *conn);
int conn_close (struct rs_connection **connp);
/* Copyright 2011 NORDUnet A/S. All rights reserved.
/* Copyright 2011 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
#if defined HAVE_CONFIG_H
#include <config.h>
#if defined HAVE_CONFIG_H
#include <config.h>
/* Copyright 2011 NORDUnet A/S. All rights reserved.
/* Copyright 2011 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
#define hd(p, l) { int i; \
for (i = 1; i <= l; i++) { \
#define hd(p, l) { int i; \
for (i = 1; i <= l; i++) { \
/* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
/* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
#if defined HAVE_CONFIG_H
#include <config.h>
#if defined HAVE_CONFIG_H
#include <config.h>
/* Copyright 2011 NORDUnet A/S. All rights reserved.
/* Copyright 2011 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
struct rs_error *err_create (unsigned int code,
const char *file,
struct rs_error *err_create (unsigned int code,
const char *file,
/* Copyright 2011 NORDUnet A/S. All rights reserved.
/* Copyright 2011 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
#if defined HAVE_CONFIG_H
#include <config.h>
#if defined HAVE_CONFIG_H
#include <config.h>
/* Copyright 2011 NORDUnet A/S. All rights reserved.
/* Copyright 2011 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
void event_on_disconnect (struct rs_connection *conn);
int event_on_connect (struct rs_connection *conn, struct rs_packet *pkt);
void event_on_disconnect (struct rs_connection *conn);
int event_on_connect (struct rs_connection *conn, struct rs_packet *pkt);
/** @file libradsec-impl.h
@brief Libraray internal header file for libradsec. */
/** @file libradsec-impl.h
@brief Libraray internal header file for libradsec. */
-/* See the file COPYING for licensing information. */
+/* See LICENSE for licensing information. */
#ifndef _RADSEC_RADSEC_IMPL_H_
#define _RADSEC_RADSEC_IMPL_H_ 1
#ifndef _RADSEC_RADSEC_IMPL_H_
#define _RADSEC_RADSEC_IMPL_H_ 1
/** \file radsec.h
\brief Public interface for libradsec. */
/** \file radsec.h
\brief Public interface for libradsec. */
-/* See the file COPYING for licensing information. */
+/* See LICENSE for licensing information. */
#ifndef _RADSEC_RADSEC_H_
#define _RADSEC_RADSEC_H_ 1
#ifndef _RADSEC_RADSEC_H_
#define _RADSEC_RADSEC_H_ 1
-/* See the file COPYING for licensing information. */
+/* See LICENSE for licensing information. */
#ifndef _RADSEC_REQUEST_IMPL_H_
#define _RADSEC_REQUEST_IMPL_H_ 1
#ifndef _RADSEC_REQUEST_IMPL_H_
#define _RADSEC_REQUEST_IMPL_H_ 1
/** \file request.h
\brief Public interface for libradsec request's. */
/** \file request.h
\brief Public interface for libradsec request's. */
-/* See the file COPYING for licensing information. */
+/* See LICENSE for licensing information. */
#ifndef _RADSEC_REQUEST_H_
#define _RADSEC_REQUEST_H_ 1
#ifndef _RADSEC_REQUEST_H_
#define _RADSEC_REQUEST_H_ 1
/* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
/* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
#if defined HAVE_CONFIG_H
#include <config.h>
#if defined HAVE_CONFIG_H
#include <config.h>
/* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
/* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
int packet_do_send (struct rs_packet *pkt);
int packet_verify_response (struct rs_connection *conn,
int packet_do_send (struct rs_packet *pkt);
int packet_verify_response (struct rs_connection *conn,
/* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
/* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
#if defined HAVE_CONFIG_H
#include <config.h>
#if defined HAVE_CONFIG_H
#include <config.h>
/* Copyright 2011 NORDUnet A/S. All rights reserved.
/* Copyright 2011 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
struct rs_peer *peer_create (struct rs_context *ctx, struct rs_peer **rootp);
struct rs_peer *peer_pick_peer (struct rs_connection *conn);
struct rs_peer *peer_create (struct rs_context *ctx, struct rs_peer **rootp);
struct rs_peer *peer_pick_peer (struct rs_connection *conn);
/* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
/* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
#if defined HAVE_CONFIG_H
#include <config.h>
#if defined HAVE_CONFIG_H
#include <config.h>
/* Copyright 2012 NORDUnet A/S. All rights reserved.
/* Copyright 2012 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
struct rs_error *rs_resolve (struct evutil_addrinfo **addr,
rs_conn_type_t type,
struct rs_error *rs_resolve (struct evutil_addrinfo **addr,
rs_conn_type_t type,
/* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
/* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
#if defined HAVE_CONFIG_H
#include <config.h>
#if defined HAVE_CONFIG_H
#include <config.h>
/* Copyright (c) 2007-2009, UNINETT AS
* Copyright (c) 2010-2011, NORDUnet A/S */
/* Copyright (c) 2007-2009, UNINETT AS
* Copyright (c) 2010-2011, NORDUnet A/S */
-/* See COPYING for licensing information. */
+/* See LICENSE for licensing information. */
#ifndef SYS_SOLARIS9
#include <stdint.h>
#ifndef SYS_SOLARIS9
#include <stdint.h>
/* Copyright (c) 2007-2009, UNINETT AS
* Copyright (c) 2010-2011, NORDUnet A/S */
/* Copyright (c) 2007-2009, UNINETT AS
* Copyright (c) 2010-2011, NORDUnet A/S */
-/* See COPYING for licensing information. */
+/* See LICENSE for licensing information. */
#ifndef SYS_SOLARIS9
#include <stdint.h>
#ifndef SYS_SOLARIS9
#include <stdint.h>
/* Copyright (c) 2008, UNINETT AS */
/* Copyright (c) 2008, UNINETT AS */
-/* See COPYING for licensing information. */
+/* See LICENSE for licensing information. */
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
#include <string.h>
/* Copyright (c) 2008, UNINETT AS */
/* Copyright (c) 2008, UNINETT AS */
-/* See COPYING for licensing information. */
+/* See LICENSE for licensing information. */
#ifndef SYS_SOLARIS9
#include <stdint.h>
#ifndef SYS_SOLARIS9
#include <stdint.h>
/* Copyright (c) 2007-2009, UNINETT AS */
/* Copyright (c) 2007-2009, UNINETT AS */
-/* See COPYING for licensing information. */
+/* See LICENSE for licensing information. */
#if defined HAVE_CONFIG_H
#include <config.h>
#if defined HAVE_CONFIG_H
#include <config.h>
/* Copyright (c) 2007-2009, UNINETT AS */
/* Copyright (c) 2007-2009, UNINETT AS */
-/* See COPYING for licensing information. */
+/* See LICENSE for licensing information. */
#ifdef SYS_SOLARIS9
#include <sys/inttypes.h>
#ifdef SYS_SOLARIS9
#include <sys/inttypes.h>
/* Copyright (c) 2007-2009, UNINETT AS
* Copyright (c) 2010-2011, NORDUnet A/S */
/* Copyright (c) 2007-2009, UNINETT AS
* Copyright (c) 2010-2011, NORDUnet A/S */
-/* See COPYING for licensing information. */
+/* See LICENSE for licensing information. */
#if defined HAVE_CONFIG_H
#include <config.h>
#if defined HAVE_CONFIG_H
#include <config.h>
/* Copyright (c) 2007-2009, UNINETT AS */
/* Copyright (c) 2007-2009, UNINETT AS */
-/* See COPYING for licensing information. */
+/* See LICENSE for licensing information. */
#include <netinet/in.h>
#include <openssl/ssl.h>
#include <netinet/in.h>
#include <openssl/ssl.h>
/* Copyright (c) 2007-2009, UNINETT AS */
/* Copyright (c) 2007-2009, UNINETT AS */
-/* See COPYING for licensing information. */
+/* See LICENSE for licensing information. */
/* Code contributions from:
*
/* Code contributions from:
*
/* Copyright (c) 2007-2009, UNINETT AS */
/* Copyright (c) 2007-2009, UNINETT AS */
-/* See COPYING for licensing information. */
+/* See LICENSE for licensing information. */
#include <sys/socket.h>
#include <netdb.h>
#include <sys/socket.h>
#include <netdb.h>
/* Copyright 2011 NORDUnet A/S. All rights reserved.
/* Copyright 2011 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
#if defined HAVE_CONFIG_H
#include <config.h>
#if defined HAVE_CONFIG_H
#include <config.h>
/* Copyright 2011 NORDUnet A/S. All rights reserved.
/* Copyright 2011 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
#if defined HAVE_CONFIG_H
#include <config.h>
#if defined HAVE_CONFIG_H
#include <config.h>
/* Copyright 2011 NORDUnet A/S. All rights reserved.
/* Copyright 2011 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
void tcp_event_cb (struct bufferevent *bev, short events, void *user_data);
void tcp_read_cb (struct bufferevent *bev, void *user_data);
void tcp_event_cb (struct bufferevent *bev, short events, void *user_data);
void tcp_read_cb (struct bufferevent *bev, void *user_data);
/* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
/* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
#if defined HAVE_CONFIG_H
#include <config.h>
#if defined HAVE_CONFIG_H
#include <config.h>
/* Copyright 2010 NORDUnet A/S. All rights reserved.
/* Copyright 2010 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
#if defined (__cplusplus)
extern "C" {
#if defined (__cplusplus)
extern "C" {
/* Copyright 2011 NORDUnet A/S. All rights reserved.
/* Copyright 2011 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
#if defined HAVE_CONFIG_H
#include <config.h>
#if defined HAVE_CONFIG_H
#include <config.h>
/* Copyright 2011 NORDUnet A/S. All rights reserved.
/* Copyright 2011 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
int udp_init (struct rs_connection *conn, struct rs_packet *pkt);
int udp_init_retransmit_timer (struct rs_connection *conn);
int udp_init (struct rs_connection *conn, struct rs_packet *pkt);
int udp_init_retransmit_timer (struct rs_connection *conn);
/* Copyright 2012 NORDUnet A/S. All rights reserved.
/* Copyright 2012 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
#include <string.h>
#include <radsec/radsec.h>
#include <string.h>
#include <radsec/radsec.h>
/* Copyright 2012 NORDUnet A/S. All rights reserved.
/* Copyright 2012 NORDUnet A/S. All rights reserved.
- See the file COPYING for licensing information. */
+ See LICENSE for licensing information. */
char *rs_strdup (struct rs_context *ctx, const char *s);
char *rs_strdup (struct rs_context *ctx, const char *s);