Home
last modified time | relevance | path

Searched refs:unix_sock (Results 1 – 4 of 4) sorted by relevance

/f-stack/app/redis-5.0.5/deps/hiredis/
H A Dtest.c33 } unix_sock; member
100 c = redisConnectUnix(config.unix_sock.path); in connect()
103 redisContext *dummy_ctx = redisConnectUnix(config.unix_sock.path); in connect()
501 config.unix_sock.path = "foo"; in test_blocking_connection_timeouts()
755 .unix_sock = { in main()
776 cfg.unix_sock.path = argv[0]; in main()
802 printf("\nTesting against Unix socket connection (%s):\n", cfg.unix_sock.path); in main()
810 printf("\nTesting against inherited fd (%s):\n", cfg.unix_sock.path); in main()
H A Dhiredis.h159 } unix_sock; member
H A Dhiredis.c605 c->unix_sock.path = NULL; in redisContextInit()
629 if (c->unix_sock.path) in redisFree()
630 free(c->unix_sock.path); in redisFree()
661 return redisContextConnectUnix(c, c->unix_sock.path, c->timeout); in redisReconnect()
H A Dnet.c440 if (c->unix_sock.path != path) in redisContextConnectUnix()
441 c->unix_sock.path = strdup(path); in redisContextConnectUnix()