示例#1
0
文件: bus.c 项目: kobolabs/dbus
static void
remove_server_timeout (DBusTimeout *timeout,
                       void        *data)
{
  DBusServer *server = data;
  BusContext *context;

  context = server_get_context (server);

  _dbus_loop_remove_timeout (context->loop, timeout);
}
示例#2
0
文件: bus.c 项目: kobolabs/dbus
static dbus_bool_t
add_server_timeout (DBusTimeout *timeout,
                    void        *data)
{
  DBusServer *server = data;
  BusContext *context;

  context = server_get_context (server);

  return _dbus_loop_add_timeout (context->loop, timeout);
}
示例#3
0
文件: bus.c 项目: kobolabs/dbus
static dbus_bool_t
add_server_watch (DBusWatch  *watch,
                  void       *data)
{
  DBusServer *server = data;
  BusContext *context;

  context = server_get_context (server);

  return _dbus_loop_add_watch (context->loop, watch);
}
示例#4
0
文件: bus.c 项目: kobolabs/dbus
static void
toggle_server_watch (DBusWatch  *watch,
                     void       *data)
{
  DBusServer *server = data;
  BusContext *context;

  context = server_get_context (server);

  _dbus_loop_toggle_watch (context->loop, watch);
}
示例#5
0
文件: bus.c 项目: scottt/dbus-vmci
static void
remove_server_watch (DBusWatch  *watch,
                     void       *data)
{
    DBusServer *server = data;
    BusContext *context;

    context = server_get_context (server);

    _dbus_loop_remove_watch (context->loop,
                             watch, server_watch_callback, server);
}