projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gnetworking.h.in: move "#undef interface"
[platform/upstream/glib.git]
/
gio
/
gthreadedsocketservice.h
diff --git
a/gio/gthreadedsocketservice.h
b/gio/gthreadedsocketservice.h
index
f947090
..
6b0168f
100644
(file)
--- 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
* 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 <http://www.gnu.org/licenses/>.
*
* Authors: Ryan Lortie <desrt@desrt.ca>
* Alexander Larsson <alexl@redhat.com>
*/
*
* Authors: Ryan Lortie <desrt@desrt.ca>
* Alexander Larsson <alexl@redhat.com>
*/
+#ifndef __G_THREADED_SOCKET_SERVICE_H__
+#define __G_THREADED_SOCKET_SERVICE_H__
+
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
#error "Only <gio/gio.h> can be included directly."
#endif
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
#error "Only <gio/gio.h> can be included directly."
#endif
-#ifndef __G_THREADED_SOCKET_SERVICE_H__
-#define __G_THREADED_SOCKET_SERVICE_H__
-
#include <gio/gsocketservice.h>
G_BEGIN_DECLS
#include <gio/gsocketservice.h>
G_BEGIN_DECLS
@@
-73,7
+71,9
@@
struct _GThreadedSocketService
GThreadedSocketServicePrivate *priv;
};
GThreadedSocketServicePrivate *priv;
};
+GLIB_AVAILABLE_IN_ALL
GType g_threaded_socket_service_get_type (void);
GType g_threaded_socket_service_get_type (void);
+GLIB_AVAILABLE_IN_ALL
GSocketService * g_threaded_socket_service_new (int max_threads);
G_END_DECLS
GSocketService * g_threaded_socket_service_new (int max_threads);
G_END_DECLS