Functions

sofia-sip/su_glib.h File Reference

#include <sofia-sip/su_wait.h>
#include <glib.h>
Include dependency graph for su_glib.h:

Go to the source code of this file.

Functions

su_root_tsu_glib_root_create (su_root_magic_t *))
 Create a root that uses GSource as reactor.
GSource * su_glib_root_gsource (su_root_t *)
 Returns a GSource object for the root.
void su_glib_prefer_gsource (void)
 Use su_source implementation when su_root_create() is called.

Detailed Description

Author:
Pekka Pessi <Pekka.Pessi@nokia-email.address.hidden>
Kai Vehmanen <first.surname@nokia-email.address.hidden>

Function Documentation

void su_glib_prefer_gsource ( void   ) 

Use su_source implementation when su_root_create() is called.

Since:
New in 1.12.5
GSource* su_glib_root_gsource ( su_root_t root  ) 

Returns a GSource object for the root.

Note that you need to unref the GSource with g_source_unref() before destroying the root object.

Returns:
NULL on error (for instance if root was not created with su_glib_root_create())
 All Data Structures Files Functions Variables Defines

Sofia-SIP 1.12.11 - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.