mark the "short segment" message field as generated and add an expert_info to it
[obnox/wireshark/wip.git] / epan / oid_resolv.h
index 5c25063daf5b7b347c79202f9c8b6f535559722d..d770bebb9397b4655c23ea035c0031905a42c759 100644 (file)
@@ -1,50 +1,50 @@
-/* oid_resolv.h\r
- * Definitions for OBJECT IDENTIFIER name resolution\r
- *\r
- * $Id$\r
- *\r
- * Ethereal - Network traffic analyzer\r
- * By Gerald Combs <gerald@ethereal.com>\r
- * Copyright 1998 Gerald Combs\r
- *\r
- * This program is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU General Public License\r
- * as published by the Free Software Foundation; either version 2\r
- * of the License, or (at your option) any later version.\r
- *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
- */\r
-/* The buffers returned by these functions are all allocated with a \r
- * packet lifetime or are static buffers and does not have have to be freed. \r
- * However, take into account that when the packet dissection\r
- * completes, these buffers will be automatically reclaimed/freed.\r
- * If you need the buffer to remain for a longer scope than packet lifetime\r
- * you must copy the content to an se_alloc() buffer.\r
- */\r
-\r
-#ifndef __OID_RESOLV_H__\r
-#define __OID_RESOLV_H__\r
-\r
-/* init and clenup funcions called from epan.h */\r
-extern void oid_resolv_init(void);\r
-extern void oid_resolv_cleanup(void);\r
-\r
-extern gboolean oid_resolv_enabled(void);\r
-\r
-/* get_oid_name returns OID name from oid_table or MIBs database */\r
-extern const gchar *get_oid_name(const guint8 *oid, gint oid_len);\r
-extern const gchar *get_oid_str_name(const gchar *oid_str);\r
-\r
-/* add OID name into oid_table */\r
-extern void add_oid_name(const guint8 *oid, gint oid_len, const gchar *name);\r
-extern void add_oid_str_name(const gchar *oid_str, const gchar *name);\r
-\r
-\r
-#endif /* __OID_RESOLV_H__ */\r
+/* oid_resolv.h
+ * Definitions for OBJECT IDENTIFIER name resolution
+ *
+ * $Id$
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * 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.
+ */
+/* The buffers returned by these functions are all allocated with a 
+ * packet lifetime or are static buffers and does not have have to be freed. 
+ * However, take into account that when the packet dissection
+ * completes, these buffers will be automatically reclaimed/freed.
+ * If you need the buffer to remain for a longer scope than packet lifetime
+ * you must copy the content to an se_alloc() buffer.
+ */
+
+#ifndef __OID_RESOLV_H__
+#define __OID_RESOLV_H__
+
+/* init and clenup funcions called from epan.h */
+extern void oid_resolv_init(void);
+extern void oid_resolv_cleanup(void);
+
+extern gboolean oid_resolv_enabled(void);
+
+/* get_oid_name returns OID name from oid_table or MIBs database */
+extern const gchar *get_oid_name(const guint8 *oid, gint oid_len);
+extern const gchar *get_oid_str_name(const gchar *oid_str);
+
+/* add OID name into oid_table */
+extern void add_oid_name(const guint8 *oid, gint oid_len, const gchar *name);
+extern void add_oid_str_name(const gchar *oid_str, const gchar *name);
+
+
+#endif /* __OID_RESOLV_H__ */