You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
302 B

12 years ago
#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_