Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qhostinfo_unix.cpp File Reference

(cf066f7d0309819bbe1a16a41457c6e4dd11b534)

#include "qhostinfo_p.h"
#include <qbytearray.h>
#include <qfile.h>
#include <qplatformdefs.h>
#include <qurl.h>
#include <sys/types.h>
#include <netdb.h>
#include <netinet/in.h>
+ Include dependency graph for qhostinfo_unix.cpp:

Go to the source code of this file.

Macros

#define _PATH_RESCONF   "/etc/resolv.conf"
 

Functions

static void maybeRefreshResolver ()
 

Macro Definition Documentation

◆ _PATH_RESCONF

#define _PATH_RESCONF   "/etc/resolv.conf"

Definition at line 22 of file qhostinfo_unix.cpp.

Referenced by QHostInfo::localDomainName(), and maybeRefreshResolver().

Function Documentation

◆ maybeRefreshResolver()

static void maybeRefreshResolver ( )
static

Definition at line 29 of file qhostinfo_unix.cpp.

References _PATH_RESCONF, and mutex.

Referenced by QHostInfoAgent::fromName(), and QHostInfo::localDomainName().

+ Here is the caller graph for this function: