sofia-sip/su-glib  1.12.11devel
su_glib.h
Go to the documentation of this file.
1 /*
2  * This file is part of the Sofia-SIP package
3  *
4  * Copyright (C) 2006 Nokia Corporation.
5  *
6  * Contact: Pekka Pessi <pekka.pessi@nokia-email.address.hidden>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public License
10  * as published by the Free Software Foundation; either version 2.1 of
11  * the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
21  * 02110-1301 USA
22  *
23  */
24 
25 #ifndef SU_GLIB_SOURCE_H
26 #define SU_GLIB_SOURCE_H
27 
35 #ifndef SU_WAIT_H
36 #include <sofia-sip/su_wait.h>
37 #endif
38 #ifndef __GLIB_H__
39 #include <glib.h>
40 #endif
41 
42 SOFIA_BEGIN_DECLS
43 
44 SOFIAPUBFUN su_root_t *su_glib_root_create(su_root_magic_t *) __attribute__((__malloc__));
47 
48 SOFIA_END_DECLS
49 
50 #endif /* !defined SU_GLIB_SOURCE_H */
#define SOFIAPUBFUN
void su_glib_prefer_gsource(void)
Use su_source implementation when su_root_create() is called.
Definition: su_source.c:1118
su_root_t * su_glib_root_create(su_root_magic_t *))
Create a root that uses GSource as reactor.
Definition: su_source.c:247
GSource * su_glib_root_gsource(su_root_t *)
Returns a GSource object for the root.
Definition: su_source.c:267
struct su_root_t su_root_t
SU_ROOT_MAGIC_T su_root_magic_t

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