Lumiera  0.pre.03
»edit your freedom«
example-plugin.c File Reference

Go to the source code of this file.

Description

Dummy C plug-in to cover the plugin loader for unit test This file defines a Lumiera plug-in written in plain C, implementing the lumieraorg_testhello interface.

See also
test-interfaces.c

Definition in file example-plugin.c.

#include <stdio.h>
#include "common/interface-descriptor.h"
#include "common/config-interface.h"
#include "interface/say-hello.h"

Functions

void bye (const char *m)
 
void hallo (void)
 
void hello (void)
 
 LUMIERA_INTERFACE_INSTANCE (lumieraorg_interfacedescriptor, 0, lumieraorg_exampleplugin_descriptor, NULL, NULL, NULL, LUMIERA_INTERFACE_INLINE(name, const char *,(LumieraInterface iface), {(void) iface;return "LumieraTest";}), LUMIERA_INTERFACE_INLINE(brief, const char *,(LumieraInterface iface), {(void) iface;return "Lumiera Test suite examples";}), LUMIERA_INTERFACE_INLINE(homepage, const char *,(LumieraInterface iface), {(void) iface;return "http://www.lumiera.org/develompent.html";}), LUMIERA_INTERFACE_INLINE(version, const char *,(LumieraInterface iface), {(void) iface;return "No Version";}), LUMIERA_INTERFACE_INLINE(author, const char *,(LumieraInterface iface), {(void) iface;return "Christian Thaeter";}), LUMIERA_INTERFACE_INLINE(email, const char *,(LumieraInterface iface), {(void) iface;return "ct@pipapo.org";}), LUMIERA_INTERFACE_INLINE(copyright, const char *,(LumieraInterface iface), {(void) iface;return "Copyright (C) Lumiera.org\ " 2008 Christian Thaeter< ct @pipapo.org >"; }), LUMIERA_INTERFACE_INLINE(license, const char *,(LumieraInterface iface), {(void) iface; return "This program is free software;you can redistribute it and/or modify\" "it under the terms of the GNU General Public License as published by\" "the Free Software Foundation;either version 2 of the License, or\" "(at your option) any later version.\" "\" "This program is distributed in the hope that it will be useful,\" "but WITHOUT ANY WARRANTY;without even the implied warranty of\" "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\" "GNU General Public License for more details.\" "\" "You should have received a copy of the GNU General Public License\" "along with this program;if not, write to the Free Software\" "Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA"; }), LUMIERA_INTERFACE_INLINE(state, int,(LumieraInterface iface), {(void) iface;return LUMIERA_INTERFACE_EXPERIMENTAL;}), LUMIERA_INTERFACE_INLINE(versioncmp, int,(const char *a, const char *b), {(void) a;(void) b; return 0;}))
 
void myclose (LumieraInterface self)
 
LumieraInterface myopen (LumieraInterface self, LumieraInterface interfaces)
 
void tschuess (const char *m)
 
void yeahbabe (void)
 

Variables

 LUMIERA_PLUGIN_INTERFACEHANDLE