Changeset 7262f89 in mainline for uspace/srv/net/dnsres/dns_type.h


Ignore:
Timestamp:
2013-04-20T10:42:13Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
dc95342
Parents:
f1dcf6d
Message:

Construct domain names, fix some bugs. Parse answer, print resulting hostname and IP address.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/dnsres/dns_type.h

    rf1dcf6d r7262f89  
    3838
    3939#include <adt/list.h>
     40#include <inet/inet.h>
    4041#include <stdbool.h>
    4142#include <stdint.h>
     
    8081/** Unencoded DNS resource record */
    8182typedef struct {
     83        link_t msg;
    8284        /** Domain name */
    8385        char *name;
     
    9799/** Host information */
    98100typedef struct {
     101        /** Host name */
     102        char *name;
     103        /** Host address */
     104        inet_addr_t addr;
    99105} dns_host_info_t;
    100106
Note: See TracChangeset for help on using the changeset viewer.