Blob Blame Raw
#ifndef DNS_PARSER_H_
#define DNS_PARSER_H_

#include <v8.h>

namespace dns_parser {

void Initialize(v8::Handle<v8::Object> target);

v8::Local<v8::Value> parse_dns_response(const unsigned char *abuf, int alen, int *status);
v8::Local<v8::Value> AresException(int status);

}
#endif  // DNS_PARSER_H_