X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgsocketservice.h;h=ec391d1bc2d3433603b5bb5edd3b83c0a249da4f;hb=ffe286e647ce9ba9bb8e1631ba3cf0194038f438;hp=27cc0a2620dea85581058eafeda17f79e04084b6;hpb=d85b722734a6fcfe94032f6113de9e5c190fd7c3;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gsocketservice.h b/gio/gsocketservice.h index 27cc0a2..ec391d1 100644 --- a/gio/gsocketservice.h +++ b/gio/gsocketservice.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_SOCKET_SERVICE_H__ +#define __G_SOCKET_SERVICE_H__ + #if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) #error "Only can be included directly." #endif -#ifndef __G_SOCKET_SERVICE_H__ -#define __G_SOCKET_SERVICE_H__ - #include G_BEGIN_DECLS @@ -75,11 +73,16 @@ struct _GSocketService GSocketServicePrivate *priv; }; +GLIB_AVAILABLE_IN_ALL GType g_socket_service_get_type (void); +GLIB_AVAILABLE_IN_ALL GSocketService *g_socket_service_new (void); +GLIB_AVAILABLE_IN_ALL void g_socket_service_start (GSocketService *service); +GLIB_AVAILABLE_IN_ALL void g_socket_service_stop (GSocketService *service); +GLIB_AVAILABLE_IN_ALL gboolean g_socket_service_is_active (GSocketService *service);