added missing rule for v5ua plugin
[obnox/wireshark/wip.git] / plugins / README.interface
1 README.interface
2
3 When developing a plugin in the Win32 world, it is nessecary
4 to explicitly export addresses from the main process to the
5 plugin.  ethereal does have a mechanism for this, and it uses
6 the file 'plugin_api_list.c' to list declarations for everything
7 that needs to be exported.
8
9 The build process of ethereal needs this list in 5 different forms.
10
11 These are generated by a Python script and saved in the X* files
12 in this directory.
13
14 I do not have a real C parser in Python to read the input file...,
15 so I have used 'gcc -aux-info xyzzy ...' to clean up any formatting
16 preferences in the input file and create the file named 'xyzzy'
17 that contains a neatly formatted list of declarations.  This list
18 can be parsed with a regular expression to extract the required
19 info.
20
21 Use the following procedure when updateing the plugin_api_list.c file:
22
23 nmake -f Makefile.nmake xyzzy
24 nmake -f Makefile.nmake
25
26 The 'xyzzy' makefile target is the only target that depends on gcc.
27 This can be done on a Unix machine or you can use cygwin gcc.
28