MCPcopy Create free account
hub / github.com/DeNA/HandlerSocket-Plugin-for-MySQL / reset

Method reset

libhsclient/auto_file.hpp:51–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 }
50 DIR *get() const { return dp; }
51 void reset(DIR *d = 0) {
52 if (dp != 0) {
53 closedir(dp);
54 }
55 dp = d;
56 }
57 private:
58 DIR *dp;
59};

Callers 3

socket_openFunction · 0.45
socket_bindFunction · 0.45
socket_acceptFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected