about summary refs log tree commit diff
path: root/src/base/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/system.h')
-rw-r--r--src/base/system.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/base/system.h b/src/base/system.h
index b220810e..3aa01cab 100644
--- a/src/base/system.h
+++ b/src/base/system.h
@@ -691,6 +691,18 @@ void str_append(char *dst, const char *src, int dst_size);
 void str_copy(char *dst, const char *src, int dst_size);
 
 /*
+	Function: str_length
+		Returns the length of a zero terminated string.
+		
+	Parameters:
+		str - Pointer to the string.
+		
+	Returns:
+		Length of string in bytes excluding the zero termination.
+*/
+int str_length(const char *str);
+
+/*
 	Function: str_format
 		Performs printf formating into a buffer.
 		
@@ -922,6 +934,9 @@ typedef struct
 
 void net_stats(NETSTATS *stats);
 
+int str_isspace(char c);
+
+
 /*
 	Function: gui_messagebox
 		Display plain OS-dependent message box