Lines Matching defs:config
33 * Read commands from FILE (set with --config). The commands control how to
87 #define DEFAULT_CONFIG "mqttd.config"
115 static struct configurable config;
131 config.version = CONFIG_VERSION;
132 config.publish_before_suback = FALSE;
133 config.short_publish = FALSE;
134 config.excessive_remaining = FALSE;
135 config.error_connack = 0;
136 config.testnum = 0;
151 logmsg("parse config file");
157 config.version = byteval(value);
158 logmsg("version [%d] set", config.version);
162 config.publish_before_suback = TRUE;
166 config.short_publish = TRUE;
169 config.error_connack = byteval(value);
170 logmsg("error-CONNACK = %d", config.error_connack);
173 config.testnum = atoi(value);
174 logmsg("testnum = %d", config.testnum);
178 config.excessive_remaining = TRUE;
185 logmsg("No config file '%s' to read", configfile);
245 packet[3] = config.error_connack;
406 if(config.excessive_remaining) {
437 if(config.short_publish)
521 testno = config.testnum;
651 if(!config.publish_before_suback) {
661 if(config.publish_before_suback) {
777 "Read config from %s", newfd, configfile);
958 else if(!strcmp("--config", argv[arg])) {
1005 " --config [file]\n"