Searched refs:cfg (Results 1 – 3 of 3) sorted by relevance
138 json_config_t *cfg; member196 json_config_t *cfg; in json_fetch_config() local199 if (!cfg) in json_fetch_config()202 return cfg; in json_fetch_config()363 json_config_t *cfg; in json_destroy_config() local365 cfg = lua_touserdata(l, 1); in json_destroy_config()366 if (cfg) in json_destroy_config()368 cfg = NULL; in json_destroy_config()375 json_config_t *cfg; in json_create_config() local378 cfg = lua_newuserdata(l, sizeof(*cfg)); in json_create_config()[all …]
664 struct config cfg = { in main() local684 cfg.tcp.host = argv[0]; in main()690 cfg.unix.path = argv[0]; in main()706 printf("\nTesting against TCP connection (%s:%d):\n", cfg.tcp.host, cfg.tcp.port); in main()707 cfg.type = CONN_TCP; in main()708 test_blocking_connection(cfg); in main()709 test_blocking_io_errors(cfg); in main()715 cfg.type = CONN_UNIX; in main()716 test_blocking_connection(cfg); in main()717 test_blocking_io_errors(cfg); in main()[all …]
71 set cfg [open $cfgfile w]72 puts $cfg "port $port"73 puts $cfg "dir ./$dirname"74 puts $cfg "logfile log.txt"77 puts $cfg $directive79 close $cfg