AFUnixSourceDriver * afunix_sd_new_stream(gchar *filename, GlobalConfig *cfg) { AFUnixSourceDriver *self = afunix_sd_new_instance(transport_mapper_unix_stream_new(), filename, cfg); self->super.reader_options.super.init_window_size = self->super.max_connections * 100; return self; }
AFUnixSourceDriver * afunix_sd_new_dgram(gchar *filename, GlobalConfig *cfg) { return afunix_sd_new_instance(transport_mapper_unix_dgram_new(), filename, cfg); }
AFUnixSourceDriver * afunix_sd_new_dgram(gchar *filename) { return afunix_sd_new_instance(transport_mapper_unix_dgram_new(), filename); }