/[dynamips]/trunk/plugin.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/plugin.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12 - (hide annotations)
Sat Oct 6 16:45:40 2007 UTC (16 years, 5 months ago) by dpavlin
File MIME type: text/plain
File size: 438 byte(s)
make working copy

1 dpavlin 11 /*
2     * Cisco router simulation platform.
3     * Copyright (c) 2007 Christophe Fillot (cf@utc.fr)
4     *
5     * Plugins.
6     */
7    
8     #ifndef __PLUGIN_H__
9     #define __PLUGIN_H__
10    
11     struct plugin {
12     char *filename;
13     void *dl_handle;
14     struct plugin *next;
15     };
16    
17     typedef int (*plugin_init_t)(void);
18    
19     /* Find a symbol address */
20     void *plugin_find_symbol(struct plugin *plugin,char *symbol);
21    
22     /* Load a plugin */
23     struct plugin *plugin_load(char *filename);
24    
25     #endif

  ViewVC Help
Powered by ViewVC 1.1.26