add the prototype for the eds_module_* functions here, so modules can
authorChris Toshok <toshok@ximian.com>
Mon, 4 Oct 2004 20:38:13 +0000 (20:38 +0000)
committerChris Toshok <toshok@src.gnome.org>
Mon, 4 Oct 2004 20:38:13 +0000 (20:38 +0000)
2004-10-04  Chris Toshok  <toshok@ximian.com>

* libedataserver/e-data-server-module.h: add the prototype for the
eds_module_* functions here, so modules can include this file
instead of writing their own prototypes in module sepcific
headers.

ChangeLog
libedataserver/e-data-server-module.h

index 19426f3..105e8ae 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-10-04  Chris Toshok  <toshok@ximian.com>
+
+       * libedataserver/e-data-server-module.h: add the prototype for the
+       eds_module_* functions here, so modules can include this file
+       instead of writing their own prototypes in module sepcific
+       headers.
+
 2004-09-30  Chris Toshok  <toshok@ximian.com>
 
        * evolution-data-server.pc.in (extensiondir,privlibdir): add these
index b8887a6..7c4f53f 100644 (file)
@@ -35,6 +35,12 @@ void   e_data_server_extension_list_free     (GList *list);
  * without putting them in separate shared libraries */
 void   e_data_server_module_add_type         (GType  type);
 
+/* The following three functions should exist in modules that are
+   written to be dynamically loaded */
+void                 eds_module_initialize (GTypeModule *module);
+void                 eds_module_shutdown   (void);
+void                 eds_module_list_types (const GType **types, int *num_types);
+
 G_END_DECLS
 
 #endif /* _E_DATA_SERVER_MODULE_H */