2019-11-17 02:12:56 +00:00
|
|
|
//
|
|
|
|
// resolver.h
|
|
|
|
// Pi-Helper
|
|
|
|
//
|
|
|
|
// Created by Billy Brawner on 11/16/19.
|
|
|
|
// Copyright © 2019 William Brawner. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef resolver_h
|
|
|
|
#define resolver_h
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <resolv.h>
|
|
|
|
#include <limits.h>
|
|
|
|
#include <netdb.h>
|
|
|
|
#include <ifaddrs.h>
|
|
|
|
#include <string.h>
|
|
|
|
|
2020-01-21 01:11:55 +00:00
|
|
|
#define MAX_SERVERS 10
|
2019-11-17 02:12:56 +00:00
|
|
|
|
|
|
|
char * resolver_get_dns_server_ip(void);
|
|
|
|
char * resolver_get_device_ip(void);
|
|
|
|
|
|
|
|
#endif /* resolver_h */
|