summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-14 22:18:29 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-15 11:49:29 +1000
commit4b61c4891a309172057caf058c39931fe752bd65 (patch)
tree99bb5fe1969cbe328468534703d80f4effe0cbfb /source3/include
parent726ecf6a915ff534af4076e9d0cdebf8b5435d61 (diff)
downloadsamba-4b61c4891a309172057caf058c39931fe752bd65.tar.gz
samba-4b61c4891a309172057caf058c39931fe752bd65.tar.bz2
samba-4b61c4891a309172057caf058c39931fe752bd65.zip
s3-secrets: Use C99 types
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/secrets.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/include/secrets.h b/source3/include/secrets.h
index 5b778d11e2..fa215fff8d 100644
--- a/source3/include/secrets.h
+++ b/source3/include/secrets.h
@@ -58,7 +58,7 @@
/* structure for storing machine account password
(ie. when samba server is member of a domain */
struct machine_acct_pass {
- uint8 hash[16];
+ uint8_t hash[16];
time_t mod_time;
};
@@ -69,12 +69,12 @@ struct machine_acct_pass {
#define SECRETS_AFS_MAXKEYS 8
struct afs_key {
- uint32 kvno;
+ uint32_t kvno;
char key[8];
};
struct afs_keyfile {
- uint32 nkeys;
+ uint32_t nkeys;
struct afs_key entry[SECRETS_AFS_MAXKEYS];
};
@@ -100,10 +100,10 @@ bool secrets_fetch_domain_guid(const char *domain, struct GUID *guid);
void *secrets_get_trust_account_lock(TALLOC_CTX *mem_ctx, const char *domain);
enum netr_SchannelType get_default_sec_channel(void);
bool secrets_fetch_trust_account_password_legacy(const char *domain,
- uint8 ret_pwd[16],
+ uint8_t ret_pwd[16],
time_t *pass_last_set_time,
enum netr_SchannelType *channel);
-bool secrets_fetch_trust_account_password(const char *domain, uint8 ret_pwd[16],
+bool secrets_fetch_trust_account_password(const char *domain, uint8_t ret_pwd[16],
time_t *pass_last_set_time,
enum netr_SchannelType *channel);
bool secrets_fetch_trusted_domain_password(const char *domain, char** pwd,