smbc
index
/builddir/build/BUILD/system-config-printer-1.1.13/pysmbc-1.0.6/smbc.so

 
Classes
       
__builtin__.object
Context
Dir
Dirent
File

 
class Context(__builtin__.object)
    SMBC context
============
 
  A context for libsmbclient calls.
 
  Methods defined here:
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
open(...)
open(uri) -> int
 
@type uri: string
@param uri: URI to open
@return: a L{smbc.Fileobject for the URI
opendir(...)
opendir(uri) -> Dir
 
@type uri: string
@param uri: URI to open
@return: a L{smbc.Dirobject for the URI

Data descriptors defined here:
debug
Debug level.
functionAuthData
Function for obtaining authentication data.
netbiosName
Netbios name used for making connections.
optionDebugToStderr
Whether to log to standard error instead of standard output.
optionNoAutoAnonymousLogin
Whether to automatically select anonymous login.
workgroup
Workgroup used for making connections.

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0xf7ad43e0>
T.__new__(S, ...) -> a new object with type S, a subtype of T

 
class Dir(__builtin__.object)
    SMBC Dir
========
 
  A directory object.
 
  Methods defined here:
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
getdents(...)
getdents() -> list
 
@return: a list of L{smbc.Dirent} objects

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0xf7ad4500>
T.__new__(S, ...) -> a new object with type S, a subtype of T

 
class Dirent(__builtin__.object)
    SMBC Dirent
===========
 
  A directory entry object.
 
  Methods defined here:
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
__repr__(...)
x.__repr__() <==> repr(x)

Data descriptors defined here:
comment
comment
name
name
smbc_type
smbc_type

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0xf7ad4720>
T.__new__(S, ...) -> a new object with type S, a subtype of T

 
class File(__builtin__.object)
    SMBC File
=========
 
  A directory object.
 
  Methods defined here:
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0xf7ad45e0>
T.__new__(S, ...) -> a new object with type S, a subtype of T

 
Data
        COMMS_SHARE = 5
FILE_SHARE = 3
FLAG_FALLBACK_AFTER_KERBEROS = 2
FLAG_NO_AUTO_ANONYMOUS_LOGON = 4
FLAG_USE_KERBEROS = 1
IPC_SHARE = 6
PRINTER_SHARE = 4
SERVER = 2
WORKGROUP = 1