]> git.sesse.net Git - vlc/blobdiff - include/vlc_md5.h
THANKS to Stefán Freyr Stefánsson
[vlc] / include / vlc_md5.h
index 0ad71a8e571b42b5ce79c2ba397b29c816a44ec3..7c84fb9d0a0ca191bc79d2e48c85b3a519ffc6a0 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * vlc_md5.h: MD5 hash
  *****************************************************************************
- * Copyright (C) 2004-2005 VideoLAN
+ * Copyright (C) 2004-2005 the VideoLAN team
  * $Id$
  *
  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
  *
  * 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
 
@@ -39,8 +43,7 @@ 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, AddMD5, ( struct md5_s *, const void *, size_t ) );
 VLC_EXPORT(void, EndMD5, ( struct md5_s * ) );
-VLC_EXPORT(void, DigestMD5, ( struct md5_s *, uint32_t * ) );
 
 #endif