base64.h 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /* --------------------------------------------------------------------------
  2. MusicBrainz -- The Internet music metadatabase
  3. Copyright (C) 2000 Robert Kaye
  4. This library is free software; you can redistribute it and/or
  5. modify it under the terms of the GNU Lesser General Public
  6. License as published by the Free Software Foundation; either
  7. version 2.1 of the License, or (at your option) any later version.
  8. This library is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  11. Lesser General Public License for more details.
  12. You should have received a copy of the GNU Lesser General Public
  13. License along with this library; if not, write to the Free Software
  14. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  15. $Id$
  16. ----------------------------------------------------------------------------*/
  17. /*
  18. * Program: RFC-822 routines (originally from SMTP)
  19. *
  20. * Author: Mark Crispin
  21. * Networks and Distributed Computing
  22. * Computing & Communications
  23. * University of Washington
  24. * Administration Building, AG-44
  25. * Seattle, WA 98195
  26. * Internet: [email protected]
  27. *
  28. * Date: 27 July 1988
  29. * Last Edited: 10 September 1998
  30. *
  31. * Sponsorship: The original version of this work was developed in the
  32. * Symbolic Systems Resources Group of the Knowledge Systems
  33. * Laboratory at Stanford University in 1987-88, and was funded
  34. * by the Biomedical Research Technology Program of the National
  35. * Institutes of Health under grant number RR-00785.
  36. *
  37. * Original version Copyright 1988 by The Leland Stanford Junior University
  38. * Copyright 1998 by the University of Washington
  39. *
  40. * Permission to use, copy, modify, and distribute this software and its
  41. * documentation for any purpose and without fee is hereby granted, provided
  42. * that the above copyright notices appear in all copies and that both the
  43. * above copyright notices and this permission notice appear in supporting
  44. * documentation, and that the name of the University of Washington or The
  45. * Leland Stanford Junior University not be used in advertising or publicity
  46. * pertaining to distribution of the software without specific, written prior
  47. * permission. This software is made available "as is", and
  48. * THE UNIVERSITY OF WASHINGTON AND THE LELAND STANFORD JUNIOR UNIVERSITY
  49. * DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD TO THIS SOFTWARE,
  50. * INCLUDING WITHOUT LIMITATION ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
  51. * FITNESS FOR A PARTICULAR PURPOSE, AND IN NO EVENT SHALL THE UNIVERSITY OF
  52. * WASHINGTON OR THE LELAND STANFORD JUNIOR UNIVERSITY BE LIABLE FOR ANY
  53. * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
  54. * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
  55. * CONTRACT, TORT (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING OUT OF
  56. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  57. *
  58. */
  59. #ifndef BASE64_H
  60. #define BASE64_H
  61. #include "discid/discid.h" /* for LIBDISCID_INTERNAL */
  62. LIBDISCID_INTERNAL unsigned char *rfc822_binary (void *src,unsigned long srcl,unsigned long *len);
  63. #endif