RCSID("$Id$")
#include <freeradius-devel/server/cf_file.h>
+#include <freeradius-devel/server/cf_priv.h>
#include <freeradius-devel/server/log.h>
#include <freeradius-devel/server/cond.h>
#include <freeradius-devel/server/rad_assert.h>
#include <freeradius-devel/server/util.h>
#include <freeradius-devel/util/cursor.h>
-#include <freeradius-devel/util/syserror.h>
#include <freeradius-devel/util/misc.h>
-
-#include "cf_priv.h"
+#include <freeradius-devel/util/syserror.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <freeradius-devel/server/cf_file.h>
#include <freeradius-devel/server/cf_parse.h>
+#include <freeradius-devel/server/cf_priv.h>
#include <freeradius-devel/server/log.h>
#include <freeradius-devel/server/rad_assert.h>
#include <freeradius-devel/server/tmpl.h>
#include <freeradius-devel/util/misc.h>
#include <freeradius-devel/util/types.h>
-#include "cf_priv.h"
-
-
-
static CONF_PARSER conf_term = CONF_PARSER_TERMINATOR;
static char const parse_spaces[] = " ";
#include <string.h>
-#include <freeradius-devel/server/cf_util.h>
#include <freeradius-devel/server/cf_file.h>
+#include <freeradius-devel/server/cf_priv.h>
+#include <freeradius-devel/server/cf_util.h>
#include <freeradius-devel/server/log.h>
#include <freeradius-devel/server/rad_assert.h>
-#include <freeradius-devel/util/cursor.h>
-#include "cf_priv.h"
+#include <freeradius-devel/util/cursor.h>
static inline int cf_ident2_cmp(void const *a, void const *b);
static int _cf_ident1_cmp(void const *a, void const *b);
#include <freeradius-devel/util/trie.h>
#include <freeradius-devel/util/misc.h>
-
-
#include <ctype.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <freeradius-devel/server/cond.h>
#include <freeradius-devel/server/rad_assert.h>
-
-
#include <ctype.h>
-
static fr_table_num_sorted_t const allowed_return_codes[] = {
{ "fail", 1 },
{ "handled", 1 },
*/
RCSID("$Id$")
-
+#include <freeradius-devel/server/dl_module.h>
#include <freeradius-devel/server/log.h>
#include <freeradius-devel/server/rad_assert.h>
#include <freeradius-devel/util/dl.h>
#include <freeradius-devel/util/syserror.h>
-#include "dl_module.h"
-
#include <ctype.h>
#include <unistd.h>
#include <freeradius-devel/util/misc.h>
-
-
#include <sys/stat.h>
#include <fcntl.h>
(fchmod(ef->entries[i].fd, (st.st_mode & ~S_IFMT) | permissions) < 0)) {
rad_mode_to_oct(oct_need, (st.st_mode & ~S_IFMT) | permissions);
rad_mode_to_str(str_need, (st.st_mode & ~S_IFMT) | permissions);
-
+
WARN("Failed resetting file %s permissions to %s (%s): %s",
filename, oct_need, str_need, fr_syserror(errno));
}
RCSID("$Id$")
-
+#include <freeradius-devel/server/cf_parse.h>
+#include <freeradius-devel/server/main_loop.h>
#include <freeradius-devel/server/rad_assert.h>
#include <freeradius-devel/server/state.h>
#include <freeradius-devel/server/trigger.h>
-#include <freeradius-devel/server/cf_parse.h>
#include <freeradius-devel/server/util.h>
+
#include <freeradius-devel/util/misc.h>
#include <freeradius-devel/util/syserror.h>
-#include "main_loop.h"
-
#include <signal.h>
#include <fcntl.h>
RCSID("$Id$")
#include <freeradius-devel/server/base.h>
+#include <freeradius-devel/server/map_proc_priv.h>
#include <freeradius-devel/server/rad_assert.h>
-#include "map_proc_priv.h"
static rbtree_t *map_proc_root = NULL;
#include <freeradius-devel/server/modpriv.h>
#include <freeradius-devel/server/cond.h>
#include <freeradius-devel/server/protocol.h>
+#include <freeradius-devel/server/virtual_servers.h>
#include <freeradius-devel/io/application.h>
#include <freeradius-devel/io/listen.h>
#include <freeradius-devel/unlang/base.h>
-#include "virtual_servers.h"
-
typedef struct {
char const *namespace; //!< Namespace function is registered to.
fr_virtual_server_compile_t func; //!< Function to call to compile sections.
#include <freeradius-devel/server/cond.h>
#include <freeradius-devel/server/rad_assert.h>
#include <freeradius-devel/server/regex.h>
+#include <freeradius-devel/server/xlat_priv.h>
#include <freeradius-devel/util/base64.h>
#include <freeradius-devel/util/md5.h>
#endif
#include <ctype.h>
-#include "xlat_priv.h"
static rbtree_t *xlat_root = NULL;
#include <freeradius-devel/server/rad_assert.h>
#include <freeradius-devel/server/regex.h>
#include <freeradius-devel/server/request.h>
+#include <freeradius-devel/server/xlat_priv.h>
#include <freeradius-devel/unlang/base.h>
#include <freeradius-devel/unlang/unlang_priv.h> /* Remove when everything uses new xlat API */
#include <ctype.h>
-#include "xlat_priv.h"
static bool done_init = false;
#include <freeradius-devel/server/base.h>
#include <freeradius-devel/server/rad_assert.h>
+#include <freeradius-devel/server/xlat_priv.h>
#include <freeradius-devel/io/schedule.h>
#include <ctype.h>
-#include "xlat_priv.h"
-
/** Holds instance data created by xlat_instantiate
*/
static rbtree_t *xlat_inst_tree;
#include <freeradius-devel/server/rad_assert.h>
#include <freeradius-devel/server/request.h>
#include <freeradius-devel/server/regex.h>
+#include <freeradius-devel/server/xlat_priv.h>
#include <ctype.h>
-#include "xlat_priv.h"
#undef XLAT_DEBUG
#ifdef DEBUG_XLAT
* @copyright 2013 The FreeRADIUS server project
* @copyright 2013 Arran Cudbard-Bell (a.cudbardb@freeradius.org)
*/
-#include "debug.h"
-
+#include <freeradius-devel/util/debug.h>
+#include <freeradius-devel/util/hash.h>
#include <freeradius-devel/util/misc.h>
#include <freeradius-devel/util/strerror.h>
#include <freeradius-devel/util/syserror.h>
#include <freeradius-devel/util/talloc.h>
-#include <freeradius-devel/util/hash.h>
#include <assert.h>
#include <limits.h>
#include <freeradius-devel/server/rad_assert.h>
#include <freeradius-devel/util/cursor.h>
+#include <freeradius-devel/util/dl.h>
#include <freeradius-devel/util/syserror.h>
#include <ctype.h>
# define RTLD_LOCAL (0)
#endif
-#include "dl.h"
+
/** Symbol dependent initialisation callback
*
extern "C" {
#endif
+#include <freeradius-devel/util/debug.h>
#include <freeradius-devel/build.h>
#include <freeradius-devel/missing.h>
+#include <talloc.h>
+
typedef struct fr_dlist_s fr_dlist_t;
/** Entry in a doubly linked list
*/
RCSID("$Id$")
-#include "event.h"
-
#include <freeradius-devel/util/dlist.h>
#include <freeradius-devel/util/event.h>
#include <freeradius-devel/util/heap.h>
#include <freeradius-devel/util/talloc.h>
#include <freeradius-devel/util/table.h>
#include <freeradius-devel/util/time.h>
+#include <freeradius-devel/util/token.h>
#include <sys/stat.h>
#define FR_EV_BATCH_FDS (256)
#include <string.h>
#include <talloc.h>
-#include "fifo.h"
+#include <freeradius-devel/util/fifo.h>
struct fr_fifo_t {
unsigned int num; //!< How many elements exist in the fifo.
*/
RCSID("$Id$")
-#include "fring.h"
+#include <freeradius-devel/util/fring.h>
#include <pthread.h>
*/
RCSID("$Id$")
-#include "hash.h"
-
+#include <freeradius-devel/util/hash.h>
#include <freeradius-devel/util/talloc.h>
/*
*/
RCSID("$Id$")
-#include "heap.h"
-
+#include <freeradius-devel/util/heap.h>
#include <freeradius-devel/util/strerror.h>
/*
* @author Arran Cudbard-Bell (a.cudbardb@freeradius.org)
* @copyright 2015 Arran Cudbard-Bell (a.cudbardb@freeradius.org)
*/
-#include "inet.h"
-
+#include <freeradius-devel/util/inet.h>
#include <freeradius-devel/util/misc.h>
#include <freeradius-devel/util/strerror.h>
#include <freeradius-devel/util/syserror.h>
*/
RCSID("$Id$")
-#include "log.h"
-
#include <freeradius-devel/util/debug.h>
+#include <freeradius-devel/util/log.h>
#include <freeradius-devel/util/print.h>
#include <freeradius-devel/util/strerror.h>
#include <freeradius-devel/util/syserror.h>
* FORCE MD4 TO USE OUR MD4 HEADER FILE!
* If we don't do this, it might pick up the systems broken MD4.
*/
-#include "md4.h"
+#include <freeradius-devel/util/md4.h>
fr_thread_local_setup(fr_md4_ctx_t *, md4_ctx)
* FORCE MD5 TO USE OUR MD5 HEADER FILE!
* If we don't do this, it might pick up the systems broken MD5.
*/
-#include "md5.h"
+#include <freeradius-devel/util/md5.h>
fr_thread_local_setup(fr_md5_ctx_t *, md5_ctx)
*/
RCSID("$Id$")
-#include "misc.h"
-
#include <freeradius-devel/util/debug.h>
+#include <freeradius-devel/util/misc.h>
#include <freeradius-devel/util/strerror.h>
#include <freeradius-devel/util/syserror.h>
#include <freeradius-devel/util/time.h>
* @author Arran Cudbard-Bell (a.cudbardb@freeradius.org)
* @copyright 2014-2015 Arran Cudbard-Bell (a.cudbardb@freeradius.org)
*/
-#include "net.h"
+#include <freeradius-devel/util/net.h>
/** Strings for L4 protocols
*
*/
RCSID("$Id$")
-#include "packet.h"
-
#include <freeradius-devel/util/misc.h>
+#include <freeradius-devel/util/packet.h>
#include <freeradius-devel/util/rand.h>
#include <freeradius-devel/util/talloc.h>
*/
RCSID("$Id$")
-#include <freeradius-devel/util/regex.h>
-#include <freeradius-devel/util/talloc.h>
#include <freeradius-devel/util/misc.h>
-#include <freeradius-devel/util/proto.h>
-#include <freeradius-devel/util/print.h>
#include <freeradius-devel/util/pair_cursor.h>
+#include <freeradius-devel/util/pair.h>
+#include <freeradius-devel/util/print.h>
+#include <freeradius-devel/util/proto.h>
+#include <freeradius-devel/util/regex.h>
+#include <freeradius-devel/util/talloc.h>
#include <freeradius-devel/protocol/radius/rfc2865.h>
#include <freeradius-devel/protocol/freeradius/freeradius.internal.h>
#include <ctype.h>
-#include "pair.h"
-
#ifndef NDEBUG
# define FREE_MAGIC (0xF4EEF4EE)
#endif
* @copyright 2013-2015 Arran Cudbard-Bell (a.cudbardb@freeradius.org)
* @copyright 2013-2015 The FreeRADIUS Server Project.
*/
-#include "pair_cursor.h"
-
#include <freeradius-devel/missing.h>
+#include <freeradius-devel/util/pair_cursor.h>
/** Internal function to update cursor state
*
*/
#ifdef HAVE_LIBPCAP
-#include "pcap.h"
-
#include <freeradius-devel/util/debug.h>
#include <freeradius-devel/util/net.h>
+#include <freeradius-devel/util/pair.h>
#include <freeradius-devel/util/pcap.h>
#include <freeradius-devel/util/syserror.h>
#include <freeradius-devel/util/talloc.h>
*/
RCSID("$Id$")
-#include "print.h"
-
#include <freeradius-devel/util/debug.h>
#include <freeradius-devel/util/misc.h>
#include <freeradius-devel/util/pair.h>
+#include <freeradius-devel/util/print.h>
#include <freeradius-devel/util/strerror.h>
#include <freeradius-devel/util/talloc.h>
*/
RCSID("$Id$")
-#include "rand.h"
-
+#include <freeradius-devel/util/rand.h>
#include <freeradius-devel/util/hash.h>
#include <errno.h>
*/
RCSID("$Id$")
-#include "rbtree.h"
-
#include <freeradius-devel/util/log.h>
+#include <freeradius-devel/util/rbtree.h>
#include <freeradius-devel/util/strerror.h>
#include <pthread.h>
RCSID("$Id$")
#ifdef HAVE_REGEX
-#include "regex.h"
+#include <freeradius-devel/util/regex.h>
#include <freeradius-devel/util/strerror.h>
+#include <freeradius-devel/util/talloc.h>
#include <freeradius-devel/util/thread_local.h>
#include <freeradius-devel/util/table.h>
#include <freeradius-devel/util/talloc.h>
*/
RCSID("$Id$")
-#include "sha1.h"
+#include <freeradius-devel/util/sha1.h>
#include <arpa/inet.h>
RCSID("$Id$")
-#include "snprintf.h"
+#include <freeradius-devel/util/snprintf.h>
#ifndef HAVE_VSNPRINTF
*
* @copyright 2015 The FreeRADIUS project
*/
-#include "socket.h"
#include <freeradius-devel/util/debug.h>
#include <freeradius-devel/util/misc.h>
+#include <freeradius-devel/util/socket.h>
#include <freeradius-devel/util/strerror.h>
#include <freeradius-devel/util/syserror.h>
#include <freeradius-devel/util/udpfromto.h>
*/
RCSID("$Id$")
-#include "strerror.h"
-
#include <freeradius-devel/util/cursor.h>
#include <freeradius-devel/util/print.h>
+#include <freeradius-devel/util/strerror.h>
#include <freeradius-devel/util/thread_local.h>
#include <stdbool.h>
*/
RCSID("$Id$")
-#include "struct.h"
+#include <freeradius-devel/util/struct.h>
VALUE_PAIR *fr_unknown_from_network(TALLOC_CTX *ctx, fr_dict_attr_t const *parent, uint8_t const *data, size_t data_len)
{
*/
RCSID("$Id$")
-#include "syserror.h"
-
#include <freeradius-devel/util/log.h>
#include <freeradius-devel/util/strerror.h>
+#include <freeradius-devel/util/syserror.h>
#include <freeradius-devel/util/thread_local.h>
#include <errno.h>
*/
RCSID("$Id$")
-#include "talloc.h"
-
#include <freeradius-devel/util/debug.h>
#include <freeradius-devel/util/strerror.h>
+#include <freeradius-devel/util/talloc.h>
#include <string.h>
#include <unistd.h>
*/
RCSID("$Id$")
-#include "token.h"
-
-#include <freeradius-devel/util/strerror.h>
#include <freeradius-devel/util/misc.h>
+#include <freeradius-devel/util/strerror.h>
+#include <freeradius-devel/util/token.h>
#include <ctype.h>
#include <stdio.h>
*/
RCSID("$Id$")
-#include "udp.h"
-
#include <freeradius-devel/util/log.h>
#include <freeradius-devel/util/strerror.h>
#include <freeradius-devel/util/syserror.h>
+#include <freeradius-devel/util/udp.h>
/*
* This is easier than ifdef's in the function definition.
*/
RCSID("$Id$")
-#include "value.h"
-
#include <freeradius-devel/util/ascend.h>
#include <freeradius-devel/util/cursor.h>
#include <freeradius-devel/util/misc.h>
#include <freeradius-devel/util/strerror.h>
#include <freeradius-devel/util/talloc.h>
+#include <freeradius-devel/util/value.h>
#include <assert.h>
#include <ctype.h>
*/
RCSID("$Id$")
-#include "version.h"
-
#include <freeradius-devel/util/strerror.h>
+#include <freeradius-devel/util/version.h>
static uint64_t libmagic = RADIUSD_MAGIC_NUMBER;