action is all const all the time. Now to write the dns action.

This commit is contained in:
Meredith L. Patterson 2012-05-24 19:15:24 +02:00
parent 034b3a717f
commit 8959d6db07
3 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,6 @@
#include "../src/hammer.h"
#include "dns_common.h"
#include "dns.h"
#define false 0
#define true 1
@ -32,6 +33,8 @@ bool validate_dns(parse_result_t *p) {
return true;
}
const parsed_token_t* pack_dns_struct(const parse_result_t *p);
const parser_t* init_parser() {
static parser_t *dns_message = NULL;
if (dns_message)