summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-09-26 11:30:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:18 -0500
commite3880fa759cfa03222262327854fe7bbe585fe01 (patch)
tree7000172fad1b5cdcc0d071698ee3e203e61a8f4f /source4/include
parentad053090b817105a0974f4b8bf0b90e002297903 (diff)
downloadsamba-e3880fa759cfa03222262327854fe7bbe585fe01.tar.gz
samba-e3880fa759cfa03222262327854fe7bbe585fe01.tar.bz2
samba-e3880fa759cfa03222262327854fe7bbe585fe01.zip
r2660: - converted the libcli/raw/ library to use talloc_increase_ref_count()
rather than manual reference counts - properly support SMBexit in the cifs and posix backends - added a logoff method to all backends With these changes the RAW-CONTEXT test now passes against the posix backend (This used to be commit c315d6ac1cc40546fde1474702a6d66d07ee13c8)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/cli_context.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/source4/include/cli_context.h b/source4/include/cli_context.h
index 1bfa8dfd24..fa6e293cd9 100644
--- a/source4/include/cli_context.h
+++ b/source4/include/cli_context.h
@@ -63,9 +63,6 @@ struct smbcli_negotiate {
/* this is the context for a SMB socket associated with the socket itself */
struct smbcli_socket {
- /* when the reference count reaches zero then the socket is destroyed */
- int reference_count;
-
struct in_addr dest_ip;
/* dest hostname (which may or may not be a DNS name) */
char *hostname;
@@ -99,9 +96,6 @@ struct smbcli_options {
/* this is the context for the client transport layer */
struct smbcli_transport {
- /* when the reference count reaches zero then the transport is destroyed */
- int reference_count;
-
/* socket level info */
struct smbcli_socket *socket;
@@ -184,9 +178,6 @@ struct smbcli_transport {
/* this is the context for the session layer */
struct smbcli_session {
- /* when the reference count reaches zero then the session is destroyed */
- int reference_count;
-
/* transport layer info */
struct smbcli_transport *transport;
@@ -207,9 +198,6 @@ struct smbcli_session {
smbcli_tree context: internal state for a tree connection.
*/
struct smbcli_tree {
- /* when the reference count reaches zero then the tree is destroyed */
- int reference_count;
-
/* session layer info */
struct smbcli_session *session;