forked from osmocom/wireshark
Fix comments (not all platforms on which we run support dlopen(), but
GLib handles that with g_module_open() as a platform-independent "load a module at run time" wrapper). svn path=/trunk/; revision=34491
This commit is contained in:
parent
2b0f6a63f1
commit
f2f1023487
|
@ -873,7 +873,7 @@ get_runtime_pcap_version(GString *str)
|
||||||
* not and, if we have it and we have "pcap_lib_version()",
|
* not and, if we have it and we have "pcap_lib_version()",
|
||||||
* what version we have.
|
* what version we have.
|
||||||
*/
|
*/
|
||||||
GModule *handle; /* handle returned by dlopen */
|
GModule *handle; /* handle returned by ws_module_open */
|
||||||
static gchar *packetVer;
|
static gchar *packetVer;
|
||||||
gchar *blankp;
|
gchar *blankp;
|
||||||
|
|
||||||
|
|
|
@ -139,7 +139,7 @@ plugins_scan_dir(const char *dirname)
|
||||||
WS_DIRENT *file; /* current file */
|
WS_DIRENT *file; /* current file */
|
||||||
const char *name;
|
const char *name;
|
||||||
gchar filename[FILENAME_LEN]; /* current file name */
|
gchar filename[FILENAME_LEN]; /* current file name */
|
||||||
GModule *handle; /* handle returned by dlopen */
|
GModule *handle; /* handle returned by g_module_open */
|
||||||
gchar *version;
|
gchar *version;
|
||||||
gpointer gp;
|
gpointer gp;
|
||||||
void (*register_protoinfo)(void);
|
void (*register_protoinfo)(void);
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
#include "packet.h"
|
#include "packet.h"
|
||||||
|
|
||||||
typedef struct _plugin {
|
typedef struct _plugin {
|
||||||
GModule *handle; /* handle returned by dlopen */
|
GModule *handle; /* handle returned by g_module_open */
|
||||||
gchar *name; /* plugin name */
|
gchar *name; /* plugin name */
|
||||||
gchar *version; /* plugin version */
|
gchar *version; /* plugin version */
|
||||||
void (*register_protoinfo)(void); /* routine to call to register protocol information */
|
void (*register_protoinfo)(void); /* routine to call to register protocol information */
|
||||||
|
|
Loading…
Reference in New Issue