Changeset 3e66428 in mainline for uspace/lib/c/include/inet/dnsr.h


Ignore:
Timestamp:
2013-06-20T14:10:51Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
19a4f73
Parents:
b49d872
Message:

new network address infrastructure (towards IPv6 support)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/inet/dnsr.h

    rb49d872 r3e66428  
    3737
    3838#include <inet/inet.h>
     39#include <inet/addr2.h>
    3940
    4041enum {
     
    4647        char *cname;
    4748        /** Host address */
    48         inet_addr_t addr;
     49        inet2_addr_t addr;
    4950} dnsr_hostinfo_t;
    5051
     
    5253extern int dnsr_name2host(const char *, dnsr_hostinfo_t **);
    5354extern void dnsr_hostinfo_destroy(dnsr_hostinfo_t *);
    54 extern int dnsr_get_srvaddr(inet_addr_t *);
    55 extern int dnsr_set_srvaddr(inet_addr_t *);
     55extern int dnsr_get_srvaddr(inet2_addr_t *);
     56extern int dnsr_set_srvaddr(inet2_addr_t *);
    5657
    5758#endif
Note: See TracChangeset for help on using the changeset viewer.