• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

AiksaurusGTK_utils.h

Go to the documentation of this file.
00001 /*
00002  * AiksaurusGTK - A GTK interface to the AikSaurus library
00003  * Copyright (C) 2001 by Jared Davis
00004  *
00005  * This program is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU General Public License
00007  * as published by the Free Software Foundation; either version 2
00008  * of the License, or (at your option) any later version.
00009  *
00010  * This program 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
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program; if not, write to the Free Software
00017  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
00018  * 02111-1307, USA.
00019  */
00020 
00021 
00022 #ifndef INCLUDED_JARED_GPL_AIKSAURUSGTK_UTILS_H
00023 #define INCLUDED_JARED_GPL_AIKSAURUSGTK_UTILS_H
00024 
00025 //
00026 // AiksaurusGTK_strEquals
00027 // ----------------------
00028 //   Returns true if lhs == rhs, false otherwise.
00029 //
00030 bool AiksaurusGTK_strEquals(const char* lhs, const char* rhs);
00031 
00032 
00033 //
00034 // AiksaurusGTK_strCopy
00035 // --------------------
00036 //   Creates a copy of the string str.  This copy must be
00037 //   delete[]'d by the caller, so use this function carefully.
00038 //   Returns NULL on memory alloc error.
00039 //
00040 char* AiksaurusGTK_strCopy(const char* str);
00041 
00042 
00043 //
00044 // AiksaurusGTK_strConcat
00045 // ----------------------
00046 //   Creates a string by merging two strings.  The new string
00047 //   must be delete[]'d by the caller, so use this function
00048 //   carefully.
00049 //   Returns NULL on memory alloc error.
00050 //
00051 char* AiksaurusGTK_strConcat(const char* a, const char* b);
00052 
00053 
00054 #endif // INCLUDED_JARED_GPL_AIKSAURUSGTK_UTILS_H

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1