File: nis.py

package info (click to toggle)
kdevelop-python 24.12.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 12,640 kB
  • sloc: python: 183,048; cpp: 18,798; xml: 140; sh: 14; makefile: 9
file content (40 lines) | stat: -rw-r--r-- 981 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# AUTO-GENERATED FILE -- DO NOT EDIT

""" This module contains functions for accessing NIS maps.
 """

__package__ = None

def cat():
  """ cat(map, domain = defaultdomain)
  Returns the entire map as a dictionary. Optionally domain can be
  specified but it defaults to the system default domain.
   """
  pass

class error(Exception):

  pass

def get_default_domain():
  """ get_default_domain() -> str
  Corresponds to the C library yp_get_default_domain() call, returning
  the default NIS domain.
   """
  return ""

def maps(arg0):
  """ maps(domain = defaultdomain)
  Returns an array of all available NIS maps within a domain. If domain
  is not specified it defaults to the system default domain.
   """
  return None

def match():
  """ match(key, map, domain = defaultdomain)
  Corresponds to the C library yp_match() call, returning the value of
  key in the given map. Optionally domain can be specified but it
  defaults to the system default domain.
   """
  pass