OLD | NEW |
1 /************************************************************************* | 1 /************************************************************************* |
2 * | 2 * |
3 * $Id: triostr.c 3600 2007-04-17 12:44:58Z veillard $ | 3 * $Id$ |
4 * | 4 * |
5 * Copyright (C) 2001 Bjorn Reese and Daniel Stenberg. | 5 * Copyright (C) 2001 Bjorn Reese and Daniel Stenberg. |
6 * | 6 * |
7 * Permission to use, copy, modify, and distribute this software for any | 7 * Permission to use, copy, modify, and distribute this software for any |
8 * purpose with or without fee is hereby granted, provided that the above | 8 * purpose with or without fee is hereby granted, provided that the above |
9 * copyright notice and this permission notice appear in all copies. | 9 * copyright notice and this permission notice appear in all copies. |
10 * | 10 * |
11 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED | 11 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED |
12 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF | 12 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF |
13 * MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND | 13 * MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 char *content; | 94 char *content; |
95 size_t length; | 95 size_t length; |
96 size_t allocated; | 96 size_t allocated; |
97 }; | 97 }; |
98 | 98 |
99 /************************************************************************* | 99 /************************************************************************* |
100 * Constants | 100 * Constants |
101 */ | 101 */ |
102 | 102 |
103 #if !defined(TRIO_MINIMAL) | 103 #if !defined(TRIO_MINIMAL) |
104 static TRIO_CONST char rcsid[] = "@(#)$Id: triostr.c 3600 2007-04-17 12:44:58Z v
eillard $"; | 104 static TRIO_CONST char rcsid[] = "@(#)$Id$"; |
105 #endif | 105 #endif |
106 | 106 |
107 /************************************************************************* | 107 /************************************************************************* |
108 * Static String Functions | 108 * Static String Functions |
109 */ | 109 */ |
110 | 110 |
111 #if defined(TRIO_DOCUMENTATION) | 111 #if defined(TRIO_DOCUMENTATION) |
112 # include "doc/doc_static.h" | 112 # include "doc/doc_static.h" |
113 #endif | 113 #endif |
114 /** @addtogroup StaticStrings | 114 /** @addtogroup StaticStrings |
(...skipping 1982 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2097 TRIO_ARGS1((self), | 2097 TRIO_ARGS1((self), |
2098 trio_string_t *self) | 2098 trio_string_t *self) |
2099 { | 2099 { |
2100 assert(self); | 2100 assert(self); |
2101 | 2101 |
2102 return trio_upper(self->content); | 2102 return trio_upper(self->content); |
2103 } | 2103 } |
2104 #endif /* !defined(TRIO_MINIMAL) */ | 2104 #endif /* !defined(TRIO_MINIMAL) */ |
2105 | 2105 |
2106 /** @} End of DynamicStrings */ | 2106 /** @} End of DynamicStrings */ |
OLD | NEW |