prop_string_t
prop_string_create(void)
prop_string_t
prop_string_create_cstring(const char *cstring)
prop_string_t
prop_string_create_cstring_nocopy(const char *cstring)
prop_string_t
prop_string_copy(prop_string_t string)
prop_string_t
prop_string_copy_mutable(prop_string_t string)
char *
prop_string_cstring(prop_string_t string)
const char *
prop_string_cstring_nocopy(prop_string_t string)
bool
prop_string_append(prop_string_t str1, prop_string_t str2)
bool
prop_string_append_cstring(prop_string_t string, const char *cstring)
bool
prop_string_equals(prop_string_t str1, prop_string_t str2)
bool
prop_string_equals_cstring(prop_string_t string, const char *cstring)
void)NULL
on failure.
const char *cstring)cstring.
Returns
NULL
on failure.
const char *cstring)cstring.
Returns
NULL
on failure.
prop_string_t string)NULL
on failure.
prop_string_t string)NULL
on failure.
prop_string_t string)prop_string_t string)true
if the string is mutable.
If the supplied object isn't a string,
false
is returned.
prop_string_t string)
In user space, the buffer is allocated using
malloc(3).
In the kernel, the buffer is allocated using
malloc(9)
using the malloc type
M_TEMP.
Returns
NULL
on failure.
prop_string_t string)NULL
is returned.
prop_string_t str1, prop_string_t str2)str2
to
str1,
which must be mutable.
Returns
true
upon success and
false
otherwise.
prop_string_t string, const char *cstring)cstring
to
string,
which must be mutable.
Returns
true
upon success and
false
otherwise.
prop_string_t str1, prop_string_t str2)true
if the two string objects are equivalent.
prop_string_t string, const char *cstring)true
if the string's value is equivalent to
cstring.