diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-09-10 23:16:00 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-09-10 23:16:00 +0000 |
commit | fe3b7d73edd4e41389f9b3ff3cd9d07892ae3e56 (patch) | |
tree | d5da1055f781a8a7c6c54eaaeb30a476867caa4a /epan/base64.h | |
parent | d121dc07f1601c58994bdd4acd6ee33ef845e0e8 (diff) | |
download | wireshark-fe3b7d73edd4e41389f9b3ff3cd9d07892ae3e56.tar.gz wireshark-fe3b7d73edd4e41389f9b3ff3cd9d07892ae3e56.tar.bz2 wireshark-fe3b7d73edd4e41389f9b3ff3cd9d07892ae3e56.zip |
Move the base-64 routines to "epan/base64.c".
svn path=/trunk/; revision=11960
Diffstat (limited to 'epan/base64.h')
-rw-r--r-- | epan/base64.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/epan/base64.h b/epan/base64.h new file mode 100644 index 0000000000..7ce9b6f8fb --- /dev/null +++ b/epan/base64.h @@ -0,0 +1,38 @@ +/* base64.h + * Base-64 conversion + * + * $Id$ + * + * Ethereal - Network traffic analyzer + * By Gerald Combs <gerald@ethereal.com> + * Copyright 1998 Gerald Combs + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ +#ifndef __BASE64_H__ +#define __BASE64_H__ + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +/* In-place decoding of a base64 string. */ +size_t epan_base64_decode(char *s); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* __BASE64_H__ */ |