Skip to content
Snippets Groups Projects
Commit ed484b75 authored by Lubos Slovak's avatar Lubos Slovak
Browse files

Added headers for DDNS functions.

refs #937 @15m
parent f99f4003
No related branches found
No related tags found
No related merge requests found
......@@ -15,4 +15,32 @@
*/
#include "updates/ddns.h"
#include "updates/changesets.h"
#include "util/debug.h"
#include "packet/packet.h"
#include "util/error.h"
int knot_ddns_check_zone(const knot_zone_t *zone, knot_packet_t *query,
uint8_t *rcode)
{
return KNOT_ENOTSUP;
}
int knot_ddns_process_prereqs(knot_packet_t *query,
knot_ddns_prereq_t **prereqs, uint8_t *rcode)
{
return KNOT_ENOTSUP;
}
int knot_ddns_check_prereqs(const knot_zone_contents_t *zone,
knot_ddns_prereq_t **prereqs, uint8_t *rcode)
{
return KNOT_ENOTSUP;
}
int knot_ddns_process_update(knot_packet_t *query,
knot_changeset_t **changeset, uint8_t *rcode)
{
return KNOT_ENOTSUP;
}
......@@ -27,6 +27,26 @@
#ifndef _KNOT_DDNS_H_
#define _KNOT_DDNS_H_
#include "updates/changesets.h"
#include "zone/zone.h"
#include "packet/packet.h"
typedef struct knot_ddns_prereq_t {
} knot_ddns_prereq_t;
int knot_ddns_check_zone(const knot_zone_t *zone, knot_packet_t *query,
uint8_t *rcode);
int knot_ddns_process_prereqs(knot_packet_t *query,
knot_ddns_prereq_t **prereqs, uint8_t *rcode);
int knot_ddns_check_prereqs(const knot_zone_contents_t *zone,
knot_ddns_prereq_t **prereqs, uint8_t *rcode);
int knot_ddns_process_update(knot_packet_t *query,
knot_changeset_t **changeset, uint8_t *rcode);
#endif /* _KNOT_DDNS_H_ */
/*! @} */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment