Eneboo - Documentación para desarrolladores
|
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <math.h>
#include "triodef.h"
#include "triostr.h"
Clases | |
struct | _trio_string_t |
'defines' | |
#define | TRIO_STRING_PRIVATE TRIO_PRIVATE |
#define | NULL 0 |
#define | NIL ((char)0) |
#define | FALSE (1 == 0) |
#define | TRUE (! FALSE) |
#define | BOOLEAN_T int |
#define | USE_TOLOWER |
#define | USE_TOUPPER |
Funciones | |
TRIO_STRING_PUBLIC char *trio_create | TRIO_ARGS1 ((size), size_t size) |
TRIO_STRING_PUBLIC void trio_destroy | TRIO_ARGS1 ((string), char *string) |
TRIO_STRING_PUBLIC size_t trio_length | TRIO_ARGS1 ((string), TRIO_CONST char *string) |
TRIO_STRING_PUBLIC int trio_append | TRIO_ARGS2 ((target, source), char *target, TRIO_CONST char *source) |
TRIO_STRING_PUBLIC int trio_append_max | TRIO_ARGS3 ((target, max, source), char *target, size_t max, TRIO_CONST char *source) |
TRIO_STRING_PUBLIC int trio_contains | TRIO_ARGS2 ((string, substring), TRIO_CONST char *string, TRIO_CONST char *substring) |
TRIO_STRING_PRIVATE char *TrioDuplicateMax | TRIO_ARGS2 ((source, size), TRIO_CONST char *source, size_t size) |
TRIO_STRING_PUBLIC char *trio_duplicate | TRIO_ARGS1 ((source), TRIO_CONST char *source) |
TRIO_STRING_PUBLIC char *trio_duplicate_max | TRIO_ARGS2 ((source, max), TRIO_CONST char *source, size_t max) |
TRIO_STRING_PUBLIC int trio_equal | TRIO_ARGS2 ((first, second), TRIO_CONST char *first, TRIO_CONST char *second) |
TRIO_STRING_PUBLIC int trio_equal_case_max | TRIO_ARGS3 ((first, max, second), TRIO_CONST char *first, size_t max, TRIO_CONST char *second) |
TRIO_STRING_PUBLIC TRIO_CONST char *trio_error | TRIO_ARGS1 ((error_number), int error_number) |
TRIO_STRING_PUBLIC size_t trio_format_date_max | TRIO_ARGS4 ((target, max, format, datetime), char *target, size_t max, TRIO_CONST char *format, TRIO_CONST struct tm *datetime) |
TRIO_STRING_PUBLIC unsigned long trio_hash | TRIO_ARGS2 ((string, type), TRIO_CONST char *string, int type) |
TRIO_STRING_PUBLIC char *trio_index | TRIO_ARGS2 ((string, character), TRIO_CONST char *string, int character) |
TRIO_STRING_PUBLIC int trio_lower | TRIO_ARGS1 ((target), char *target) |
TRIO_STRING_PUBLIC int trio_match | TRIO_ARGS2 ((string, pattern), TRIO_CONST char *string, TRIO_CONST char *pattern) |
TRIO_STRING_PUBLIC size_t trio_span_function | TRIO_ARGS3 ((target, source, Function), char *target, TRIO_CONST char *source, int(*Function) TRIO_PROTO((int))) |
TRIO_STRING_PUBLIC char *trio_substring_max | TRIO_ARGS3 ((string, max, substring), TRIO_CONST char *string, size_t max, TRIO_CONST char *substring) |
TRIO_STRING_PUBLIC char *trio_tokenize | TRIO_ARGS2 ((string, delimiters), char *string, TRIO_CONST char *delimiters) |
TRIO_STRING_PUBLIC trio_long_double_t trio_to_long_double | TRIO_ARGS2 ((source, endp), TRIO_CONST char *source, char **endp) |
TRIO_STRING_PUBLIC long trio_to_long | TRIO_ARGS3 ((string, endp, base), TRIO_CONST char *string, char **endp, int base) |
TRIO_STRING_PUBLIC int trio_to_lower | TRIO_ARGS1 ((source), int source) |
TRIO_STRING_PRIVATE trio_string_t * | TrioStringAlloc (TRIO_NOARGS) |
TRIO_STRING_PRIVATE BOOLEAN_T TrioStringGrow | TRIO_ARGS2 ((self, delta), trio_string_t *self, size_t delta) |
TRIO_STRING_PRIVATE BOOLEAN_T TrioStringGrowTo | TRIO_ARGS2 ((self, length), trio_string_t *self, size_t length) |
TRIO_STRING_PUBLIC trio_string_t *trio_string_create | TRIO_ARGS1 ((initial_size), int initial_size) |
TRIO_STRING_PUBLIC void trio_string_destroy | TRIO_ARGS1 ((self), trio_string_t *self) |
TRIO_STRING_PUBLIC char *trio_string_get | TRIO_ARGS2 ((self, offset), trio_string_t *self, int offset) |
TRIO_STRING_PUBLIC void trio_xstring_set | TRIO_ARGS2 ((self, buffer), trio_string_t *self, char *buffer) |
TRIO_STRING_PUBLIC int trio_string_append | TRIO_ARGS2 ((self, other), trio_string_t *self, trio_string_t *other) |
TRIO_STRING_PUBLIC int trio_xstring_append | TRIO_ARGS2 ((self, other), trio_string_t *self, TRIO_CONST char *other) |
TRIO_STRING_PUBLIC int trio_xstring_append_char | TRIO_ARGS2 ((self, character), trio_string_t *self, char character) |
TRIO_STRING_PUBLIC trio_string_t *trio_string_duplicate | TRIO_ARGS1 ((other), trio_string_t *other) |
TRIO_STRING_PUBLIC trio_string_t *trio_xstring_duplicate | TRIO_ARGS1 ((other), TRIO_CONST char *other) |
TRIO_STRING_PUBLIC int trio_string_equal_max | TRIO_ARGS3 ((self, max, other), trio_string_t *self, size_t max, trio_string_t *other) |
TRIO_STRING_PUBLIC int trio_xstring_equal_max | TRIO_ARGS3 ((self, max, other), trio_string_t *self, size_t max, TRIO_CONST char *other) |
TRIO_STRING_PUBLIC size_t trio_string_format_date_max | TRIO_ARGS4 ((self, max, format, datetime), trio_string_t *self, size_t max, TRIO_CONST char *format, TRIO_CONST struct tm *datetime) |
TRIO_STRING_PUBLIC char *trio_string_index | TRIO_ARGS2 ((self, character), trio_string_t *self, int character) |
#define BOOLEAN_T int |
#define FALSE (1 == 0) |
#define NIL ((char)0) |
#define NULL 0 |
#define TRIO_STRING_PRIVATE TRIO_PRIVATE |
#define TRUE (! FALSE) |
#define USE_TOLOWER |
#define USE_TOUPPER |