diff options
Diffstat (limited to 'src/char/pincode.h')
-rw-r--r-- | src/char/pincode.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/char/pincode.h b/src/char/pincode.h index 209817c78..1856e4baa 100644 --- a/src/char/pincode.h +++ b/src/char/pincode.h @@ -19,17 +19,19 @@ struct pincode_interface { int *enabled; int *changetime; int *maxtry; - unsigned long *multiplier; - unsigned long *baseSeed; + int *charselect; + unsigned int *multiplier; + unsigned int *baseSeed; /* handler */ void (*handle) (int fd, struct char_session_data* sd); - void (*decrypt) (unsigned long userSeed, char* pin); + void (*decrypt) (unsigned int userSeed, char* pin); void (*error) (int account_id); void (*update) (int account_id, char* pin); void (*state) (int fd, struct char_session_data* sd, uint16 state); void (*new) (int fd, struct char_session_data* sd); void (*change) (int fd, struct char_session_data* sd); int (*compare) (int fd, struct char_session_data* sd, char* pin); + void (*pass) (struct char_session_data *sd); void (*check) (int fd, struct char_session_data* sd); bool (*config_read) (char *w1, char *w2); } pincode_s; |