16 #ifndef STRING_UTILS_INC 17 #define STRING_UTILS_INC 66 extern void message(
const char* msg, ...);
char * strRemoveSuffix(char *filename, char c='.')
Returns a fresh copy of the name of a file without suffix.
char * string
This is the string.
void FreeStringBuffer(StringBuffer **s)
Given a pointer to a stringbuffer pointer, free it and clear it.
StringBuffer * NewStringBuffer(int length)
Make a new stringbuffer.
char * strBaseName(char *filename)
Returns the name of a file without leading pathname.
struct StringBuffer_ StringBuffer
The StringBuffer structure stores buffers of strings.
StringBuffer * read_string(FILE *f, StringBuffer *s)
Reads a string dynamically.
Scalar length(const Quaternion &q)
unsigned int length
This is the buffer length.
char * string_copy(char *c)
copies a string
char * c
This is the buffer.
char * strConcat(int n,...)
Returns the concatenation n strings.
void message(const char *msg,...)
Prints a message.
The StringBuffer structure stores buffers of strings.
StringBuffer * SetStringBufferLength(StringBuffer *s, unsigned int l)