MCPcopy Create free account
hub / github.com/assaultcube/AC / resolverquery

Function resolverquery

source/src/serverbrowser.cpp:110–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void resolverquery(const char *name)
111{
112 if(resolverthreads.empty()) resolverinit();
113
114 SDL_LockMutex(resolvermutex);
115 resolverqueries.add(name);
116 SDL_CondSignal(querycond);
117 SDL_UnlockMutex(resolvermutex);
118}
119
120bool resolvercheck(const char **name, ENetAddress *address)
121{

Callers 2

loopvFunction · 0.85
refreshserversFunction · 0.85

Calls 3

resolverinitFunction · 0.85
emptyMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected