plugins: Fill in short description field
Fill-in the short description field for plugins that was left as a FIXME in commit 3b59ce90c31df5d77ddd4d08ad13cb0f0e818117. We should add a similar field for extcap extensions and Lua scripts eventually.
This commit is contained in:
parent
90b16b4092
commit
60f1972fa3
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
function(register_plugin_files _outputfile _registertype)
|
||||
function(register_plugin_files _outputfile _registertype _blurb)
|
||||
file(RELATIVE_PATH output "${CMAKE_BINARY_DIR}" "${CMAKE_CURRENT_BINARY_DIR}/${_outputfile}")
|
||||
add_custom_command(
|
||||
OUTPUT
|
||||
|
@ -8,10 +8,12 @@ function(register_plugin_files _outputfile _registertype)
|
|||
${CMAKE_SOURCE_DIR}/tools/make-plugin-reg.py
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${_registertype}
|
||||
${_blurb}
|
||||
${ARGN}
|
||||
COMMENT "Generating ${output}"
|
||||
DEPENDS
|
||||
${ARGN}
|
||||
${CMAKE_SOURCE_DIR}/tools/make-plugin-reg.py
|
||||
VERBATIM
|
||||
)
|
||||
endfunction()
|
||||
|
|
|
@ -29,6 +29,7 @@ set_source_files_properties(
|
|||
|
||||
register_plugin_files(plugin.c
|
||||
plugin_codec
|
||||
"A-law G.711"
|
||||
${CODEC_SRC}
|
||||
)
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ set_source_files_properties(
|
|||
|
||||
register_plugin_files(plugin.c
|
||||
plugin_codec
|
||||
"G.722"
|
||||
${CODEC_SRC}
|
||||
)
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ set_source_files_properties(
|
|||
|
||||
register_plugin_files(plugin.c
|
||||
plugin_codec
|
||||
"G.726"
|
||||
${CODEC_SRC}
|
||||
)
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ set_source_files_properties(
|
|||
|
||||
register_plugin_files(plugin.c
|
||||
plugin_codec
|
||||
"G.729"
|
||||
${CODEC_SRC}
|
||||
)
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ set_source_files_properties(
|
|||
|
||||
register_plugin_files(plugin.c
|
||||
plugin_codec
|
||||
"OpenCORE Adaptive Multi Rate (AMR)"
|
||||
${CODEC_SRC}
|
||||
)
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ set_source_files_properties(
|
|||
|
||||
register_plugin_files(plugin.c
|
||||
plugin_codec
|
||||
"Internet Low Bitrate Codec (iLBC)"
|
||||
${CODEC_SRC}
|
||||
)
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ set_source_files_properties(
|
|||
|
||||
register_plugin_files(plugin.c
|
||||
plugin_codec
|
||||
"16-bit audio, mono"
|
||||
${CODEC_SRC}
|
||||
)
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ set_source_files_properties(
|
|||
|
||||
register_plugin_files(plugin.c
|
||||
plugin_codec
|
||||
"Opus audio"
|
||||
${CODEC_SRC}
|
||||
)
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ set_source_files_properties(
|
|||
|
||||
register_plugin_files(plugin.c
|
||||
plugin_codec
|
||||
"Bluetooth SBC"
|
||||
${CODEC_SRC}
|
||||
)
|
||||
|
||||
|
|
|
@ -35,6 +35,7 @@ set_source_files_properties(
|
|||
|
||||
register_plugin_files(plugin.c
|
||||
plugin
|
||||
"EtherCAT (Ethernet for Control Automation Technology) dissection"
|
||||
${DISSECTOR_SRC}
|
||||
)
|
||||
|
||||
|
|
|
@ -35,6 +35,7 @@ set_source_files_properties(
|
|||
|
||||
register_plugin_files(plugin.c
|
||||
plugin
|
||||
"Implements a bridge between Falco plugins and Wireshark"
|
||||
${DISSECTOR_SRC}
|
||||
)
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ set_source_files_properties(
|
|||
|
||||
register_plugin_files(plugin.c
|
||||
plugin
|
||||
"Gryphon automotive network tool protocol"
|
||||
${DISSECTOR_SRC}
|
||||
)
|
||||
|
||||
|
|
|
@ -31,6 +31,7 @@ set_source_files_properties(
|
|||
|
||||
register_plugin_files(plugin.c
|
||||
plugin
|
||||
"IrDA dissection"
|
||||
${DISSECTOR_SRC}
|
||||
)
|
||||
|
||||
|
|
|
@ -45,6 +45,7 @@ set_source_files_properties(
|
|||
|
||||
register_plugin_files(plugin.c
|
||||
plugin
|
||||
"Meta Analysis Tracing Engine (MATE)"
|
||||
${DISSECTOR_SRC}
|
||||
${DISSECTOR_SUPPORT_SRC}
|
||||
)
|
||||
|
|
|
@ -45,6 +45,7 @@ set_source_files_properties(
|
|||
|
||||
register_plugin_files(plugin.c
|
||||
plugin
|
||||
"OpcUa (OPC Unified Architecture) dissection"
|
||||
${DISSECTOR_SRC}
|
||||
${DISSECTOR_SUPPORT_SRC}
|
||||
)
|
||||
|
|
|
@ -53,6 +53,7 @@ set_source_files_properties(
|
|||
|
||||
register_plugin_files(plugin.c
|
||||
plugin
|
||||
"Qt demonstration plugin"
|
||||
${DISSECTOR_SRC}
|
||||
)
|
||||
|
||||
|
|
|
@ -43,6 +43,7 @@ set_source_files_properties(
|
|||
|
||||
register_plugin_files(plugin.c
|
||||
plugin
|
||||
"PROFINET dissector"
|
||||
${DISSECTOR_SRC}
|
||||
${DISSECTOR_SUPPORT_SRC}
|
||||
)
|
||||
|
|
|
@ -29,6 +29,7 @@ set_source_files_properties(
|
|||
|
||||
register_plugin_files(plugin.c
|
||||
plugin_tap
|
||||
"Statistics for ethernet frames"
|
||||
${TAP_SRC}
|
||||
)
|
||||
|
||||
|
|
|
@ -35,6 +35,7 @@ set_source_files_properties(
|
|||
|
||||
register_plugin_files(plugin.c
|
||||
plugin
|
||||
"Response time information based on the RTE model"
|
||||
${DISSECTOR_SRC}
|
||||
${DISSECTOR_SUPPORT_SRC}
|
||||
)
|
||||
|
|
|
@ -29,6 +29,7 @@ set_source_files_properties(
|
|||
|
||||
register_plugin_files(plugin.c
|
||||
plugin
|
||||
"Unified Networks IP Stimulus (UNIStim) dissection"
|
||||
${DISSECTOR_SRC}
|
||||
)
|
||||
|
||||
|
|
|
@ -75,6 +75,7 @@ set_source_files_properties(
|
|||
|
||||
register_plugin_files(plugin.c
|
||||
plugin
|
||||
"WiMax Protocol dissector"
|
||||
${DISSECTOR_SRC}
|
||||
${DISSECTOR_SUPPORT_SRC}
|
||||
)
|
||||
|
|
|
@ -33,6 +33,7 @@ set_source_files_properties(
|
|||
|
||||
register_plugin_files(plugin.c
|
||||
plugin
|
||||
"WiMAX ASN Control Plane dissection"
|
||||
${DISSECTOR_SRC}
|
||||
)
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ set_source_files_properties(
|
|||
|
||||
register_plugin_files(plugin.c
|
||||
plugin
|
||||
"WiMAX MAC PHY over Ethernet dissection"
|
||||
${DISSECTOR_SRC}
|
||||
)
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ set_source_files_properties(
|
|||
|
||||
register_plugin_files(plugin.c
|
||||
plugin_wtap
|
||||
"Add support for reading FreeBSD usbdump(8) files"
|
||||
${WIRETAP_SRC}
|
||||
)
|
||||
|
||||
|
|
|
@ -21,12 +21,11 @@ registertype = sys.argv[2]
|
|||
#
|
||||
# The third argument is the plugin short description
|
||||
#
|
||||
#plugin_blurb = sys.argv[3]
|
||||
plugin_blurb = "FIXME"
|
||||
plugin_blurb = sys.argv[3]
|
||||
#
|
||||
# All subsequent arguments are the files to scan.
|
||||
#
|
||||
files = sys.argv[3:]
|
||||
files = sys.argv[4:]
|
||||
|
||||
final_filename = "plugin.c"
|
||||
preamble = """\
|
||||
|
|
|
@ -228,6 +228,8 @@ DIAG_ON_PEDANTIC
|
|||
/* Add it to the list of plugins. */
|
||||
g_hash_table_replace(plugins_module, new_plug->name, new_plug);
|
||||
ws_info("Registered plugin: %s (%s)", new_plug->name, plugin_file);
|
||||
ws_debug("plugin '%s' meta data: version = %s, flags = 0x%"PRIu32", spdx = %s, blurb = %s",
|
||||
name, module->version, module->flags, module->spdx_id, module->blurb);
|
||||
g_free(plugin_file);
|
||||
}
|
||||
ws_dir_close(dir);
|
||||
|
|
Loading…
Reference in New Issue