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:
Guy Harris 2010-10-12 18:25:42 +00:00
parent 2b0f6a63f1
commit f2f1023487
3 changed files with 3 additions and 3 deletions

View File

@ -873,7 +873,7 @@ get_runtime_pcap_version(GString *str)
* not and, if we have it and we have "pcap_lib_version()",
* what version we have.
*/
GModule *handle; /* handle returned by dlopen */
GModule *handle; /* handle returned by ws_module_open */
static gchar *packetVer;
gchar *blankp;

View File

@ -139,7 +139,7 @@ plugins_scan_dir(const char *dirname)
WS_DIRENT *file; /* current file */
const char *name;
gchar filename[FILENAME_LEN]; /* current file name */
GModule *handle; /* handle returned by dlopen */
GModule *handle; /* handle returned by g_module_open */
gchar *version;
gpointer gp;
void (*register_protoinfo)(void);

View File

@ -31,7 +31,7 @@
#include "packet.h"
typedef struct _plugin {
GModule *handle; /* handle returned by dlopen */
GModule *handle; /* handle returned by g_module_open */
gchar *name; /* plugin name */
gchar *version; /* plugin version */
void (*register_protoinfo)(void); /* routine to call to register protocol information */