diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-06-03 21:46:27 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-06-03 21:46:27 +0000 |
commit | 64d5806cecb44c4f0300a5bc3de1cbe2a22b2151 (patch) | |
tree | 7b7174dc8dc7d1e441cc926da21c7eb6c0a3b1b0 /gtk/sat.h | |
parent | dd2b4bd39373b301c6f446e658a16c19667e1b45 (diff) |
Make static some routines and variables not used outside the source file
defining them.
Move declarations of some callbacks outside the source files using them
into the appropriate header, and arrange that the appropriate header is
included by those source files.
Move the SAT_E definition into a "sat.h" file, included both by
"endpoint_talkers_table.h" and "hostlist_table.h", so that both of the
latter headers can be included by the same file ("menu.c" has to include
both, as per the change in the previous paragraph).
svn path=/trunk/; revision=11096
Diffstat (limited to 'gtk/sat.h')
-rw-r--r-- | gtk/sat.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gtk/sat.h b/gtk/sat.h new file mode 100644 index 0000000000..a0f6b950bd --- /dev/null +++ b/gtk/sat.h @@ -0,0 +1,41 @@ +/* sat.h + * 2003 Ronnie Sahlberg + * Sub-address types for MAC addresses + * + * $Id: sat.h,v 1.1 2004/06/03 21:46:27 guy Exp $ + * + * Ethereal - Network traffic analyzer + * By Gerald Combs <gerald@ethereal.com> + * Copyright 1998 Gerald Combs + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef __GTK_SAT_H__ +#define __GTK_SAT_H__ + +/** @file + * Sub-address type definitions. + */ + +/** Address type */ +typedef enum { + SAT_NONE, /**< no address type */ + SAT_ETHER, /**< Ethernet */ + SAT_FDDI, /**< FDDI */ + SAT_TOKENRING /**< Token Ring */ +} SAT_E; + +#endif /* __GTK_SAT_H__ */ |