| 1 /** |
1 /** |
| 2 * @file internal.h Internal definitions and includes |
2 * @file internal.h Internal definitions and includes |
| 3 * @ingroup core |
3 * @ingroup core |
| 4 * |
4 * |
| 5 * gaim |
5 * purple |
| 6 * |
6 * |
| 7 * Gaim is the legal property of its developers, whose names are too numerous |
7 * Purple is the legal property of its developers, whose names are too numerous |
| 8 * to list here. Please refer to the COPYRIGHT file distributed with this |
8 * to list here. Please refer to the COPYRIGHT file distributed with this |
| 9 * source distribution. |
9 * source distribution. |
| 10 * |
10 * |
| 11 * This program is free software; you can redistribute it and/or modify |
11 * This program is free software; you can redistribute it and/or modify |
| 12 * it under the terms of the GNU General Public License as published by |
12 * it under the terms of the GNU General Public License as published by |
| 20 * |
20 * |
| 21 * You should have received a copy of the GNU General Public License |
21 * You should have received a copy of the GNU General Public License |
| 22 * along with this program; if not, write to the Free Software |
22 * along with this program; if not, write to the Free Software |
| 23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 24 */ |
24 */ |
| 25 #ifndef _GAIM_INTERNAL_H_ |
25 #ifndef _PURPLE_INTERNAL_H_ |
| 26 #define _GAIM_INTERNAL_H_ |
26 #define _PURPLE_INTERNAL_H_ |
| 27 |
27 |
| 28 #ifdef HAVE_CONFIG_H |
28 #ifdef HAVE_CONFIG_H |
| 29 # include <config.h> |
29 # include <config.h> |
| 30 #endif |
30 #endif |
| 31 |
31 |
| 176 #endif |
176 #endif |
| 177 |
177 |
| 178 /* Safer ways to work with static buffers. When using non-static |
178 /* Safer ways to work with static buffers. When using non-static |
| 179 * buffers, either use g_strdup_* functions (preferred) or use |
179 * buffers, either use g_strdup_* functions (preferred) or use |
| 180 * g_strlcpy/g_strlcpy directly. */ |
180 * g_strlcpy/g_strlcpy directly. */ |
| 181 #define gaim_strlcpy(dest, src) g_strlcpy(dest, src, sizeof(dest)) |
181 #define purple_strlcpy(dest, src) g_strlcpy(dest, src, sizeof(dest)) |
| 182 #define gaim_strlcat(dest, src) g_strlcat(dest, src, sizeof(dest)) |
182 #define purple_strlcat(dest, src) g_strlcat(dest, src, sizeof(dest)) |
| 183 |
183 |
| 184 #define GAIM_WEBSITE "http://gaim.sourceforge.net/" |
184 #define PURPLE_WEBSITE "http://purple.sourceforge.net/" |
| 185 |
185 |
| 186 #ifndef _WIN32 |
186 #ifndef _WIN32 |
| 187 /* Everything needs to include this, because |
187 /* Everything needs to include this, because |
| 188 * everything gets the autoconf macros */ |
188 * everything gets the autoconf macros */ |
| 189 #include "prefix.h" |
189 #include "prefix.h" |
| 190 #endif /* _WIN32 */ |
190 #endif /* _WIN32 */ |
| 191 |
191 |
| 192 #endif /* _GAIM_INTERNAL_H_ */ |
192 #endif /* _PURPLE_INTERNAL_H_ */ |