X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgthreadedsocketservice.h;h=6b0168f8269c553efe55d8383926754a8747ee35;hb=356a3987cee7ceddcb3fe623edf0bd2881895add;hp=f9470907e45f167be9145b0a10f90e0e7200725c;hpb=45a1c41e8cfdeb4edeb7a671b95e599a49c6c281;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gthreadedsocketservice.h b/gio/gthreadedsocketservice.h index f947090..6b0168f 100644 --- a/gio/gthreadedsocketservice.h +++ b/gio/gthreadedsocketservice.h @@ -14,21 +14,19 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General - * Public License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. + * Public License along with this library; if not, see . * * Authors: Ryan Lortie * Alexander Larsson */ +#ifndef __G_THREADED_SOCKET_SERVICE_H__ +#define __G_THREADED_SOCKET_SERVICE_H__ + #if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) #error "Only can be included directly." #endif -#ifndef __G_THREADED_SOCKET_SERVICE_H__ -#define __G_THREADED_SOCKET_SERVICE_H__ - #include G_BEGIN_DECLS @@ -73,7 +71,9 @@ struct _GThreadedSocketService GThreadedSocketServicePrivate *priv; }; +GLIB_AVAILABLE_IN_ALL GType g_threaded_socket_service_get_type (void); +GLIB_AVAILABLE_IN_ALL GSocketService * g_threaded_socket_service_new (int max_threads); G_END_DECLS