Try to improve the "Kerberos requested but not OpenSSL" message.
[jelmer/wireshark.git] / wsutil / mpeg-audio.h
index 23ee3465da392923bc79a2db40ac37e4a73d3934..7f2fd9875c793f5735bc6dda4c257e1f3d936903 100644 (file)
@@ -4,8 +4,6 @@
  * Written by Shaun Jackman <sjackman@gmail.com>
  * Copyright 2007 Shaun Jackman
  *
- * $Id$
- *
  * Wiretap Library
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
 #ifndef MPA_H
 #define MPA_H 1
 
+#include "ws_symbol_export.h"
+
 struct mpa {
        unsigned int emphasis   :2;
        unsigned int original   :1;
        unsigned int copyright  :1;
        unsigned int modeext    :2;
        unsigned int mode       :2;
-       unsigned int private    :1;
+       unsigned int priv       :1;
        unsigned int padding    :1;
        unsigned int frequency  :2;
        unsigned int bitrate    :4;
@@ -63,7 +63,7 @@ struct mpa {
        (mpa)->bitrate    = MPA_UNMARSHAL_BITRATE(n);    \
        (mpa)->frequency  = MPA_UNMARSHAL_FREQUENCY(n);  \
        (mpa)->padding    = MPA_UNMARSHAL_PADDING(n);    \
-       (mpa)->private    = MPA_UNMARSHAL_PRIVATE(n);    \
+       (mpa)->priv       = MPA_UNMARSHAL_PRIVATE(n);    \
        (mpa)->mode       = MPA_UNMARSHAL_MODE(n);       \
        (mpa)->modeext    = MPA_UNMARSHAL_MODEEXT(n);    \
        (mpa)->copyright  = MPA_UNMARSHAL_COPYRIGHT(n);  \
@@ -71,11 +71,17 @@ struct mpa {
        (mpa)->emphasis   = MPA_UNMARSHAL_EMPHASIS(n);   \
        } while (0)
 
+WS_DLL_PUBLIC
 int mpa_version(const struct mpa *);
+WS_DLL_PUBLIC
 int mpa_layer(const struct mpa *);
+WS_DLL_PUBLIC
 unsigned int mpa_samples(const struct mpa *);
+WS_DLL_PUBLIC
 unsigned int mpa_bitrate(const struct mpa *);
+WS_DLL_PUBLIC
 unsigned int mpa_frequency(const struct mpa *);
+WS_DLL_PUBLIC
 unsigned int mpa_padding(const struct mpa *);
 
 #define MPA_DATA_BYTES(mpa) (mpa_bitrate(mpa) * mpa_samples(mpa) \