"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/main/unittest.c" between
freeradius-server-3.0.22.tar.bz2 and freeradius-server-3.0.23.tar.bz2

About: FreeRADIUS Server Project - a high performance and highly configurable RADIUS server.

unittest.c  (freeradius-server-3.0.22.tar.bz2):unittest.c  (freeradius-server-3.0.23.tar.bz2)
/* /*
* unittest.c Unit test wrapper for the RADIUS daemon. * unittest.c Unit test wrapper for the RADIUS daemon.
* *
* Version: $Id: 7ae605c516824911e0358f3fb537b335167958a9 $ * Version: $Id: 3e0a8728bb789f9a46c51cdb820eebfc692895f5 $
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* *
* Copyright 2000-2013 The FreeRADIUS server project * Copyright 2000-2013 The FreeRADIUS server project
* Copyright 2013 Alan DeKok <aland@ox.org> * Copyright 2013 Alan DeKok <aland@ox.org>
*/ */
RCSID("$Id: 7ae605c516824911e0358f3fb537b335167958a9 $") RCSID("$Id: 3e0a8728bb789f9a46c51cdb820eebfc692895f5 $")
#include <freeradius-devel/radiusd.h> #include <freeradius-devel/radiusd.h>
#include <freeradius-devel/modules.h> #include <freeradius-devel/modules.h>
#include <freeradius-devel/state.h> #include <freeradius-devel/state.h>
#include <freeradius-devel/rad_assert.h> #include <freeradius-devel/rad_assert.h>
#ifdef HAVE_GETOPT_H #ifdef HAVE_GETOPT_H
# include <getopt.h> # include <getopt.h>
#endif #endif
skipping to change at line 67 skipping to change at line 67
/* /*
* Static functions. * Static functions.
*/ */
static void usage(int); static void usage(int);
void listen_free(UNUSED rad_listen_t **head) void listen_free(UNUSED rad_listen_t **head)
{ {
/* do nothing */ /* do nothing */
} }
void request_inject(UNUSED REQUEST *request)
{
/* do nothing */
}
static rad_listen_t *listen_alloc(void *ctx) static rad_listen_t *listen_alloc(void *ctx)
{ {
rad_listen_t *this; rad_listen_t *this;
this = talloc_zero(ctx, rad_listen_t); this = talloc_zero(ctx, rad_listen_t);
if (!this) return NULL; if (!this) return NULL;
this->type = RAD_LISTEN_AUTH; this->type = RAD_LISTEN_AUTH;
this->recv = NULL; this->recv = NULL;
this->send = NULL; this->send = NULL;
 End of changes. 3 change blocks. 
2 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)