summaryrefslogtreecommitdiffstats
path: root/str.h
diff options
context:
space:
mode:
authorMartin Nagy <mnagy@redhat.com>2009-03-25 17:59:54 +0100
committerMartin Nagy <mnagy@redhat.com>2009-03-25 17:59:54 +0100
commit743aed3ee3952c13f79289d1a7b8efe2aeaa20bf (patch)
tree698ef5b696dba655c11399be7bcd85f96094890c /str.h
parent571bf6b7f2fd9ca6551b207e60f486473c45ba96 (diff)
downloadldap_driver_testing-743aed3ee3952c13f79289d1a7b8efe2aeaa20bf.tar.gz
ldap_driver_testing-743aed3ee3952c13f79289d1a7b8efe2aeaa20bf.tar.xz
ldap_driver_testing-743aed3ee3952c13f79289d1a7b8efe2aeaa20bf.zip
Refactoring related to isc_buffer_t.
Diffstat (limited to 'str.h')
-rw-r--r--str.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/str.h b/str.h
index 08305b6..4fdf177 100644
--- a/str.h
+++ b/str.h
@@ -52,11 +52,15 @@ void str_clear(ld_string_t *dest);
isc_result_t str_init_char(ld_string_t *dest, const char *src);
isc_result_t str_cat_char(ld_string_t *dest, const char *src);
isc_result_t str_cat_char_len(ld_string_t *dest, const char *src, size_t len);
+isc_result_t str_cat_isc_region(ld_string_t *dest, const isc_region_t *region);
+isc_result_t str_cat_isc_buffer(ld_string_t *dest, const isc_buffer_t *buffer);
isc_result_t str_cat(ld_string_t *dest, const ld_string_t *src);
isc_result_t str_sprintf(ld_string_t *dest, const char *format, ...);
isc_result_t str_vsprintf(ld_string_t *dest, const char *format, va_list ap);
void str_toupper(ld_string_t *str);
+void str_to_isc_buffer(const ld_string_t *src, isc_buffer_t *dest);
+
int str_casecmp_char(const ld_string_t *s1, const char *s2);
isc_result_t str_new_split(isc_mem_t *mctx, ld_split_t **splitp);