smb_rq.h (613a2f6ba31e891e3d947a356daf5e563d43c1ce) smb_rq.h (148c5f43199ca0b43fc8e3b643aab11cd66ea327)
1/*
2 * Copyright (c) 2000-2001, Boris Popov
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 19 unchanged lines hidden (view full) ---

28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * $Id: smb_rq.h,v 1.9 2005/01/22 22:20:58 lindak Exp $
33 */
34
35/*
1/*
2 * Copyright (c) 2000-2001, Boris Popov
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 19 unchanged lines hidden (view full) ---

28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * $Id: smb_rq.h,v 1.9 2005/01/22 22:20:58 lindak Exp $
33 */
34
35/*
36 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
37 * Use is subject to license terms.
36 * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
38 */
39
40#ifndef _NETSMB_SMB_RQ_H_
41#define _NETSMB_SMB_RQ_H_
42
43#include <netsmb/mchain.h>
44#include <sys/queue.h>
45

--- 150 unchanged lines hidden (view full) ---

196int smb_rq_simple_timed(struct smb_rq *rqp, int timeout);
197
198int smb_t2_alloc(struct smb_connobj *layer, ushort_t setup,
199 struct smb_cred *scred, struct smb_t2rq **rqpp);
200int smb_t2_init(struct smb_t2rq *rqp, struct smb_connobj *layer,
201 ushort_t *setup, int setupcnt, struct smb_cred *scred);
202void smb_t2_done(struct smb_t2rq *t2p);
203int smb_t2_request(struct smb_t2rq *t2p);
37 */
38
39#ifndef _NETSMB_SMB_RQ_H_
40#define _NETSMB_SMB_RQ_H_
41
42#include <netsmb/mchain.h>
43#include <sys/queue.h>
44

--- 150 unchanged lines hidden (view full) ---

195int smb_rq_simple_timed(struct smb_rq *rqp, int timeout);
196
197int smb_t2_alloc(struct smb_connobj *layer, ushort_t setup,
198 struct smb_cred *scred, struct smb_t2rq **rqpp);
199int smb_t2_init(struct smb_t2rq *rqp, struct smb_connobj *layer,
200 ushort_t *setup, int setupcnt, struct smb_cred *scred);
201void smb_t2_done(struct smb_t2rq *t2p);
202int smb_t2_request(struct smb_t2rq *t2p);
204uint32_t smb_t2_err(struct smb_t2rq *t2p);
205
206int smb_nt_alloc(struct smb_connobj *layer, ushort_t fn,
207 struct smb_cred *scred, struct smb_ntrq **rqpp);
208int smb_nt_init(struct smb_ntrq *rqp, struct smb_connobj *layer,
209 ushort_t fn, struct smb_cred *scred);
210void smb_nt_done(struct smb_ntrq *ntp);
211int smb_nt_request(struct smb_ntrq *ntp);
212
213#endif /* _NETSMB_SMB_RQ_H_ */
203
204int smb_nt_alloc(struct smb_connobj *layer, ushort_t fn,
205 struct smb_cred *scred, struct smb_ntrq **rqpp);
206int smb_nt_init(struct smb_ntrq *rqp, struct smb_connobj *layer,
207 ushort_t fn, struct smb_cred *scred);
208void smb_nt_done(struct smb_ntrq *ntp);
209int smb_nt_request(struct smb_ntrq *ntp);
210
211#endif /* _NETSMB_SMB_RQ_H_ */