uuencode.h revision 162852
1147191Sjkoshy/* $OpenBSD: uuencode.h,v 1.13 2006/08/03 03:34:42 deraadt Exp $ */
2147191Sjkoshy
3147191Sjkoshy/*
4147191Sjkoshy * Copyright (c) 2000 Markus Friedl.  All rights reserved.
5147191Sjkoshy *
6147191Sjkoshy * Redistribution and use in source and binary forms, with or without
7147191Sjkoshy * modification, are permitted provided that the following conditions
8147191Sjkoshy * are met:
9147191Sjkoshy * 1. Redistributions of source code must retain the above copyright
10147191Sjkoshy *    notice, this list of conditions and the following disclaimer.
11147191Sjkoshy * 2. Redistributions in binary form must reproduce the above copyright
12147191Sjkoshy *    notice, this list of conditions and the following disclaimer in the
13147191Sjkoshy *    documentation and/or other materials provided with the distribution.
14147191Sjkoshy *
15147191Sjkoshy * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16147191Sjkoshy * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17147191Sjkoshy * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18147191Sjkoshy * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19147191Sjkoshy * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20147191Sjkoshy * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21147191Sjkoshy * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22147191Sjkoshy * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23147191Sjkoshy * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24147191Sjkoshy * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25147191Sjkoshy */
26147191Sjkoshy
27147191Sjkoshyint	 uuencode(const u_char *, u_int, char *, size_t);
28147191Sjkoshyint	 uudecode(const char *, u_char *, size_t);
29147191Sjkoshyvoid	 dump_base64(FILE *, u_char *, u_int);
30147191Sjkoshy