uuencode.h revision 162853
1252391Sray/* $OpenBSD: uuencode.h,v 1.13 2006/08/03 03:34:42 deraadt Exp $ */ 2252391Sray 3252391Sray/* 4252391Sray * Copyright (c) 2000 Markus Friedl. All rights reserved. 5252391Sray * 6252391Sray * Redistribution and use in source and binary forms, with or without 7252391Sray * modification, are permitted provided that the following conditions 8252391Sray * are met: 9252391Sray * 1. Redistributions of source code must retain the above copyright 10252391Sray * notice, this list of conditions and the following disclaimer. 11252391Sray * 2. Redistributions in binary form must reproduce the above copyright 12252391Sray * notice, this list of conditions and the following disclaimer in the 13252391Sray * documentation and/or other materials provided with the distribution. 14252391Sray * 15252391Sray * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 16252391Sray * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17252391Sray * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18252391Sray * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19252391Sray * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20252391Sray * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21252391Sray * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22252391Sray * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23252391Sray * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24252391Sray * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25252391Sray */ 26252391Sray 27252391Srayint uuencode(const u_char *, u_int, char *, size_t); 28252391Srayint uudecode(const char *, u_char *, size_t); 29252391Srayvoid dump_base64(FILE *, u_char *, u_int); 30252391Sray