Loading a User-Created Library

The libraries (.so and .dll files) you create must be known to Riverbed. To accomplish this, you typically include the libraries in a directory that is listed in your mod_dirs preference.

If you do not want to configure your mod_dirs in this way, use the following commands to build the event handler with debug symbols.

Note: These commands apply to the Windows platform only.

op_mko -no_env_db -mod_dirs "<op_models path>" -comp_prog "comp_msvc"
	‑comp_flags "/Z7" -m <event handler file> -type ets -m32 -gui
op_mkso -no_env_db -mod_dirs "<library path>" -bind_shobj_prog "bind_so_msvc"
	-f <object_files> -m <library_name>.gui32.i0.ets.dll
	-type ets

where:

  • <op_models path> is the path to the op_models directory
  • <library path> is the path to the ODK library directory
  • <object_files> are the files created by op_mko