General Czech translation update.
[udpgate.git] / src / no-gmodule.c
1 /* $Id$
2  * Gnome user interface
3  * Copyright (C) 2004 Jan Kratochvil <project-udpgate@jankratochvil.net>
4  * 
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; exactly version 2 of June 1991 is required
8  * 
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  * 
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
18
19
20 #include "config.h"
21
22 #include <stdio.h>
23 #include <gmodule.h>
24 #include <glib/gmessages.h>
25
26
27 /* #define CAPTIVE_G_MODULE_DEBUG 1 */
28
29
30 GModule *g_module_open(const gchar *file_name,GModuleFlags flags)
31 {
32 #ifdef CAPTIVE_G_MODULE_DEBUG
33         g_message("g_module_open:%s",file_name);
34 #endif /* CAPTIVE_G_MODULE_DEBUG */
35         return NULL;
36 }
37
38 gchar *g_module_build_path(const gchar *directory,const gchar *module_name)
39 {
40 #ifdef CAPTIVE_G_MODULE_DEBUG
41         g_message("g_module_build_path:%s,%s",directory,module_name);
42 #endif /* CAPTIVE_G_MODULE_DEBUG */
43         return NULL;
44 }
45
46 gboolean g_module_close(GModule *module)
47 {
48 #ifdef CAPTIVE_G_MODULE_DEBUG
49         g_message("g_module_close:%p",module);
50 #endif /* CAPTIVE_G_MODULE_DEBUG */
51         return FALSE;   /* meaning: failure */
52 }
53
54 G_CONST_RETURN gchar *g_module_error(void)
55 {
56 #ifdef CAPTIVE_G_MODULE_DEBUG
57         g_message("g_module_error\n");
58 #endif /* CAPTIVE_G_MODULE_DEBUG */
59         return NULL;
60 }
61
62 void g_module_make_resident(GModule *module)
63 {
64 #ifdef CAPTIVE_G_MODULE_DEBUG
65         g_message("g_module_make_resident:%p",module);
66 #endif /* CAPTIVE_G_MODULE_DEBUG */
67 }
68
69 G_CONST_RETURN gchar *g_module_name(GModule *module)
70 {
71 #ifdef CAPTIVE_G_MODULE_DEBUG
72         g_message("g_module_name:%p",module);
73 #endif /* CAPTIVE_G_MODULE_DEBUG */
74         return NULL;
75 }
76
77 gboolean g_module_supported(void)
78 {
79 #ifdef CAPTIVE_G_MODULE_DEBUG
80         g_message("g_module_supported\n");
81 #endif /* CAPTIVE_G_MODULE_DEBUG */
82         return FALSE;   /* meaning: unsupported */
83 }
84
85 gboolean g_module_symbol(GModule *module,const gchar *symbol_name,gpointer *symbol)
86 {
87 #ifdef CAPTIVE_G_MODULE_DEBUG
88         g_message("g_module_symbol:%p,%s",module,symbol_name);
89 #endif /* CAPTIVE_G_MODULE_DEBUG */
90         return FALSE;   /* meaning: failure */
91 }