コード例 #1
0
ファイル: test-source.c プロジェクト: Achint08/syslog-ng
static void
__stop_source(gpointer user_data)
{
  TestSource *self = (TestSource *)user_data;
  log_pipe_deinit(&self->super);
  iv_quit();
}
コード例 #2
0
ファイル: logthrdestdrv.c プロジェクト: jbfuzier/syslog-ng
static void
log_threaded_dest_driver_shutdown(gpointer data)
{
  LogThrDestDriver *self = (LogThrDestDriver *)data;
  log_threaded_dest_driver_stop_watches(self);
  iv_quit();
}
コード例 #3
0
ファイル: mainloop.c プロジェクト: Cytrian/syslog-ng
static void
main_loop_exit_finish(void)
{
  /* deinit the current configuration, as at this point we _know_ that no
   * threads are running.  This will unregister ivykis tasks and timers
   * that could fire while the configuration is being destructed */
  cfg_deinit(current_configuration);
  iv_quit();
}
コード例 #4
0
ファイル: test-source.c プロジェクト: Achint08/syslog-ng
static void
__queue(LogPipe *s, LogMessage *msg, const LogPathOptions *path_options, gpointer user_data)
{
  TestSource *self = (TestSource *)s;
  if (self->current_test_case && self->current_test_case->checker)
    {
      self->current_test_case->checker(self->current_test_case, self, msg);
    }
  else
    {
      iv_quit();
    }
  log_msg_drop(msg, path_options, AT_PROCESSED);
}
コード例 #5
0
void
stop_timer_expired(gpointer user_data)
{
  iv_quit();
}