Deleted Added
full compact
libworker.c (249141) libworker.c (255579)
1/*
2 * libunbound/worker.c - worker thread or process that resolves
3 *
4 * Copyright (c) 2007, NLnet Labs. All rights reserved.
5 *
6 * This software is open source.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 36 unchanged lines hidden (view full) ---

45#include <ldns/dname.h>
46#include <ldns/wire2host.h>
47#ifdef HAVE_SSL
48#include <openssl/ssl.h>
49#endif
50#include "libunbound/libworker.h"
51#include "libunbound/context.h"
52#include "libunbound/unbound.h"
1/*
2 * libunbound/worker.c - worker thread or process that resolves
3 *
4 * Copyright (c) 2007, NLnet Labs. All rights reserved.
5 *
6 * This software is open source.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 36 unchanged lines hidden (view full) ---

45#include <ldns/dname.h>
46#include <ldns/wire2host.h>
47#ifdef HAVE_SSL
48#include <openssl/ssl.h>
49#endif
50#include "libunbound/libworker.h"
51#include "libunbound/context.h"
52#include "libunbound/unbound.h"
53#include "libunbound/worker.h"
53#include "services/outside_network.h"
54#include "services/mesh.h"
55#include "services/localzone.h"
56#include "services/cache/rrset.h"
57#include "services/outbound_list.h"
54#include "services/outside_network.h"
55#include "services/mesh.h"
56#include "services/localzone.h"
57#include "services/cache/rrset.h"
58#include "services/outbound_list.h"
59#include "util/fptr_wlist.h"
58#include "util/module.h"
59#include "util/regional.h"
60#include "util/random.h"
61#include "util/config_file.h"
62#include "util/netevent.h"
63#include "util/storage/lookup3.h"
64#include "util/storage/slabhash.h"
65#include "util/net_help.h"

--- 791 unchanged lines hidden (view full) ---

857 log_assert(0);
858}
859
860struct outbound_entry* worker_send_query(uint8_t* ATTR_UNUSED(qname),
861 size_t ATTR_UNUSED(qnamelen), uint16_t ATTR_UNUSED(qtype),
862 uint16_t ATTR_UNUSED(qclass), uint16_t ATTR_UNUSED(flags),
863 int ATTR_UNUSED(dnssec), int ATTR_UNUSED(want_dnssec),
864 struct sockaddr_storage* ATTR_UNUSED(addr),
60#include "util/module.h"
61#include "util/regional.h"
62#include "util/random.h"
63#include "util/config_file.h"
64#include "util/netevent.h"
65#include "util/storage/lookup3.h"
66#include "util/storage/slabhash.h"
67#include "util/net_help.h"

--- 791 unchanged lines hidden (view full) ---

859 log_assert(0);
860}
861
862struct outbound_entry* worker_send_query(uint8_t* ATTR_UNUSED(qname),
863 size_t ATTR_UNUSED(qnamelen), uint16_t ATTR_UNUSED(qtype),
864 uint16_t ATTR_UNUSED(qclass), uint16_t ATTR_UNUSED(flags),
865 int ATTR_UNUSED(dnssec), int ATTR_UNUSED(want_dnssec),
866 struct sockaddr_storage* ATTR_UNUSED(addr),
865 socklen_t ATTR_UNUSED(addrlen), struct module_qstate* ATTR_UNUSED(q))
867 socklen_t ATTR_UNUSED(addrlen), uint8_t* ATTR_UNUSED(zone),
868 size_t ATTR_UNUSED(zonelen), struct module_qstate* ATTR_UNUSED(q))
866{
867 log_assert(0);
868 return 0;
869}
870
871void
872worker_alloc_cleanup(void* ATTR_UNUSED(arg))
873{

--- 60 unchanged lines hidden ---
869{
870 log_assert(0);
871 return 0;
872}
873
874void
875worker_alloc_cleanup(void* ATTR_UNUSED(arg))
876{

--- 60 unchanged lines hidden ---