Debian Codegraph @

plugins/aiksaurus/aiksaurusgtk3/AiksaurusGTK_utils.h

raw
1 /*
2 * AiksaurusGTK - A GTK interface to the AikSaurus library
3 * Copyright (C) 2001 by Jared Davis
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
18 * 02111-1307, USA.
19 */
20
21
22 #ifndef INCLUDED_JARED_GPL_AIKSAURUSGTK_UTILS_H
23 #define INCLUDED_JARED_GPL_AIKSAURUSGTK_UTILS_H
24
25 //
26 // AiksaurusGTK_strEquals
27 // ----------------------
28 // Returns true if lhs == rhs, false otherwise.
29 //
30 bool AiksaurusGTK_strEquals(const char* lhs, const char* rhs);
31
32
33 //
34 // AiksaurusGTK_strCopy
35 // --------------------
36 // Creates a copy of the string str. This copy must be
37 // delete[]'d by the caller, so use this function carefully.
38 // Returns NULL on memory alloc error.
39 //
40 char* AiksaurusGTK_strCopy(const char* str);
41
42
43 //
44 // AiksaurusGTK_strConcat
45 // ----------------------
46 // Creates a string by merging two strings. The new string
47 // must be delete[]'d by the caller, so use this function
48 // carefully.
49 // Returns NULL on memory alloc error.
50 //
51 char* AiksaurusGTK_strConcat(const char* a, const char* b);
52
53
54 #endif // INCLUDED_JARED_GPL_AIKSAURUSGTK_UTILS_H