summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-01-31 16:02:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:26 -0500
commitf0d97d27aefa746f7c925296a2e4fa4d57b3219d (patch)
tree275691350e2417de5532573954e5536876026155 /source4/libcli
parent2cb711f39f80adbe7375c809c57106ac8e71d5d8 (diff)
downloadsamba-f0d97d27aefa746f7c925296a2e4fa4d57b3219d.tar.gz
samba-f0d97d27aefa746f7c925296a2e4fa4d57b3219d.tar.bz2
samba-f0d97d27aefa746f7c925296a2e4fa4d57b3219d.zip
r5136: fix types
metze (This used to be commit 344367cc4cdb232c394ce45ab64cc357cce4259f)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/auth/gensec.c4
-rw-r--r--source4/libcli/auth/gensec.h6
-rw-r--r--source4/libcli/auth/gssapi_parse.c4
-rw-r--r--source4/libcli/auth/spnego.h2
4 files changed, 8 insertions, 8 deletions
diff --git a/source4/libcli/auth/gensec.c b/source4/libcli/auth/gensec.c
index e9dea6be33..e0fa27359a 100644
--- a/source4/libcli/auth/gensec.c
+++ b/source4/libcli/auth/gensec.c
@@ -487,7 +487,7 @@ NTSTATUS gensec_update(struct gensec_security *gensec_security, TALLOC_CTX *out_
*/
void gensec_want_feature(struct gensec_security *gensec_security,
- uint32 feature)
+ uint32_t feature)
{
gensec_security->want_features |= feature;
}
@@ -498,7 +498,7 @@ void gensec_want_feature(struct gensec_security *gensec_security,
*/
BOOL gensec_have_feature(struct gensec_security *gensec_security,
- uint32 feature)
+ uint32_t feature)
{
if (!gensec_security->ops->have_feature) {
return False;
diff --git a/source4/libcli/auth/gensec.h b/source4/libcli/auth/gensec.h
index 434f3fdb4d..a555584840 100644
--- a/source4/libcli/auth/gensec.h
+++ b/source4/libcli/auth/gensec.h
@@ -58,7 +58,7 @@ struct auth_session_info;
struct gensec_security_ops {
const char *name;
const char *sasl_name;
- uint8 auth_type; /* 0 if not offered on DCE-RPC */
+ uint8_t auth_type; /* 0 if not offered on DCE-RPC */
const char *oid; /* NULL if not offered by SPENGO */
NTSTATUS (*client_start)(struct gensec_security *gensec_security);
NTSTATUS (*server_start)(struct gensec_security *gensec_security);
@@ -93,7 +93,7 @@ struct gensec_security_ops {
NTSTATUS (*session_info)(struct gensec_security *gensec_security,
struct auth_session_info **session_info);
BOOL (*have_feature)(struct gensec_security *gensec_security,
- uint32 feature);
+ uint32_t feature);
BOOL enabled;
};
@@ -109,7 +109,7 @@ struct gensec_security {
struct gensec_target target;
enum gensec_role gensec_role;
BOOL subcontext;
- uint32 want_features;
+ uint32_t want_features;
};
/* this structure is used by backends to determine the size of some critical types */
diff --git a/source4/libcli/auth/gssapi_parse.c b/source4/libcli/auth/gssapi_parse.c
index e1fb2e9cf5..f984f6303f 100644
--- a/source4/libcli/auth/gssapi_parse.c
+++ b/source4/libcli/auth/gssapi_parse.c
@@ -31,7 +31,7 @@
/*
generate a krb5 GSS-API wrapper packet given a ticket
*/
-DATA_BLOB gensec_gssapi_gen_krb5_wrap(TALLOC_CTX *mem_ctx, const DATA_BLOB *ticket, const uint8 tok_id[2])
+DATA_BLOB gensec_gssapi_gen_krb5_wrap(TALLOC_CTX *mem_ctx, const DATA_BLOB *ticket, const uint8_t tok_id[2])
{
struct asn1_data data;
DATA_BLOB ret = data_blob(NULL,0);
@@ -63,7 +63,7 @@ DATA_BLOB gensec_gssapi_gen_krb5_wrap(TALLOC_CTX *mem_ctx, const DATA_BLOB *tick
/*
parse a krb5 GSS-API wrapper packet giving a ticket
*/
-BOOL gensec_gssapi_parse_krb5_wrap(TALLOC_CTX *mem_ctx, const DATA_BLOB *blob, DATA_BLOB *ticket, uint8 tok_id[2])
+BOOL gensec_gssapi_parse_krb5_wrap(TALLOC_CTX *mem_ctx, const DATA_BLOB *blob, DATA_BLOB *ticket, uint8_t tok_id[2])
{
BOOL ret;
struct asn1_data data;
diff --git a/source4/libcli/auth/spnego.h b/source4/libcli/auth/spnego.h
index 3b9d148c67..1064370146 100644
--- a/source4/libcli/auth/spnego.h
+++ b/source4/libcli/auth/spnego.h
@@ -49,7 +49,7 @@ struct spnego_negTokenInit {
};
struct spnego_negTokenTarg {
- uint8 negResult;
+ uint8_t negResult;
const char *supportedMech;
DATA_BLOB responseToken;
DATA_BLOB mechListMIC;