| 215 | } |
| 216 | |
| 217 | redisAsyncContext *redisAsyncConnectUnix(const char *path) { |
| 218 | redisOptions options = {0}; |
| 219 | REDIS_OPTIONS_SET_UNIX(&options, path); |
| 220 | return redisAsyncConnectWithOptions(&options); |
| 221 | } |
| 222 | |
| 223 | int redisAsyncSetConnectCallback(redisAsyncContext *ac, redisConnectCallback *fn) { |
| 224 | if (ac->onConnect == NULL) { |
nothing calls this directly
no test coverage detected