summaryrefslogtreecommitdiff
path: root/src/common/utils.h
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-22 15:45:37 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-22 15:45:37 +0000
commite828c8642a637a3e3f63450b75ebc93f2bd4bce4 (patch)
treec21ac768b9b756ccdc36cf8f34d636d157cff337 /src/common/utils.h
parentb574d2412b1c882a1f7cc70e460662e1725ce97d (diff)
downloadhercules-e828c8642a637a3e3f63450b75ebc93f2bd4bce4.tar.gz
hercules-e828c8642a637a3e3f63450b75ebc93f2bd4bce4.tar.bz2
hercules-e828c8642a637a3e3f63450b75ebc93f2bd4bce4.tar.xz
hercules-e828c8642a637a3e3f63450b75ebc93f2bd4bce4.zip
* Extended the functionality of StringBuf - length and appending a string.
* menu/select/prompt script functions support grouped and empty options. The selected option number is consistent with them. * More work on ticket #41. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10316 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/utils.h')
-rw-r--r--src/common/utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/utils.h b/src/common/utils.h
index 3ee419c6f..ec9cb5416 100644
--- a/src/common/utils.h
+++ b/src/common/utils.h
@@ -23,6 +23,8 @@ void StringBuf_Init(struct StringBuf *);
int StringBuf_Vprintf(struct StringBuf *,const char *,va_list);
int StringBuf_Printf(struct StringBuf *,const char *,...);
int StringBuf_Append(struct StringBuf *,const struct StringBuf *);
+int StringBuf_AppendStr(struct StringBuf* sbuf, const char* str);
+int StringBuf_Length(struct StringBuf* sbuf);
char * StringBuf_Value(struct StringBuf *);
void StringBuf_Destroy(struct StringBuf *);
void StringBuf_Free(struct StringBuf *);