diff options
Diffstat (limited to 'source/include/proto.h')
-rw-r--r-- | source/include/proto.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/include/proto.h b/source/include/proto.h index 90b3f4cd73c..5b14e4bc9b8 100644 --- a/source/include/proto.h +++ b/source/include/proto.h @@ -262,6 +262,10 @@ void generate_random_buffer( unsigned char *out, int len, BOOL re_seed); /*The following definitions come from lib/getopt.c */ +int getopt(int argc, char *const *argv, const char *optstring); +int getopt_long(int argc, char *const *argv, const char *options, + const struct option *long_options, int *opt_index); +void getopt_dummy(void); /*The following definitions come from lib/getsmbpass.c */ @@ -586,8 +590,7 @@ BOOL remote_password_change(const char *remote_machine, const char *user_name, void pwd_init(struct pwd_info *pwd); BOOL pwd_is_nullpwd(const struct pwd_info *pwd); -void pwd_obfuscate_key(struct pwd_info *pwd, uint32 int_key, char *str_key); -BOOL pwd_compare(const struct pwd_info *_pwd1, const struct pwd_info *_pwd2); +BOOL pwd_compare(const struct pwd_info *pwd1, const struct pwd_info *pwd2); void pwd_read(struct pwd_info *pwd, char *passwd_report, BOOL do_encrypt); void pwd_set_nullpwd(struct pwd_info *pwd); void pwd_set_cleartext(struct pwd_info *pwd, char *clr); @@ -620,7 +623,7 @@ void cred_hash1(uchar *out, const uchar *in, const uchar *key); void cred_hash2(uchar *out,uchar *in,uchar *key); void cred_hash3(uchar *out, const uchar *in,uchar *key, int forw); void SamOEMhash( uchar *data, const uchar *key, int val); -void sam_pwd_hash(uint32 rid, const uchar *in, uchar *out, int forw); +void sam_pwd_hash(unsigned int rid, const uchar *in, uchar *out, int forw); /*The following definitions come from libsmb/smbencrypt.c */ |