Changeset f85ed4b in mainline for uspace/srv/net/dnsres/dnsres.c


Ignore:
Timestamp:
2012-08-12T17:51:26Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
08a6382
Parents:
adae30d
Message:

Fixes: initialize off, increment lsize.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/dnsres/dnsres.c

    radae30d rf85ed4b  
    3939#include "dns_msg.h"
    4040#include "dns_std.h"
     41#include "query.h"
    4142
    4243#define NAME  "dnsres"
     
    4445int main(int argc, char *argv[])
    4546{
     47        dns_host_info_t hinfo;
     48        int rc;
     49
    4650        printf("%s: DNS Resolution Service\n", NAME);
     51        rc = dns_name2host("helenos.org", &hinfo);
     52        printf("dns_name2host() -> rc = %d\n", rc);
     53
    4754        return 0;
    4855}
Note: See TracChangeset for help on using the changeset viewer.