uuencode.h revision 76259
1239310Sdim/* $OpenBSD: uuencode.h,v 1.5 2001/01/29 01:58:19 niklas Exp $ */ 2239310Sdim 3239310Sdim/* 4239310Sdim * Copyright (c) 1999 Markus Friedl. All rights reserved. 5239310Sdim * 6239310Sdim * Redistribution and use in source and binary forms, with or without 7239310Sdim * modification, are permitted provided that the following conditions 8239310Sdim * are met: 9239310Sdim * 1. Redistributions of source code must retain the above copyright 10239310Sdim * notice, this list of conditions and the following disclaimer. 11239310Sdim * 2. Redistributions in binary form must reproduce the above copyright 12239310Sdim * notice, this list of conditions and the following disclaimer in the 13239310Sdim * documentation and/or other materials provided with the distribution. 14239310Sdim * 15239310Sdim * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 16239310Sdim * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17249423Sdim * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18239310Sdim * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19239310Sdim * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20239310Sdim * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21239310Sdim * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22239310Sdim * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23239310Sdim * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24239310Sdim * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25239310Sdim */ 26239310Sdim 27239310Sdim#ifndef UUENCODE_H 28239310Sdim#define UUENCODE_H 29239310Sdimint uuencode(u_char *src, u_int srclength, char *target, size_t targsize); 30239310Sdimint uudecode(const char *src, u_char *target, size_t targsize); 31239310Sdimvoid dump_base64(FILE *fp, u_char *data, int len); 32239310Sdim#endif 33239310Sdim