Commit 11de9fbd authored by Michael Graff's avatar Michael Graff
Browse files

split into seperate files.

parent f85f9cb0
......@@ -36,9 +36,11 @@ LIBS = ${DEPLIBS} \
TARGETS = lwresd
OBJS = main.@O@ client.@O@ process.@O@
OBJS = main.@O@ client.@O@ \
process_gabn.@O@ process_gnba.@O@ process_noop.@O@
SRCS = main.c client.c process.c
SRCS = main.c client.c \
process_gabn.c process_gnba.c process_noop.c
@BIND9_MAKE_RULES@
......
......@@ -137,23 +137,3 @@ process_gabn(client_t *client, lwres_buffer_t *b, lwres_lwpacket_t *pkt)
return (result);
}
isc_result_t
process_gnba(client_t *client, lwres_buffer_t *b, lwres_lwpacket_t *pkt)
{
lwres_lwpacket_t rpkt;
lwres_gnbarequest_t *req;
lwres_gnbaresponse_t resp;
return (ISC_R_NOTIMPLEMENTED);
}
isc_result_t
process_noop(client_t *client, lwres_buffer_t *b, lwres_lwpacket_t *pkt)
{
lwres_lwpacket_t rpkt;
lwres_nooprequest_t *req;
lwres_noopresponse_t resp;
return (ISC_R_NOTIMPLEMENTED);
}
/*
* Copyright (C) 1999 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
* ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
* CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
* ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
* SOFTWARE.
*/
#include <config.h>
#include <sys/types.h>
#include <isc/assertions.h>
#include <isc/mem.h>
#include <isc/result.h>
#include <isc/sockaddr.h>
#include <isc/socket.h>
#include <isc/task.h>
#include <isc/util.h>
#include <dns/fixedname.h>
#include <lwres/lwres.h>
#include "client.h"
isc_result_t
process_gnba(client_t *client, lwres_buffer_t *b, lwres_lwpacket_t *pkt)
{
lwres_lwpacket_t rpkt;
lwres_gnbarequest_t *req;
lwres_gnbaresponse_t resp;
return (ISC_R_NOTIMPLEMENTED);
}
/*
* Copyright (C) 1999 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
* ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
* CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
* ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
* SOFTWARE.
*/
#include <config.h>
#include <sys/types.h>
#include <isc/assertions.h>
#include <isc/mem.h>
#include <isc/result.h>
#include <isc/sockaddr.h>
#include <isc/socket.h>
#include <isc/task.h>
#include <isc/util.h>
#include <dns/fixedname.h>
#include <lwres/lwres.h>
#include "client.h"
isc_result_t
process_noop(client_t *client, lwres_buffer_t *b, lwres_lwpacket_t *pkt)
{
lwres_lwpacket_t rpkt;
lwres_nooprequest_t *req;
lwres_noopresponse_t resp;
return (ISC_R_NOTIMPLEMENTED);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment