main.c revision e0740628f6ca05f4bc79a9d8a90b650f4d38d4d0
c8ab19d28fde5eda3b2daab4b1124887681fedf9Neil Madden/* Copyright (C) 2005-2009 Dovecot authors, see the included COPYING file */
c8ab19d28fde5eda3b2daab4b1124887681fedf9Neil Maddenstatic void client_connected(const struct master_service_connection *conn)
965c9c7794176a6815b197f53aa146a29e181b99Neil Madden master_service = master_service_init("config", 0, argc, argv);
965c9c7794176a6815b197f53aa146a29e181b99Neil Madden while ((c = getopt(argc, argv, master_service_getopt_string())) > 0) {
c8ab19d28fde5eda3b2daab4b1124887681fedf9Neil Madden if (!master_service_parse_option(master_service, c, optarg))
c8ab19d28fde5eda3b2daab4b1124887681fedf9Neil Madden master_service_init_log(master_service, "config: ");
c8ab19d28fde5eda3b2daab4b1124887681fedf9Neil Madden path = master_service_get_config_path(master_service);