# Makefile.am
# Automake file for Ethereal
#
-# $Id: Makefile.am,v 1.621 2003/09/03 22:26:37 guy Exp $
+# $Id: Makefile.am,v 1.622 2003/09/05 07:44:44 jmayer Exp $
#
# Ethereal - Network traffic analyzer
# By Gerald Combs <gerald@ethereal.com>
if ENABLE_STATIC
plugin_ldadd = \
- plugins/artnet/packet-artnet-static.o \
- plugins/docsis/packet-bpkmattr-static.o \
- plugins/docsis/packet-bpkmreq-static.o \
- plugins/docsis/packet-bpkmrsp-static.o \
- plugins/docsis/packet-docsis-static.o \
- plugins/docsis/packet-dsaack-static.o \
- plugins/docsis/packet-dsareq-static.o \
- plugins/docsis/packet-dsarsp-static.o \
- plugins/docsis/packet-dscack-static.o \
- plugins/docsis/packet-dscreq-static.o \
- plugins/docsis/packet-dscrsp-static.o \
- plugins/docsis/packet-dsdreq-static.o \
- plugins/docsis/packet-dsdrsp-static.o \
- plugins/docsis/packet-macmgmt-static.o \
- plugins/docsis/packet-map-static.o \
- plugins/docsis/packet-regack-static.o \
- plugins/docsis/packet-regreq-static.o \
- plugins/docsis/packet-regrsp-static.o \
- plugins/docsis/packet-rngreq-static.o \
- plugins/docsis/packet-rngrsp-static.o \
- plugins/docsis/packet-tlv-static.o \
- plugins/docsis/packet-uccreq-static.o \
- plugins/docsis/packet-uccrsp-static.o \
- plugins/docsis/packet-ucd-static.o \
- plugins/giop/packet-cosnaming-static.o \
- plugins/giop/packet-coseventcomm-static.o \
- plugins/gryphon/packet-gryphon-static.o \
- plugins/lwres/packet-lwres-static.o \
- plugins/megaco/packet-megaco-static.o \
- plugins/mgcp/packet-mgcp-static.o \
- plugins/pcli/packet-pcli-static.o \
- plugins/rtnet/packet-rtnet-static.o
+ plugins/artnet/packet-artnet.o \
+ plugins/docsis/packet-bpkmattr.o \
+ plugins/docsis/packet-bpkmreq.o \
+ plugins/docsis/packet-bpkmrsp.o \
+ plugins/docsis/packet-docsis.o \
+ plugins/docsis/packet-dsaack.o \
+ plugins/docsis/packet-dsareq.o \
+ plugins/docsis/packet-dsarsp.o \
+ plugins/docsis/packet-dscack.o \
+ plugins/docsis/packet-dscreq.o \
+ plugins/docsis/packet-dscrsp.o \
+ plugins/docsis/packet-dsdreq.o \
+ plugins/docsis/packet-dsdrsp.o \
+ plugins/docsis/packet-macmgmt.o \
+ plugins/docsis/packet-map.o \
+ plugins/docsis/packet-regack.o \
+ plugins/docsis/packet-regreq.o \
+ plugins/docsis/packet-regrsp.o \
+ plugins/docsis/packet-rngreq.o \
+ plugins/docsis/packet-rngrsp.o \
+ plugins/docsis/packet-tlv.o \
+ plugins/docsis/packet-uccreq.o \
+ plugins/docsis/packet-uccrsp.o \
+ plugins/docsis/packet-ucd.o \
+ plugins/giop/packet-cosnaming.o \
+ plugins/giop/packet-coseventcomm.o \
+ plugins/gryphon/packet-gryphon.o \
+ plugins/lwres/packet-lwres.o \
+ plugins/megaco/packet-megaco.o \
+ plugins/mgcp/packet-mgcp.o \
+ plugins/pcli/packet-pcli.o \
+ plugins/rtnet/packet-rtnet.o
plugin_src = \
plugins/artnet/packet-artnet.c \
-# $Id: configure.in,v 1.218 2003/08/29 04:20:22 sharpe Exp $
+# $Id: configure.in,v 1.219 2003/09/05 07:44:44 jmayer Exp $
dnl
dnl Process this file with autoconf 2.13 or later to produce a
dnl configure script; 2.12 doesn't generate a "configure" script that
AM_PROG_LIBTOOL
AC_SUBST(LIBTOOL_DEPS)
-AM_CONDITIONAL(ENABLE_STATIC, test x$enable_shared = xno)
+AM_CONDITIONAL(ENABLE_STATIC, test x$enable_static = xyes)
+if test x$enable_static = xyes -a x$have_plugins = xyes
+then
+ AC_DEFINE(ENABLE_STATIC, 1, [Link plugins statically into Ethereal])
+fi
+AC_SUBST(ENABLE_STATIC)
+
AM_CONFIG_HEADER(config.h)
AC_CONFIG_SUBDIRS(epan wiretap)
AC_OUTPUT(
# Makefile.am
# Automake file for Ethereal/ArtNET
#
-# $Id: Makefile.am,v 1.1 2003/04/21 21:28:39 guy Exp $
+# $Id: Makefile.am,v 1.2 2003/09/05 07:44:44 jmayer Exp $
#
# Ethereal - Network traffic analyzer
# By Steve Limkemann <stevelim@dgtech.com>
# add them here.
LIBS =
-artnet_la_DEPENDENCIES = packet-artnet-static.o
-
-packet-artnet-static.o: packet-artnet.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-artnet-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-artnet.c
-
CLEANFILES = \
artnet \
*~
/* packet-artnet.c
* Routines for Art-Net packet disassembly
*
- * $Id: packet-artnet.c,v 1.3 2003/08/24 01:44:00 sahlberg Exp $
+ * $Id: packet-artnet.c,v 1.4 2003/09/05 07:44:45 jmayer Exp $
*
* Copyright (c) 2003 by Erwin Rol <erwin@erwinrol.com>
*
/* Define version if we are not building ethereal statically */
-#ifndef __ETHEREAL_STATIC__
+#ifndef ENABLE_STATIC
G_MODULE_EXPORT const gchar version[] = VERSION;
#endif
/* Start the functions we need for the plugin stuff */
-#ifndef __ETHEREAL_STATIC__
+#ifndef ENABLE_STATIC
G_MODULE_EXPORT void
plugin_reg_handoff(void){
# Makefile.am
# Automake file for Ethereal/docsis subdissectors
#
-# $Id: Makefile.am,v 1.4 2003/01/11 09:15:00 guy Exp $
+# $Id: Makefile.am,v 1.5 2003/09/05 07:44:45 jmayer Exp $
#
# Ethereal - Network traffic analyzer
# By Gerald Combs <gerald@ethereal.com>
# add them here.
LIBS =
-docsis_la_DEPENDENCIES = packet-docsis-static.o packet-bpkmattr-static.o packet-dsarsp-static.o packet-macmgmt-static.o packet-rngrsp-static.o packet-bpkmreq-static.o packet-dscack-static.o packet-map-static.o packet-tlv-static.o packet-bpkmrsp-static.o packet-dscreq-static.o packet-regack-static.o packet-uccreq-static.o packet-dscrsp-static.o packet-regreq-static.o packet-uccrsp-static.o packet-dsaack-static.o packet-dsdreq-static.o packet-regrsp-static.o packet-ucd-static.o packet-dsareq-static.o packet-dsdrsp-static.o packet-rngreq-static.o packet-vendor-static.o
-
-packet-docsis-static.o: packet-docsis.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-docsis-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-docsis.c
-
-
-packet-bpkmattr-static.o: packet-bpkmattr.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-bpkmattr-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-bpkmattr.c
-
-packet-dsarsp-static.o: packet-dsarsp.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-dsarsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsarsp.c
-
-packet-macmgmt-static.o: packet-macmgmt.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-macmgmt-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-macmgmt.c
-
-packet-rngrsp-static.o: packet-rngrsp.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-rngrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-rngrsp.c
-
-packet-bpkmreq-static.o: packet-bpkmreq.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-bpkmreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-bpkmreq.c
-
-packet-dscack-static.o: packet-dscack.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-dscack-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dscack.c
-
-packet-map-static.o: packet-map.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-map-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-map.c
-
-packet-tlv-static.o: packet-tlv.c packet-tlv.h moduleinfo.h
- $(LTCOMPILE) -c -o packet-tlv-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-tlv.c
-
-packet-bpkmrsp-static.o: packet-bpkmrsp.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-bpkmrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-bpkmrsp.c
-
-packet-dscreq-static.o: packet-dscreq.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-dscreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dscreq.c
-
-packet-regack-static.o: packet-regack.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-regack-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-regack.c
-
-packet-uccreq-static.o: packet-uccreq.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-uccreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-uccreq.c
-
-packet-dscrsp-static.o: packet-dscrsp.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-dscrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dscrsp.c
-
-packet-regreq-static.o: packet-regreq.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-regreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-regreq.c
-
-packet-uccrsp-static.o: packet-uccrsp.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-uccrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-uccrsp.c
-
-packet-dsaack-static.o: packet-dsaack.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-dsaack-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsaack.c
-
-packet-dsdreq-static.o: packet-dsdreq.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-dsdreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsdreq.c
-
-packet-regrsp-static.o: packet-regrsp.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-regrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-regrsp.c
-
-packet-ucd-static.o: packet-ucd.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-ucd-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-ucd.c
-
-packet-dsareq-static.o: packet-dsareq.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-dsareq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsareq.c
-
-packet-dsdrsp-static.o: packet-dsdrsp.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-dsdrsp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-dsdrsp.c
-
-packet-rngreq-static.o: packet-rngreq.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-rngreq-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-rngreq.c
-
-packet-vendor-static.o: packet-vendor.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-vendor-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-vendor.c
-
CLEANFILES = \
docsis \
*~
* Routines for docsis dissection
* Copyright 2002, Anand V. Narwani <anand[AT]narwani.org>
*
- * $Id: packet-docsis.c,v 1.12 2003/05/28 14:52:51 gerald Exp $
+ * $Id: packet-docsis.c,v 1.13 2003/09/05 07:44:45 jmayer Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
#include <epan/packet.h>
-#ifndef __ETHEREAL_STATIC__
+#ifndef ENABLE_STATIC
G_MODULE_EXPORT const gchar version[] = VERSION;
#endif
/* Start the functions we need for the plugin stuff */
-#ifndef __ETHEREAL_STATIC__
+#ifndef ENABLE_STATIC
G_MODULE_EXPORT void
plugin_reg_handoff (void)
# Makefile.am
# Automake file for Ethereal/GIOP subdissectors
#
-# $Id: Makefile.am,v 1.3 2002/07/06 20:40:46 guy Exp $
+# $Id: Makefile.am,v 1.4 2003/09/05 07:44:45 jmayer Exp $
#
# Copyright 2001, Ericsson Inc.
# Frank Singleton <frank.singleton@ericsson.com>
# add them here.
LIBS =
-cosnaming_la_DEPENDENCIES = packet-cosnaming-static.o
-coseventcomm_la_DEPENDENCIES = packet-coseventcomm-static.o
-
-packet-cosnaming-static.o: packet-cosnaming.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-cosnaming-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-cosnaming.c
-
-packet-coseventcomm-static.o: packet-coseventcomm.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-coseventcomm-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-coseventcomm.c
-
-
CLEANFILES = \
cosnaming \
coseventcomm \
#include "plugins/plugin_api_defs.h"
-#ifndef __ETHEREAL_STATIC__
+#ifndef ENABLE_STATIC
G_MODULE_EXPORT const gchar version[] = "0.0.1";
#endif
-#ifndef __ETHEREAL_STATIC__
+#ifndef ENABLE_STATIC
G_MODULE_EXPORT void
plugin_reg_handoff(void){
#include "plugins/plugin_api_defs.h"
-#ifndef __ETHEREAL_STATIC__
+#ifndef ENABLE_STATIC
G_MODULE_EXPORT const gchar version[] = "0.0.1";
#endif
-#ifndef __ETHEREAL_STATIC__
+#ifndef ENABLE_STATIC
G_MODULE_EXPORT void
plugin_reg_handoff(void){
# Makefile.am
# Automake file for Ethereal/Gryphon
#
-# $Id: Makefile.am,v 1.10 2002/07/06 20:40:47 guy Exp $
+# $Id: Makefile.am,v 1.11 2003/09/05 07:44:46 jmayer Exp $
#
# Ethereal - Network traffic analyzer
# By Steve Limkemann <stevelim@dgtech.com>
# add them here.
LIBS =
-gryphon_la_DEPENDENCIES = packet-gryphon-static.o
-
-packet-gryphon-static.o: packet-gryphon.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-gryphon-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-gryphon.c
-
CLEANFILES = \
gryphon \
*~
* By Steve Limkemann <stevelim@dgtech.com>
* Copyright 1998 Steve Limkemann
*
- * $Id: packet-gryphon.c,v 1.37 2003/06/12 08:33:32 guy Exp $
+ * $Id: packet-gryphon.c,v 1.38 2003/09/05 07:44:46 jmayer Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
#include "plugins/plugin_api_defs.h"
-#ifndef __ETHEREAL_STATIC__
+#ifndef ENABLE_STATIC
G_MODULE_EXPORT const gchar version[] = VERSION;
#endif
# Makefile.am
# Automake file for Ethereal/lwres
#
-# $Id: Makefile.am,v 1.2 2003/08/06 03:04:24 gerald Exp $
+# $Id: Makefile.am,v 1.3 2003/09/05 07:44:47 jmayer Exp $
#
# Ethereal - Network traffic analyzer / light waight resolver (part of Bind9)
# By Steve Oleg Terletsky <oleg.terletsky@comverse.com>
# add them here.
LIBS =
-lwres_la_DEPENDENCIES = packet-lwres-static.o
-
-packet-lwres-static.o: packet-lwres.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-lwres-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-lwres.c
-
CLEANFILES = \
lwres \
*~
/* packet-lwres.c
* Routines for light weight reslover (lwres, part of BIND9) packet disassembly
*
- * $Id: packet-lwres.c,v 1.2 2003/08/05 17:12:07 guy Exp $
+ * $Id: packet-lwres.c,v 1.3 2003/09/05 07:44:47 jmayer Exp $
*
* Copyright (c) 2003 by Oleg Terletsky <oleg.terletsky@comverse.com>
*
-#ifndef __ETHEREAL_STATIC__
+#ifndef ENABLE_STATIC
G_MODULE_EXPORT const gchar version[] = VERSION;
#endif
-void
-ip_to_str_buf(const guint8 *ad, gchar *buf)
-{
- gchar *p;
- int i;
- guint32 octet;
- guint32 digit;
- gboolean saw_nonzero;
-
- p = buf;
- i = 0;
- for (;;) {
- saw_nonzero = FALSE;
- octet = ad[i];
- digit = octet/100;
- if (digit != 0) {
- *p++ = digit + '0';
- saw_nonzero = TRUE;
- }
- octet %= 100;
- digit = octet/10;
- if (saw_nonzero || digit != 0)
- *p++ = digit + '0';
- digit = octet%10;
- *p++ = digit + '0';
- if (i == 3)
- break;
- *p++ = '.';
- i++;
- }
- *p = '\0';
-}
-
-
-int
-get_dns_name(tvbuff_t *tvb, int offset, int dns_data_offset,
+static int
+lwres_get_dns_name(tvbuff_t *tvb, int offset, int dns_data_offset,
char *name, int maxname)
{
int start_offset = offset;
namelen = len - 8;
cmpname = tvb_get_ptr(tvb, curr + 8, namelen);
- dlen = get_dns_name(tvb, curr + 8, curr, dname, sizeof(dname));
+ dlen = lwres_get_dns_name(tvb, curr + 8, curr, dname, sizeof(dname));
if(srv_rec_tree)
{
priority = tvb_get_ntohs(tvb, curr + 2);
namelen = len - 4;
cname = tvb_get_ptr(tvb, curr + 4, 4);
- dlen = get_dns_name(tvb, curr + 4, curr, dname, sizeof(dname));
+ dlen = lwres_get_dns_name(tvb, curr + 4, curr, dname, sizeof(dname));
if(mx_rec_tree)
{
rec_item = proto_tree_add_text(mx_rec_tree, tvb, curr,6,"MX record: pri=%d,dname=%s",
{
len = tvb_get_ntohs(tvb, curr);
namelen = len - 2;
- dlen = get_dns_name(tvb, curr + 2, curr, dname, sizeof(dname));
+ dlen = lwres_get_dns_name(tvb, curr + 2, curr, dname, sizeof(dname));
if(ns_rec_tree)
{
rec_item = proto_tree_add_text(ns_rec_tree, tvb, curr,4, "NS record: dname=%s",dname);
/* Start the functions we need for the plugin stuff */
-#ifndef __ETHEREAL_STATIC__
+#ifndef ENABLE_STATIC
G_MODULE_EXPORT void
plugin_reg_handoff(void){
# Makefile.am
# Automake file for Megaco Ethereal plugin
#
-# $Id: Makefile.am,v 1.1 2003/01/14 23:53:40 guy Exp $
+# $Id: Makefile.am,v 1.2 2003/09/05 07:44:48 jmayer Exp $
#
# Ethereal - Network traffic analyzer
# By Gerald Combs <gerald@ethereal.com>
# add them here.
LIBS =
-megaco_la_DEPENDENCIES = packet-megaco-static.o
-
-packet-megaco-static.o: packet-megaco.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-megaco-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-megaco.c
-
CLEANFILES = \
megaco \
*~
* Routines for megaco packet disassembly
* RFC 3015
*
-* $Id: packet-megaco.c,v 1.11 2003/09/03 06:48:45 guy Exp $
+* $Id: packet-megaco.c,v 1.12 2003/09/05 07:44:48 jmayer Exp $
*
* Christian Falckenberg, 2002/10/17
* Copyright (c) 2002 by Christian Falckenberg
#include "plugins/plugin_api_defs.h"
-#ifndef __ETHEREAL_STATIC__
+#ifndef ENABLE_STATIC
G_MODULE_EXPORT const gchar version[] = VERSION;
#endif
/* Start the functions we need for the plugin stuff */
-#ifndef __ETHEREAL_STATIC__
+#ifndef ENABLE_STATIC
G_MODULE_EXPORT void
plugin_reg_handoff(void){
# Makefile.am
# Automake file for Ethereal/MGCP
#
-# $Id: Makefile.am,v 1.6 2003/03/07 04:13:26 gerald Exp $
+# $Id: Makefile.am,v 1.7 2003/09/05 07:44:49 jmayer Exp $
#
# Ethereal - Network traffic analyzer
# By Steve Limkemann <stevelim@dgtech.com>
# add them here.
LIBS =
-mgcp_la_DEPENDENCIES = packet-mgcp-static.o
-
-packet-mgcp-static.o: packet-mgcp.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-mgcp-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-mgcp.c
-
CLEANFILES = \
mgcp \
*~
* Routines for mgcp packet disassembly
* RFC 2705
*
- * $Id: packet-mgcp.c,v 1.41 2003/09/02 21:26:22 guy Exp $
+ * $Id: packet-mgcp.c,v 1.42 2003/09/05 07:44:49 jmayer Exp $
*
* Copyright (c) 2000 by Ed Warnicke <hagbard@physics.rutgers.edu>
*
#include "plugins/plugin_api_defs.h"
-#ifndef __ETHEREAL_STATIC__
+#ifndef ENABLE_STATIC
G_MODULE_EXPORT const gchar version[] = VERSION;
#endif
/* Start the functions we need for the plugin stuff */
-#ifndef __ETHEREAL_STATIC__
+#ifndef ENABLE_STATIC
G_MODULE_EXPORT void
plugin_reg_handoff(void){
# Makefile.am
# Automake file for Ethereal/Gryphon
#
-# $Id: Makefile.am,v 1.1 2002/10/03 02:56:59 hagbard Exp $
+# $Id: Makefile.am,v 1.2 2003/09/05 07:44:49 jmayer Exp $
#
# Ethereal - Network traffic analyzer
# By Steve Limkemann <stevelim@dgtech.com>
# add them here.
LIBS =
-pcli_la_DEPENDENCIES = packet-pcli-static.o
-
-packet-pcli-static.o: packet-pcli.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-pcli-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-pcli.c
-
CLEANFILES = \
pcli \
*~
* http://www.packetcable.com/downloads/specs/pkt-sp-esp-I01-991229.pdf
* Chapter 4 ( Call Content Connection Interface )
*
- * $Id: packet-pcli.c,v 1.7 2003/02/25 18:43:38 guy Exp $
+ * $Id: packet-pcli.c,v 1.8 2003/09/05 07:44:50 jmayer Exp $
*
* Copyright (c) 2000 by Ed Warnicke <hagbard@physics.rutgers.edu>
*
/* Define version if we are not building ethereal statically */
-#ifndef __ETHEREAL_STATIC__
+#ifndef ENABLE_STATIC
G_MODULE_EXPORT const gchar version[] = VERSION;
#endif
/* Start the functions we need for the plugin stuff */
-#ifndef __ETHEREAL_STATIC__
+#ifndef ENABLE_STATIC
G_MODULE_EXPORT void
plugin_reg_handoff(void){
# Makefile.am
# Automake file for Ethereal/RTNET
#
-# $Id: Makefile.am,v 1.1 2003/06/11 09:17:03 guy Exp $
+# $Id: Makefile.am,v 1.2 2003/09/05 07:44:50 jmayer Exp $
#
# Ethereal - Network traffic analyzer
# By Steve Limkemann <stevelim@dgtech.com>
# add them here.
LIBS =
-rtnet_la_DEPENDENCIES = packet-rtnet-static.o
-
-packet-rtnet-static.o: packet-rtnet.c moduleinfo.h
- $(LTCOMPILE) -c -o packet-rtnet-static.o -D__ETHEREAL_STATIC__ $(srcdir)/packet-rtnet.c
-
CLEANFILES = \
rtnet \
*~
/* packet-rtnet.c
* Routines for RTnet packet disassembly
*
- * $Id: packet-rtnet.c,v 1.3 2003/08/17 01:05:21 guy Exp $
+ * $Id: packet-rtnet.c,v 1.4 2003/09/05 07:44:50 jmayer Exp $
*
* Copyright (c) 2003 by Erwin Rol <erwin@erwinrol.com>
*
/* Define version if we are not building ethereal statically */
-#ifndef __ETHEREAL_STATIC__
+#ifndef ENABLE_STATIC
G_MODULE_EXPORT const gchar version[] = VERSION;
#endif
/* Start the functions we need for the plugin stuff */
-#ifndef __ETHEREAL_STATIC__
+#ifndef ENABLE_STATIC
G_MODULE_EXPORT void
plugin_reg_handoff(void){