Skip to content

Provide ares_nameser.h as a public interface #415

Closed

Description

@felixonmars

Node.js has a wrapper for c-ares that depends on this header. Is it possible to provide the file as a public interface and install by default?

It is used here: https://github.com/nodejs/node/blob/master/src/cares_wrap.h

See also discussions here: nodejs/node#39739 (comment)

Activity

  1. bradh352 commented on Aug 17, 2021

    @bradh352
    Member

    sure, I don't have a problem with that, it would be a fairly minor change in c-ares. The main thing is we'd need to add a couple of new defines to ares_build.h for the HAVE_ARPA_NAMESER.H and friends, but namespace them with CARES_ to prevent clashes.

  2. added a commit that references this issue on Jul 29, 2022
    3df0204
  3. added a commit that references this issue on Jan 31, 2024
    7712fcd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions