From ce66dca754e4e9d3ef57caf1ae61929ee7dba342 Mon Sep 17 00:00:00 2001 From: laforge Date: Sat, 2 Jun 2007 11:07:07 +0000 Subject: add missing header file git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2124 99fdad57-331a-0410-800a-d7fa5415bdb3 --- include/gsmd/machineplugin.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 include/gsmd/machineplugin.h diff --git a/include/gsmd/machineplugin.h b/include/gsmd/machineplugin.h new file mode 100644 index 0000000..aee5d65 --- /dev/null +++ b/include/gsmd/machineplugin.h @@ -0,0 +1,24 @@ +#ifndef _GSMD_MACHINEPLUG_H +#define _GSMD_MACHINEPLUG_H + +#ifdef __GSMD__ + +#include +#include + +struct gsmd; + +struct gsmd_machine_plugin { + struct llist_head list; + unsigned char *name; + int (*detect)(struct gsmd *g); + int (*init)(struct gsmd *g, int fd); +}; + +extern int gsmd_machine_plugin_register(struct gsmd_machine_plugin *pl); +extern void gsmd_machine_plugin_unregister(struct gsmd_machine_plugin *pl); +extern int gsmd_machine_plugin_find(struct gsmd *g); + +#endif /* __GSMD__ */ + +#endif -- cgit v1.2.3