summaryrefslogtreecommitdiff
path: root/src/common/socket.h
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-09 01:49:50 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-09 01:49:50 +0000
commite7beef1499ae660af01f163a16b9040bd60d8845 (patch)
treecefcd0a5eff2a2f041ab5e07f6f14cbc8549d567 /src/common/socket.h
parent6f96f2dea64de97bd5a16a146c8ce943b01563de (diff)
downloadhercules-e7beef1499ae660af01f163a16b9040bd60d8845.tar.gz
hercules-e7beef1499ae660af01f163a16b9040bd60d8845.tar.bz2
hercules-e7beef1499ae660af01f163a16b9040bd60d8845.tar.xz
hercules-e7beef1499ae660af01f163a16b9040bd60d8845.zip
- Added info on packet 0x86 (simple move packet). Not usable until a clear separation between entering sight/leaving sight/walking in sight is done.
- Propagating const char* from the script engine. - ".gat" is appended to the map name before sending the changemapserver packet to the client. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9979 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/socket.h')
-rw-r--r--src/common/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/socket.h b/src/common/socket.h
index fd8165cba..c56fb8387 100644
--- a/src/common/socket.h
+++ b/src/common/socket.h
@@ -131,7 +131,7 @@ void set_defaultparse(ParseFunc defaultparse);
//hostname is the name to resolve.
//ip is an array of char[4] where the individual parts of the ip are stored (optional)
//ip_str is a char[16] where the whole ip is stored in string notation (optional)
-in_addr_t resolve_hostbyname(char* hostname, unsigned char* ip, char* ip_str);
+in_addr_t resolve_hostbyname(const char* hostname, unsigned char* ip, char* ip_str);
int socket_getips(uint32* ips, int max);