diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/tinyrad_internal.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/include/tinyrad_internal.h b/include/tinyrad_internal.h index 747b502..cfb0b00 100644 --- a/include/tinyrad_internal.h +++ b/include/tinyrad_internal.h | |||
| @@ -190,4 +190,51 @@ _TINYRAD_F void * | |||
| 190 | tinyrad_assertions( void ); | 190 | tinyrad_assertions( void ); |
| 191 | 191 | ||
| 192 | 192 | ||
| 193 | //--------------------// | ||
| 194 | // strings prototypes // | ||
| 195 | //--------------------// | ||
| 196 | #pragma mark strings prototypes | ||
| 197 | |||
| 198 | _TINYRAD_F char * | ||
| 199 | tinyrad_strdup( | ||
| 200 | const char * s1 ); | ||
| 201 | |||
| 202 | |||
| 203 | _TINYRAD_F size_t | ||
| 204 | tinyrad_strlcat( | ||
| 205 | char * restrict dst, | ||
| 206 | const char * restrict src, | ||
| 207 | size_t dstsize ); | ||
| 208 | |||
| 209 | |||
| 210 | _TINYRAD_F size_t | ||
| 211 | tinyrad_strlcpy( | ||
| 212 | char * restrict dst, | ||
| 213 | const char * restrict src, | ||
| 214 | size_t dstsize ); | ||
| 215 | |||
| 216 | |||
| 217 | _TINYRAD_F char * | ||
| 218 | tinyrad_strndup( | ||
| 219 | const char * s1, | ||
| 220 | size_t n ); | ||
| 221 | |||
| 222 | |||
| 223 | _TINYRAD_F int | ||
| 224 | tinyrad_strsadd( | ||
| 225 | char *** strsp, | ||
| 226 | const char * str ); | ||
| 227 | |||
| 228 | |||
| 229 | _TINYRAD_F size_t | ||
| 230 | tinyrad_strscount( | ||
| 231 | char * const * strs ); | ||
| 232 | |||
| 233 | |||
| 234 | _TINYRAD_F int | ||
| 235 | tinyrad_strsdup( | ||
| 236 | char *** dstp, | ||
| 237 | char * const * src ); | ||
| 238 | |||
| 239 | |||
| 193 | #endif /* end of header */ | 240 | #endif /* end of header */ |
