uuencode.h revision 92555
159191Skris/* $OpenBSD: uuencode.h,v 1.9 2002/02/25 16:33:27 markus Exp $ */ 259191Skris 359191Skris/* 459191Skris * Copyright (c) 2000 Markus Friedl. All rights reserved. 559191Skris * 659191Skris * Redistribution and use in source and binary forms, with or without 759191Skris * modification, are permitted provided that the following conditions 859191Skris * are met: 959191Skris * 1. Redistributions of source code must retain the above copyright 1059191Skris * notice, this list of conditions and the following disclaimer. 1159191Skris * 2. Redistributions in binary form must reproduce the above copyright 1259191Skris * notice, this list of conditions and the following disclaimer in the 1359191Skris * documentation and/or other materials provided with the distribution. 1459191Skris * 1559191Skris * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 1659191Skris * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 1759191Skris * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 1859191Skris * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 1959191Skris * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 2059191Skris * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2159191Skris * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2259191Skris * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2359191Skris * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 2459191Skris * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2559191Skris */ 2659191Skris 2759191Skris#ifndef UUENCODE_H 2859191Skris#define UUENCODE_H 2959191Skrisint uuencode(u_char *, u_int, char *, size_t); 3059191Skrisint uudecode(const char *, u_char *, size_t); 3159191Skrisvoid dump_base64(FILE *, u_char *, u_int); 3259191Skris#endif 3359191Skris