summaryrefslogtreecommitdiffstats
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-01-04 12:48:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:06:01 -0500
commit2b509f470d616c8df69e72ec04e25114d22af50f (patch)
treee6d98f60d028a0ec661ee7ac36ccf5ca94e5ab7b /source3/nsswitch
parentd64db1c5095860f2b9a8c95c1208acb3bf900bfe (diff)
downloadsamba-2b509f470d616c8df69e72ec04e25114d22af50f.tar.gz
samba-2b509f470d616c8df69e72ec04e25114d22af50f.tar.xz
samba-2b509f470d616c8df69e72ec04e25114d22af50f.zip
r12713: Remove use of uint8_t -> uint8.
Jeremy. (This used to be commit 4473ac4ef9c86574fc49b1e67089b59b14b6d10d)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_ldap.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/nsswitch/winbindd_ldap.c b/source3/nsswitch/winbindd_ldap.c
index 4eedf0ce9f3..736d852a74e 100644
--- a/source3/nsswitch/winbindd_ldap.c
+++ b/source3/nsswitch/winbindd_ldap.c
@@ -34,7 +34,7 @@ struct ldap_message_queue {
};
struct rw_buffer {
- uint8_t *data;
+ uint8 *data;
size_t ofs, length;
};
@@ -67,7 +67,7 @@ struct pending_ldap_message {
struct pending_ldap_message *pending_messages;
-static BOOL append_to_buf(struct rw_buffer *buf, uint8_t *data, size_t length)
+static BOOL append_to_buf(struct rw_buffer *buf, uint8 *data, size_t length)
{
buf->data = SMB_REALLOC(buf->data, buf->length+length);
@@ -92,7 +92,7 @@ static BOOL read_into_buf(int fd, struct rw_buffer *buf)
return append_to_buf(buf, tmp_buf, len);
}
-static void peek_into_buf(struct rw_buffer *buf, uint8_t **out,
+static void peek_into_buf(struct rw_buffer *buf, uint8 **out,
size_t *out_length)
{
*out = buf->data;
@@ -101,7 +101,7 @@ static void peek_into_buf(struct rw_buffer *buf, uint8_t **out,
static void consumed_from_buf(struct rw_buffer *buf, size_t length)
{
- uint8_t *new = memdup(buf->data+length, buf->length-length);
+ uint8 *new = memdup(buf->data+length, buf->length-length);
free(buf->data);
buf->data = new;
buf->length -= length;
@@ -109,7 +109,7 @@ static void consumed_from_buf(struct rw_buffer *buf, size_t length)
static BOOL write_out_of_buf(int fd, struct rw_buffer *buf)
{
- uint8_t *tmp;
+ uint8 *tmp;
size_t tmp_length, written;
peek_into_buf(buf, &tmp, &tmp_length);
@@ -176,7 +176,7 @@ static void new_ldap_client(int listen_sock)
static struct ldap_message *get_msg_from_buf(struct rw_buffer *buffer,
BOOL *error)
{
- uint8_t *buf;
+ uint8 *buf;
int buf_length, msg_length;
DATA_BLOB blob;
ASN1_DATA data;