diff options
author | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-06-27 06:56:26 -0700 |
---|---|---|
committer | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-06-27 06:56:26 -0700 |
commit | f37a3a84fafb91bcfc109fed95aa6d42726f1bf7 (patch) | |
tree | cde1e5f47f191beb4a9cefcd87872aef53b5fcec /src/clientserver.h | |
parent | e261cc9e8fa67c9020fa0a82bd1a7041ecd351a0 (diff) | |
parent | 13cf5425db613dc0a4323c87a4988bb18fb87aca (diff) | |
download | dragonfireclient-f37a3a84fafb91bcfc109fed95aa6d42726f1bf7.tar.xz |
Merge pull request #13 from Bahamada/upstream_merge
Upstream merge
Diffstat (limited to 'src/clientserver.h')
-rw-r--r-- | src/clientserver.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/clientserver.h b/src/clientserver.h index 256aed362..7972762c0 100644 --- a/src/clientserver.h +++ b/src/clientserver.h @@ -24,6 +24,9 @@ with this program; if not, write to the Free Software Foundation, Inc., #define PROTOCOL_ID 0x4f457403 +#define PASSWORD_SIZE 28 // Maximum password length. Allows for + // base64-encoded SHA-1 (27+\0). + enum ToClientCommand { TOCLIENT_INIT = 0x10, @@ -154,6 +157,8 @@ enum ToClientCommand TOCLIENT_ACCESS_DENIED = 0x35, /* u16 command + u16 reason_length + wstring reason */ }; |