mirror of
https://gitlab.xiph.org/xiph/icecast-common.git
synced 2024-11-03 04:17:20 -05:00
d0cf9fe000
Convert all tabs to 4 spaces. All code must now use 4 space indents. svn path=/trunk/avl/; revision=4492
18 lines
378 B
C
18 lines
378 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
#include "resolver.h"
|
|
|
|
int main()
|
|
{
|
|
char buff[1024];
|
|
|
|
resolver_initialize();
|
|
|
|
printf("I got %s, when looking up %s.\n", resolver_getip("bach.greenwitch.com", buff, 1024), "bach.greenwitch.com");
|
|
printf("I got %s, when looking up %s.\n", resolver_getname("207.181.249.14", buff, 1024), "207.181.249.14");
|
|
|
|
return 0;
|
|
}
|
|
|