]> git.sesse.net Git - vlc/blobdiff - include/vlc_md5.h
Clean header file
[vlc] / include / vlc_md5.h
index 7d61eca35d2c42af509cf88ab83f43f79f4f4bc6..66d52efa787ddb2dbf000f2c988d1cf2408a59c0 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************
  * vlc_md5.h: MD5 hash
  *****************************************************************************
- * Copyright (C) 2004-2005 VideoLAN
- * $Id: drms.c 10101 2005-03-02 16:47:31Z robux4 $
+ * Copyright (C) 2004-2005 the VideoLAN team
+ * $Id$
  *
  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
  *          Sam Hocevar <sam@zoy.org>
  *
  * 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, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#if !defined( __LIBVLC__ )
+  #error You are not libvlc or one of its plugins. You cannot include this file
+#endif
+
 #ifndef _VLC_MD5_H
 # define _VLC_MD5_H
 
@@ -41,6 +45,6 @@ struct md5_s
 VLC_EXPORT(void, InitMD5, ( struct md5_s * ) );
 VLC_EXPORT(void, AddMD5, ( struct md5_s *, const uint8_t *, uint32_t ) );
 VLC_EXPORT(void, EndMD5, ( struct md5_s * ) );
-VLC_EXPORT(void, Digest, ( struct md5_s *, uint32_t * ) );
+VLC_EXPORT(void, DigestMD5, ( struct md5_s *, uint32_t * ) );
 
 #endif