OGR
|
00001 /****************************************************************************** 00002 * $Id: cpl_base64.h 20794 2010-10-08 16:58:27Z warmerdam $ 00003 * 00004 * Project: MapServer 00005 * Purpose: Decoding Base64 strings 00006 * Author: Paul Ramsey <pramsey@cleverelephant.ca> 00007 * Dave Blasby <dblasby@gmail.com> 00008 * 00009 ****************************************************************************** 00010 * Copyright (c) 2008 Paul Ramsey 00011 * Copyright (c) 2002 Refractions Research 00012 * 00013 * Permission is hereby granted, free of charge, to any person obtaining a 00014 * copy of this software and associated documentation files (the "Software"), 00015 * to deal in the Software without restriction, including without limitation 00016 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 00017 * and/or sell copies of the Software, and to permit persons to whom the 00018 * Software is furnished to do so, subject to the following conditions: 00019 * 00020 * The above copyright notice and this permission notice shall be included in 00021 * all copies of this Software or works derived from this Software. 00022 * 00023 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00024 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00025 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 00026 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 00027 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 00028 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 00029 * DEALINGS IN THE SOFTWARE. 00030 ****************************************************************************/ 00031 00032 #ifndef CPL_BASE64_H_INCLUDED 00033 #define CPL_BASE64_H_INCLUDED 00034 00035 #include "cpl_conv.h" 00036 00037 CPL_C_START 00038 00039 int CPL_DLL CPLBase64DecodeInPlace(GByte* pszBase64); 00040 00041 CPL_C_END 00042 00043 #endif /* ndef CPL_BASE64_H_INCLUDED */