summaryrefslogtreecommitdiff
path: root/src/common/utils.h
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-06 04:25:13 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-06 04:25:13 +0000
commit49b620d06a9b5c835e97aa238b42d5d56743e6fb (patch)
tree878e65578a3c75ed21143c1fc3d5c18e0eceade3 /src/common/utils.h
parent8d11ccf2e1bd71bde6d765bebe7f8a4ac0bc5d2f (diff)
downloadhercules-49b620d06a9b5c835e97aa238b42d5d56743e6fb.tar.gz
hercules-49b620d06a9b5c835e97aa238b42d5d56743e6fb.tar.bz2
hercules-49b620d06a9b5c835e97aa238b42d5d56743e6fb.tar.xz
hercules-49b620d06a9b5c835e97aa238b42d5d56743e6fb.zip
- Added StringBuf_Vprintf to utils.c and changed the showmsg.c buffer.
Now it uses a static buffer and a StringBuf when needed (a debug message indicating the static buffer needs to be increased is shown). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9414 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/utils.h')
-rw-r--r--src/common/utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/utils.h b/src/common/utils.h
index 1f7eeba5c..fdc4afd9f 100644
--- a/src/common/utils.h
+++ b/src/common/utils.h
@@ -32,6 +32,7 @@ struct StringBuf {
struct StringBuf * StringBuf_Malloc(void);
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 *);
char * StringBuf_Value(struct StringBuf *);