source: trunk/ORBit2-2.14.0/linc2/include/linc/linc.h

Last change on this file was 92, checked in by cinc, 19 years ago

Orbit2 modified for use with NOM

File size: 1.3 KB
Line 
1/*
2 * linc.h: This file is part of the linc library.
3 *
4 * Authors:
5 * Elliot Lee (sopwith@redhat.com)
6 * Michael Meeks (michael@ximian.com)
7 * Mark McLouglin (mark@skynet.ie) & others
8 *
9 * Copyright 2001, Red Hat, Inc., Ximian, Inc.,
10 * Sun Microsystems, Inc.
11 */
12#ifndef _LINK_H_
13#define _LINK_H_
14
15#include <linc/linc-config.h>
16#include <linc/linc-types.h>
17#include <linc/linc-protocol.h>
18#include <linc/linc-connection.h>
19#include <linc/linc-server.h>
20#include <linc/linc-source.h>
21
22G_BEGIN_DECLS
23
24extern GMainLoop *link_loop;
25
26void link_init (gboolean thread_safe);
27void link_set_io_thread (gboolean io_in_thread);
28void link_shutdown (void);
29void link_main_iteration (gboolean block_for_reply);
30gboolean link_main_pending (void);
31void link_main_loop_run (void);
32GMainLoop *link_main_get_loop (void);
33guint link_main_idle_add (GSourceFunc function,
34 gpointer data);
35
36void link_wait (void);
37void link_signal (void);
38
39gboolean link_thread_io (void);
40gboolean link_thread_safe (void);
41
42#ifdef G_OS_WIN32
43void link_map_winsock_error_to_errno (void);
44#endif
45
46int link_pipe (int *handles); /* Creates a pipe on Unix, a TCP socket pair on Windows */
47
48G_END_DECLS
49
50#endif /* _LINK_H_ */
Note: See TracBrowser for help on using the repository browser.