Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qhostinfo_unix.cpp File Reference
#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 <resolv.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 19 of file qhostinfo_unix.cpp.

Function Documentation

◆ maybeRefreshResolver()

static void maybeRefreshResolver ( )
static

Definition at line 26 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: