Esempio n. 1
0
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;
}
Esempio n. 2
0
AFUnixSourceDriver *
afunix_sd_new_dgram(gchar *filename, GlobalConfig *cfg)
{
  return afunix_sd_new_instance(transport_mapper_unix_dgram_new(), filename, cfg);
}
Esempio n. 3
0
AFUnixSourceDriver *
afunix_sd_new_dgram(gchar *filename)
{
  return afunix_sd_new_instance(transport_mapper_unix_dgram_new(), filename);
}