summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-12-28 11:55:47 +0100
committerVolker Lendecke <vl@samba.org>2010-12-28 12:59:11 +0100
commite1ab3c3470a7f1159d52ed0c1eacf4a5a7b6bc2b (patch)
tree70788036966b2f284583d2b5fefb415afbe21992 /source3/libsmb
parentb0ff97d8d37957fc34861214b6cbab513072bef1 (diff)
downloadsamba-e1ab3c3470a7f1159d52ed0c1eacf4a5a7b6bc2b.tar.gz
samba-e1ab3c3470a7f1159d52ed0c1eacf4a5a7b6bc2b.tar.bz2
samba-e1ab3c3470a7f1159d52ed0c1eacf4a5a7b6bc2b.zip
s3: Remove an ancient typedef
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/namequery.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c
index e5eb75682e..e20945177e 100644
--- a/source3/libsmb/namequery.c
+++ b/source3/libsmb/namequery.c
@@ -212,11 +212,11 @@ static int generate_trn_id(void)
Parse a node status response into an array of structures.
****************************************************************************/
-static NODE_STATUS_STRUCT *parse_node_status(char *p,
+static struct node_status *parse_node_status(char *p,
int *num_names,
struct node_status_extra *extra)
{
- NODE_STATUS_STRUCT *ret;
+ struct node_status *ret;
int i;
*num_names = CVAL(p,0);
@@ -224,7 +224,7 @@ static NODE_STATUS_STRUCT *parse_node_status(char *p,
if (*num_names == 0)
return NULL;
- ret = SMB_MALLOC_ARRAY(NODE_STATUS_STRUCT,*num_names);
+ ret = SMB_MALLOC_ARRAY(struct node_status,*num_names);
if (!ret)
return NULL;
@@ -278,7 +278,7 @@ static bool send_packet_request(struct packet_struct *p)
structures holding the returned names or NULL if the query failed.
**************************************************************************/
-NODE_STATUS_STRUCT *node_status_query(int fd,
+struct node_status *node_status_query(int fd,
struct nmb_name *name,
const struct sockaddr_storage *to_ss,
int *num_names,
@@ -291,7 +291,7 @@ NODE_STATUS_STRUCT *node_status_query(int fd,
struct packet_struct p;
struct packet_struct *p2;
struct nmb_packet *nmb = &p.packet.nmb;
- NODE_STATUS_STRUCT *ret;
+ struct node_status *ret;
ZERO_STRUCT(p);
@@ -381,7 +381,7 @@ bool name_status_find(const char *q_name,
{
char addr[INET6_ADDRSTRLEN];
struct sockaddr_storage ss;
- NODE_STATUS_STRUCT *status = NULL;
+ struct node_status *status = NULL;
struct nmb_name nname;
int count, i;
int sock;