Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pymilter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
misc
pymilter
Commits
c29a21d2
Commit
c29a21d2
authored
15 years ago
by
Stuart Gathman
Browse files
Options
Downloads
Patches
Plain Diff
Document getdiag, getversion.
parent
25a02d9d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/milter.py
+28
-0
28 additions, 0 deletions
doc/milter.py
with
28 additions
and
0 deletions
doc/milter.py
+
28
−
0
View file @
c29a21d2
...
@@ -37,7 +37,14 @@ def set_exception_policy(code): pass
...
@@ -37,7 +37,14 @@ def set_exception_policy(code): pass
def
register
(
name
,
negotiate
=
None
,
unknown
=
None
,
data
=
None
):
pass
def
register
(
name
,
negotiate
=
None
,
unknown
=
None
,
data
=
None
):
pass
def
opensocket
(
rmsock
):
pass
def
opensocket
(
rmsock
):
pass
def
main
():
pass
def
main
():
pass
## Set the libmilter debugging level.
# smfi_setdbg sets the milter library's internal debugging level to a new level
# so that code details may be traced. A level of zero turns off debugging. The
# greater (more positive) the level the more detailed the debugging. Six is the
# current, highest, useful value.
def
setdbg
(
lev
):
pass
def
setdbg
(
lev
):
pass
def
settimeout
(
secs
):
pass
def
settimeout
(
secs
):
pass
def
setbacklog
(
n
):
pass
def
setbacklog
(
n
):
pass
...
@@ -57,3 +64,24 @@ def setconn(s): pass
...
@@ -57,3 +64,24 @@ def setconn(s): pass
## Stop the milter gracefully.
## Stop the milter gracefully.
def
stop
():
pass
def
stop
():
pass
## Retrieve diagnostic info.
# Return a tuple with diagnostic info gathered by the milter module.
# The first two fields are counts of milterContext objects created
# and deleted. Additional fields may be added later.
# @return a tuple of diagnostic data
def
getdiag
():
pass
## Retrieve the runtime libmilter version.
# Return the runtime libmilter version. This can be different
# from the compile time version when sendmail or libmilter is upgraded
# after pymilter is compiled.
# @return a tuple of <code>(major,minor,patchlevel)</code>
def
getversion
():
pass
## The compile time libmilter version.
# Python code might need to deal with pymilter compiled
# against various versions of libmilter. This module constant
# contains the contents of the <code>SMFI_VERSION</code> macro when
# the milter module was compiled.
VERSION
=
0x1000001
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment