ctai_string.h

Go to the documentation of this file.
00001 /*
00002 COSTA: Problem solving environment for data assimilation
00003 Copyright (C) 2005  Nils van Velzen
00004 
00005 This library is free software; you can redistribute it and/or
00006 modify it under the terms of the GNU Lesser General Public
00007 License as published by the Free Software Foundation; either
00008 version 2.1 of the License, or (at your option) any later version.
00009 
00010 This library is distributed in the hope that it will be useful,
00011 but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013 Lesser General Public License for more details.
00014 
00015 You should have received a copy of the GNU Lesser General Public
00016 License along with this library; if not, write to the Free Software
00017 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018 */
00019 
00020 /**
00021 \file  ctai_string.h
00022 
00023 \brief Internal string utility functions
00024 */
00025 #ifndef NL_VORTECH_CTAI_STRING_H
00026 #define NL_VORTECH_CTAI_STRING_H
00027 
00028 #ifdef __cplusplus
00029 extern "C" {
00030 #endif
00031 /** \brief Get a pointer to the contents of the string (internal use only!)
00032  *
00033  *  \param hstring I handle of string object
00034  *  \return pointer to string contents
00035  */
00036 char *CTAI_String_GetPtr(CTA_String hstring);
00037 
00038 /** \brief Allocate a string, created from a COSTA string (internal use only!).
00039  *
00040  *  \param hstr I handle of string object to use
00041  *  \return pointer to C string allocated by this function
00042  */
00043 char *CTAI_String_Allocate(CTA_String hstr);
00044 
00045 #ifdef __cplusplus
00046 }
00047 #endif
00048 #endif

Generated on Mon Apr 6 14:05:58 2009 for COSTA by  doxygen 1.5.2