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

  1. #ifndef DNS_PARSER_H_
  2. #define DNS_PARSER_H_
  3. #include <v8.h>
  4. namespace dns_parser {
  5. void Initialize(v8::Handle<v8::Object> target);
  6. v8::Local<v8::Value> parse_dns_response(const unsigned char *abuf, int alen, int *status);
  7. v8::Local<v8::Value> AresException(int status);
  8. }
  9. #endif // DNS_PARSER_H_